Examples/Parameter: offset (example 1): Difference between revisions
< Examples
Content added Content deleted
imported>FrozenPlum (Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This will list articles #3 to #6 of Category:Fruit examples; order...") |
imported>FrozenPlum m (make a bit clearer) |
||
Line 6: | Line 6: | ||
==Example== |
==Example== |
||
This will list articles |
This will list articles from [[:Category:Fruit examples]], offset by three (starting at the third in the list, which is determined alphabetically) and limited to a count of three. This means this will display articles #3 to #6. {{DPL|ordermethod}} can be set to change offset/display order. |
||
<pre> |
<pre> |
Revision as of 08:04, 9 April 2022
Example
This will list articles from Category:Fruit examples, offset by three (starting at the third in the list, which is determined alphabetically) and limited to a count of three. This means this will display articles #3 to #6. ordermethod can be set to change offset/display order.
{{#dpl: |category=Fruit examples |offset = 3 |count = 3 }}
Result
{{#dpl: |category=Fruit examples |offset = 3 |count = 3 }}