User tips: Difference between revisions

wordsmith and add ordermethod to sort the list by title
Add more descriptive explanation of the DPL query syntax
Line 24: Line 24:


;[https://dpl3.wikitide.org/wiki/Criteria_for_page_selection#uses uses]: is pretty straightforward.
;[https://dpl3.wikitide.org/wiki/Criteria_for_page_selection#uses uses]: is pretty straightforward.
;[https://dpl3.wikitide.org/wiki/Controlling_output_volume#include include]: Include pages (whole content) or include certain sections of articles or template parameters. It is important to understand how <code>table</code> and <code>tablerow</code> work if you want to output tabular data with <code>include</code>.
;[https://dpl3.wikitide.org/wiki/Controlling_output_volume#include include]: Include pages, certain sections of articles, or even template parameters. We include the Messagebox template calls and the 'type' and 'text' parameters of that template into the output. It is important to understand how <code>table</code> and <code>tablerow</code> work if you want to output tabular data with <code>include</code>. In this dpl query, we use <code>table</code> to specify the table headers "Type" and "Tip" to label the content that comes from the 'type' and 'text' parameters selected by <code>include</code>. The <code>tablerow</code> specification allows us to precisely format the data represented by the '%%' token.
<pre>
<pre>
{{#dpl:
{{#dpl: