Difference between revisions of "Template:Main Page toolbox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>K6ka
m (Reverted edits by Ruben Argueda (talk) to last version by Adem20)
imported>Andrybak
m (sync with live version)
Line 1: Line 1:
{|class="infobox {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|standard-talk}} bordered" width="300px" style="font-size: 90%; text-align:center;"
+
<div role="navigation" aria-label="main-page-toolbox-label" class="infobox {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|standard-talk}} bordered <includeonly>noprint</includeonly>" style="padding: 0; font-size: 90%; text-align: center;">
! colspan="3" style="font-size: larger; text-align: center;" | Main Page Toolbox
+
 
|- style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|ffefde|efefef}};"
+
<div id="main-page-toolbox-label" style="padding: 1px; font-size: larger; font-weight: bold;"><!--
! width="100px" | [[Wikipedia:Main Page/Yesterday|Yesterday<br/>{{yesterday|type=short}}]]
+
-->Main Page toolbox
! width="100px" | [[Main Page|Today<br/>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}]]
+
</div>
! width="100px" | [[Wikipedia:Main Page/Tomorrow|Tomorrow<br/>{{tomorrow}}]]
+
 
 +
{| class="infobox {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|standard-talk}} bordered" style="margin: 0 -1px 1px; font-size: inherit;"
 +
|- style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|e8dbae|efefef}}"
 +
! scope="col" style="text-align:center" | [[Wikipedia:Main Page/Yesterday|Yesterday<br/>{{yesterday|type=short}}]]
 +
! scope="col" style="text-align:center" | [[Main Page|Today<br/>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}]]
 +
! scope="col" style="text-align:center" | [[Wikipedia:Main Page/Tomorrow|Tomorrow<br/>{{tomorrow}}]]
 
|-
 
