Template:Main Page/Sandbox/Component of the day: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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 = 3 | ||
|count = 500 | |count = 500 | ||
|randomseed = {{#time:Ymd}} | |randomseed = {{#time:Ymd}} | ||
|allowcachedresults = true | |||
|cacheperiod = 86400 | |||
|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> | ||
Latest revision as of 12:35, 4 February 2026
Uses DPL4 to show five random pages from the Component namespace. Same five for the whole day (randomseed=date).