Examples/Parameter: debug (example 1): Difference between revisions

m
Bit of a rewrite now that it's modified
imported>FrozenPlum
m (FrozenPlum moved page Examples/Parameter: debug (example 1) to Examples/Module: debug (example 1): Forgot my prefix needed to be different)
imported>FrozenPlum
m (Bit of a rewrite now that it's modified)
Line 6:
==Example==
 
This statement sets the DPL3 <code>debug</code> output to <code>''5''</code>, which outputs the full wikitext result of the query after listing the extension itself. The queryselectsquery selects one article from [[:Category:Fruit examples]], puts the title in the first column automatically (default behavior), then includes the "[[Template:Fruit-Infobox|Fruit-Infobox]]" template's "grows" parameter value, in the second column. The <code>table</code> statement sets the table styles and header text. The first argument of <code>tablerow</code> corresponds to, and formats, the second column; settingcontent theto cellbold, background style (green) and then usesusing <code>%%</code> to position the value ''after''precisely within the formatting.
 
<pre>
Anonymous user