|
|
| (4 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| − | == 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=African Union member states|addpagesize=true}}
| |
| − | </nowiki></pre>
| |
| − | {{#dpl:categoriesminmax=3,6|category=African Union member states|addpagesize=true}}
| |
| − |
| |
| − |
| |
| − | == Show date and user of latest edit for country articles ==
| |
| − | <pre><nowiki>
| |
| − | <DPL>
| |
| − | category = Fictitious country
| |
| − | ordermethod = lastedit
| |
| − | order = ascending
| |
| − | resultsheader = ====latest edits:====\n
| |
| − | shownamespace = false
| |
| − | addeditdate = true
| |
| − | adduser = true
| |
| − | mode = ordered
| |
| − | </DPL>
| |
| − | </nowiki></pre>
| |
| | <DPL> | | <DPL> |
| | category = Fictitious country | | category = Fictitious country |
| Line 31: |
Line 10: |
| | </DPL> | | </DPL> |
| | | | |
| − | == Find uncategorized articles ==
| |
| − | Note: the following statement works only if you created a special SQL view in the wiki database.
| |
| − | You need admin rights (including "CREATE VIEW permissions") for this. This demo site runs on a server where the author does not have such rights. So you will see an error message ...
| |
| − | <pre><nowiki>
| |
| − | <dpl>
| |
| − | category=
| |
| − | </dpl>
| |
| − | </nowiki></pre>
| |
| | | | |
| − | <dpl>
| + | {{#dpl:categoriesminmax=3,6|category=African Union member states|addpagesize=true}} |
| − | category=
| |
| − | </dpl>
| |
| − | | |
| − | == Produce an image gallery ==
| |
| − | | |
| − | <pre><nowiki>
| |
| − | <DPL>
| |
| − | namespace=Image
| |
| − | mode=userformat
| |
| − | listseparators=<gallery>,%PAGE%\n,,</gallery>
| |
| − | </DPL>
| |
| − | </nowiki></pre>
| |
| − | | |
| − | <DPL>
| |
| − | namespace=Image
| |
| − | mode=userformat
| |
| − | listseparators=<gallery>,%PAGE%\n,,</gallery>
| |
| − | </DPL>
| |
| − | | |
| − | ===Image gallery with alternative syntax===
| |
| − | This allows passing of parameters et.c.
| |
| − | <pre><nowiki>
| |
| − | {{#dpl:
| |
| − | |namespace=Image
| |
| − | |format=«gallery»,%PAGE%¦%NR%. %TITLE%\n,,«/gallery»
| |
| − | }}
| |
| − | </nowiki></pre>
| |
| − | {{#dpl: | |
| − | |namespace=Image
| |
| − | |format=«gallery»,%PAGE%¦%NR%. %TITLE%\n,,«/gallery»
| |
| − | }}
| |
| − | | |
| − | == Show number of articles instead of name list ==
| |
| − | <pre><nowiki>
| |
| − | {{#dpl:category=African Union member states|resultsheader=There are %PAGES% articles on OAU member states.|mode=userformat}}
| |
| − | </nowiki></pre>
| |
| − | | |
| − | {{#dpl:category=African Union member states|resultsheader=There are %PAGES% articles on OAU member states.|mode=userformat}}
| |