Examples/Parameter: format (example 2)
< Examples
Example
The following is an example of how to use the variable
to set the font size. This will list articles in Category:Fruit examples, by title (in descending order), limited to a count of four. Each result will be formatted to appear on a new line and the font size will be set to the current article sequence number (starting from 1).
%NR%
<dpl> category = Fruit examples ordermethod = title order = descending count = 4 format = ,\n<font size="%NR%">'''[[%PAGE%]]'''</font>,<br/>, </dpl>
Result
<dpl>
category = Fruit examples count = 4 ordermethod = title order = descending format = ,\n%PAGE%,
,
</dpl>