Examples/Parameter: mode (example 2): Difference between revisions

m
formatting tweaks
imported>FrozenPlum
m (FrozenPlum moved page Controlling output format/Parameter: mode (example 2) to Examples/Parameter: mode (example 2): Simplifying how things are structured)
imported>FrozenPlum
m (formatting tweaks)
 
Line 6:
==Example==
 
This will matchmatches/listlists articles that have '"Appl'" in their name, excluding subpages; pages will beare ordered by their name regardless of category, and the output will beis shown in category style (i.e., organized alphabetically, displaying category-style capital letters) because of the <code>mode</code> parameter. An <code>{{DPL|ordermethod}}</code> is required when <code>mode=''category''</code> is set (so DPL3 knows how to order the category listing style), and the ''{{tt|titlewithoutnamespace''}} value makes the first letter of the page title used as the category heading. Note that using ''{{tt|title''}} instead would cause use of the first letter of the namespace if it exists, and just the title if it doesn't (such as for pages in the ''Main'' [[mw:Manual:namespace|namespace]]).
 
<pre>
Anonymous user