Difference between revisions of "Example 3a"
From FollowTheScore
(Created page with "== Find Articles which have at least / at most [n] categories == Members of the OAU with at least 3 categories, at most 6: <pre><nowiki> {{#dpl:categoriesminmax=3,6|category=Afri...") |
|||
Line 5: | Line 5: | ||
</nowiki></pre> | </nowiki></pre> | ||
{{#dpl:categoriesminmax=3,6|category=African Union member states|addpagesize=true}} | {{#dpl:categoriesminmax=3,6|category=African Union member states|addpagesize=true}} | ||
− | |||
== Show date and user of latest edit for country articles == | == Show date and user of latest edit for country articles == | ||
Line 31: | Line 30: | ||
</DPL> | </DPL> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Produce an image gallery == | == Produce an image gallery == |
Revision as of 13:40, 5 February 2011
Contents
Find Articles which have at least / at most [n] categories
Members of the OAU with at least 3 categories, at most 6:
{{#dpl:categoriesminmax=3,6|category=African Union member states|addpagesize=true}}
- Somalia [48 kB]
Show date and user of latest edit for country articles
<DPL> category = Fictitious country ordermethod = lastedit order = ascending resultsheader = ====latest edits:====\n shownamespace = false addeditdate = true adduser = true mode = ordered </DPL>
latest edits:
- 2009-04-14 15:02:23 DPL Example 007 main page 1 . . Bwyseur
- 2009-04-14 15:32:28 Nigunda . . Kw123
- 2010-01-19 14:41:07 Somango . . Gero
- 2010-01-19 14:49:26 Nigunda Test . . Gero
Produce an image gallery
<DPL> namespace=Image mode=userformat listseparators=<gallery>,%PAGE%\n,,</gallery> </DPL>
Image gallery with alternative syntax
This allows passing of parameters et.c.
{{#dpl: |namespace=Image |format=«gallery»,%PAGE%¦%NR%. %TITLE%\n,,«/gallery» }}
Show number of articles instead of name list
{{#dpl:category=African Union member states|resultsheader=There are %PAGES% articles on OAU member states.|mode=userformat}}
There are 4 articles on OAU member states.