|-
|[[Wikipedia:Today's featured article/{{yesterday}}|TFA]]
+
| style="text-align:center" | [[Wikipedia:Today's featured article/{{yesterday}}|TFA]]
|[[Wikipedia:Today's featured article/{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}|TFA]]
+
| style="text-align:center" | [[Wikipedia:Today's featured article/{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}|TFA]]
|[[Wikipedia:Today's featured article/{{tomorrow|long}}|TFA]]
+
| style="text-align:center" | [[Wikipedia:Today's featured article/{{tomorrow|long}}|TFA]]
 
|-
 
|-
|[[Wikipedia:Selected anniversaries/{{yesterday|type=short}}|SA/OTD]]
+
| style="text-align:center" | [[Wikipedia:Selected anniversaries/{{yesterday|type=short}}|SA/OTD]]
|[[Wikipedia:Selected anniversaries/{{CURRENTMONTHNAME}} {{CURRENTDAY}}|SA/OTD]]
+
| style="text-align:center" | [[Wikipedia:Selected anniversaries/{{CURRENTMONTHNAME}} {{CURRENTDAY}}|SA/OTD]]
|[[Wikipedia:Selected anniversaries/{{tomorrow}}|SA/OTD]]
+
| style="text-align:center" | [[Wikipedia:Selected anniversaries/{{tomorrow}}|SA/OTD]]
 
|-
 
|-
|[[Template:POTD protected/{{#time:Y-m-d|-1 days}}|POTD&nbsp;Main&nbsp;Page&nbsp;v.]]<br>[[Template:POTD/{{#time:Y-m-d|-1 days}}|POTD&nbsp;regular&nbsp;v.]]
+
| style="text-align:center" | [[Template:POTD protected/{{#time:Y-m-d|-1 days}}|POTD&nbsp;Main&nbsp;Page&nbsp;v.]]<br>[[Template:POTD/{{#time:Y-m-d|-1 days}}|POTD&nbsp;regular&nbsp;v.]]
|[[Template:POTD protected/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|POTD&nbsp;Main&nbsp;Page&nbsp;v.]]<br>[[Template:POTD/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|POTD&nbsp;regular&nbsp;v.]]
+
| style="text-align:center" | [[Template:POTD protected/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|POTD&nbsp;Main&nbsp;Page&nbsp;v.]]<br>[[Template:POTD/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|POTD&nbsp;regular&nbsp;v.]]
|[[Template:POTD protected/{{#time:Y-m-d|+1 days}}|POTD&nbsp;Main&nbsp;Page&nbsp;v.]]<br>[[Template:POTD/{{#time:Y-m-d|+1 days}}|POTD&nbsp;regular&nbsp;v.]]
+
| style="text-align:center" | [[Template:POTD protected/{{#time:Y-m-d|+1 days}}|POTD&nbsp;Main&nbsp;Page&nbsp;v.]]<br>[[Template:POTD/{{#time:Y-m-d|+1 days}}|POTD&nbsp;regular&nbsp;v.]]
 
|-
 
|-
{{#switch:{{CURRENTDAYNAME}}<!--TFL only on Mondays-->
+
{{#switch:{{CURRENTDAYNAME}}<!--TFL on Mondays and Fridays-->
|Sunday={{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|ffefde|efefef}};" colspan="2"{{!}}&nbsp;{{!}}{{!}}[[Wikipedia:Today's featured list/{{tomorrow|long}}|TFL<br><small>(Mondays only)</small>]]
+
|Sunday|Thursday={{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|e8dbae|efefef}};" colspan="2"{{!}}&nbsp;{{!}}{{!}}style="text-align:center" {{!}}[[Wikipedia:Today's featured list/{{tomorrow|long}}|TFL ({{#time:l|tomorrow}})]]
|Monday={{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|ffefde|efefef}};"{{!}}&nbsp;{{!}}{{!}}[[Wikipedia:Today's featured list/{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}|TFL<br><small>(Mondays only)</small>]]{{!}}{{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|ffefde|efefef}};"{{!}}&nbsp;
+
|Monday|Friday={{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|e8dbae|efefef}};"{{!}}&nbsp;{{!}}{{!}}style="text-align:center" {{!}}[[Wikipedia:Today's featured list/{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}|TFL ({{CURRENTDAYNAME}})]]{{!}}{{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|e8dbae|efefef}};"{{!}}&nbsp;
|Tuesday={{!}}[[Wikipedia:Today's featured list/{{yesterday}}|TFL<br><small>(Mondays only)</small>]]{{!}}{{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|ffefde|efefef}};" colspan="2"{{!}}&nbsp;
+
|Tuesday|Saturday={{!}}style="text-align:center" {{!}}[[Wikipedia:Today's featured list/{{yesterday}}|TFL ({{#time:l|yesterday}})]]{{!}}{{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|e8dbae|efefef}};" colspan="2"{{!}}&nbsp;
|#default={{!}}colspan="3"{{!}}'''[[Wikipedia:Today's featured list|Today's featured list]]''' ''(Mondays only)'': [[Wikipedia:Today's featured list/submissions|requests]]
+
|#default={{!}}colspan="3" style="text-align:center" {{!}}'''[[Wikipedia:Today's featured list|Today's featured list]]''': [[Wikipedia:Today's featured list/Submissions|submissions]]
 
}}<!--End #switch:-->
 
}}<!--End #switch:-->
|-
 
|colspan="3"|'''[[Template:In the news|In the news]]''': [[Wikipedia:In the news/Candidates|candidates]]{{·}} [[Wikipedia talk:In the news|discussion]]{{·}} [[WP:ITN/A|admin instructions]]
 
|-
 
|colspan="3"|'''[[Template:Did you know|Did you know]]''': [[Template talk:Did you know|suggestions]]{{·}} [[Template:Did you know/Preparation area 1|prep area]]{{·}} [[Template:Did you know/Queue|queue]]
 
|-
 
|colspan="3"|[[:Category:Protected main page images|Protected main page images]]<br/>[[:Category:Protected pages associated with Main Page articles|Protected pages associated with Main Page articles]]
 
|-
 
|colspan="3"|[[Wikipedia:Main Page/Errors|Error reports]]{{·}} [[Talk:Main Page|General discussions]]{{·}} [[Wikipedia:FAQ/Main Page|FAQ]]{{·}} [[Wikipedia:Editing the main page|Help]]{{·}} [[Wikipedia:Main Page/sandbox|Sandbox]]
 
|-
 
!colspan="3"|It is now {{CURRENTTIME}} [[Coordinated Universal Time|UTC]]<br/><span class="plainlinks" id="purgelink">[{{fullurl:Main_Page|action=purge}} Purge the Main Page]</span><br/><span class="plainlinks" id="purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} Purge ''this'' page]</span>
 
 
|}
 
|}
<noinclude>{{Documentation}}</noinclude>
+
 
 +
<div style="border-top: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|a2a9b1}}; padding: 1px;"><!--
 +
-->'''[[Wikipedia:Main Page queue|Main Page queue]]'''
 +
</div>
 +
 
 +
<div style="border-top: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|a2a9b1}}; padding: 1px;"><!--
 +
-->'''[[Template:In the news|In the news]]''': [[Wikipedia:In the news/Candidates|candidates]]{{·}}[[Wikipedia talk:In the news|discussion]]{{·}}[[Wikipedia:In the news/Administrator instructions|admin instructions]]
 +
</div>
 +
 
 +
<div style="border-top: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|a2a9b1}}; padding: 1px;"><!--
 +
-->'''[[Template:Did you know|Did you know]]''': [[Template talk:Did you know|nominations]]{{·}}[[Wikipedia talk:Did you know|discussion]]{{·}}[[Template:Did you know/Queue|queue]]
 +
</div>
 +
 
 +
<div style="border-top: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|a2a9b1}}; padding: 1px;"><!--
 +
-->'''Protected pages:''' [[Wikipedia:Main Page/Commons media protection|Commons media protection]]{{·}}[[:Category:Protected pages associated with Main Page articles|Associated]]
 +
</div>
 +
 
 +
<div style="border-top: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|a2a9b1}}; padding: 1px;"><!--
 +
-->[[Wikipedia:Main Page/Errors|Error reports]]{{·}}[[Talk:Main Page|General discussion]]{{·}}[[Wikipedia:FAQ/Main Page|FAQ]]{{·}}[[Wikipedia:Editing the main page|Help]]{{·}}[[Wikipedia:Main Page/styles.css|CSS]]<br>[[Wikipedia:Main Page/sandbox|Sandbox]] ([[Wikipedia:Main Page/sandbox/styles.css|CSS]]){{·}}[[Wikipedia:Main Page history|History]]{{·}}[[Wikipedia:Main Page alternatives|Alternatives]]{{·}}[[Wikipedia:April Fool's Main Page|April Fool's]]</div>
 +
 
 +
<div style="border-top: 1px solid #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|c0c090|a2a9b1}}; padding: 1px; font-weight: bold;">
 +
    <div>It is currently {{CURRENTTIME}} [[Coordinated Universal Time|UTC]].</div>
 +
    <div class="plainlinks" id="purgelink">[{{fullurl:Main Page|action=purge}} Purge the Main Page]</div>
 +
    <div class="plainlinks" id="purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} Purge <em>this</em> page]</div>
 +
</div>
 +
 
 +
</div><noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 22:36, 28 May 2020

Template documentation[view] [edit] [history] [purge]

Usage

A toolbox to maintain the Main Page templates