Template:Main Page/Sandbox/Component of the day: Difference between revisions
Template page
More actions
Created page with "<includeonly>{{#dpl: |namespace = Component |randomcount = 1 |count = 500 |randomseed = {{#time:Ymd}} |redirects = exclude |shownamespace = false |format = ,'''%TITLE%''' — <translate>Learn more in the Component reference.</translate>\n, |noresultsheader = '''Component''' — <translate>Component of the day (no components in namespace yet).</translate> }}</includeonly>" |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#dpl: | <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 | ||
|format = ,'''[[%PAGE%|%TITLE%]]''' | |resultsheader = <ul> | ||
|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).