Examples/Parameter: format (example 3): Difference between revisions

m
Shuffle the order of this
imported>FrozenPlum
(Flesh out and explain this example in greater detail (the meaning of startall vs start, and end vs endall was not well explained, just vaguely referenced as start/end being the "innter frame" and startall/endall being the "outer frame" of contents). A more concrete explanation can be very beneficial to clarify this.)
 
imported>FrozenPlum
m (Shuffle the order of this)
Line 21:
}}
</pre>
 
'''Notes:'''
* <code>''Start''</code> position of the <code>format=</code> syntax starts and formats a row of output, which is then applied to ''each'' item in the result set.
* In the case of results outside of the ''Main'' namespace, such as in the "Category" namespace, if "Category:" is not desired in the page title/link, <code><nowiki>[[%PAGE%|%TITLE%]]</nowiki></code> can be used instead.
* The {{DPL|table}} parameter, in combination with {{DPL|tablerow}} and the {{DPL|include}}/{{DPL|includepage}} parameter, can also be used to output table syntax.
 
OR
Line 32 ⟶ 37:
</dpl>
</pre>
 
'''Notes:'''
* <code>''Start''</code> position of the <code>format=</code> syntax starts and formats a row of output, which is then applied to ''each'' item in the result set.
* In the case of results outside of the ''Main'' namespace, such as in the "Category" namespace, if "Category:" is not desired in the page title/link, <code><nowiki>[[%PAGE%|%TITLE%]]</nowiki></code> can be used instead.
* The {{DPL|table}} parameter, in combination with {{DPL|tablerow}} and the {{DPL|include}}/{{DPL|includepage}} parameter, can also be used to output table syntax.
 
==Result==
Anonymous user