Template:Main Page/Sandbox/Component of the day: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude>Uses DPL4 to show | <noinclude>Uses DPL4 to show five random pages from the Component namespace. Same five for the whole day (randomseed=date).</noinclude><includeonly>{{#dpl: | ||
|namespace = Component | |namespace = Component | ||
|randomcount = | |randomcount = 5 | ||
|count = 500 | |count = 500 | ||
|randomseed = {{#time:Ymd}} | |randomseed = {{#time:Ymd}} | ||
|redirects = exclude | |redirects = exclude | ||
|shownamespace = false | |shownamespace = false | ||
| | |resultsheader = <ul> | ||
|format = ,'''[[%PAGE%|%TITLE%]]''' | |resultsfooter = </ul> | ||
|format = ,<li>'''[[%PAGE%|%TITLE%]]'''</li>\n, | |||
|noresultsheader = '''[[Component]]''' — <translate>Component of the day (no components in namespace yet).</translate> | |noresultsheader = '''[[Component]]''' — <translate>Component of the day (no components in namespace yet).</translate> | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 12:33, 4 February 2026
Uses DPL4 to show five random pages from the Component namespace. Same five for the whole day (randomseed=date).