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>Izno
(merged styles)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|class="infobox {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|standard-talk}} bordered" width="300px" style="font-size: 90%; text-align:center;"
+
<templatestyles src="Main Page toolbox/styles.css"/>
! colspan="3" style="font-size: larger; text-align: center;" | Main Page Toolbox
+
<div role="navigation" aria-label="main-page-toolbox-label" class="mp-toolbox <includeonly>noprint</includeonly>">
|- style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|ffefde|efefef}};"
+
<div id="main-page-toolbox-label" class="mp-toolbox-label">Main Page toolbox</div>
! width="100px" | [[Wikipedia:Main Page/Yesterday|Yesterday<br/>{{yesterday|type=short}}]]
+
{| class="mp-toolbox-daily"
! width="100px" | [[Main Page|Today<br/>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}]]
 
! width="100px" | [[Wikipedia:Main Page/Tomorrow|Tomorrow<br/>{{tomorrow}}]]
 
 
|-
 
|-
|[[Wikipedia:Today's featured article/{{yesterday}}|TFA]]
+
! scope="col" | [[Wikipedia:Main Page/Yesterday|Yesterday<br/>{{yesterday|type=short}}]]
|[[Wikipedia:Today's featured article/{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}|TFA]]
+
! scope="col" | [[Main Page|Today<br/>{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}]]
|[[Wikipedia:Today's featured article/{{tomorrow|long}}|TFA]]
+
! scope="col" | [[Wikipedia:Main Page/Tomorrow|Tomorrow<br/>{{tomorrow}}]]
|-
+
|- class="mp-toolbox-fa"
|[[Wikipedia:Selected anniversaries/{{yesterday|type=short}}|SA/OTD]]
+
| [[Wikipedia:Today's featured article/{{yesterday}}|TFA]]
|[[Wikipedia:Selected anniversaries/{{CURRENTMONTHNAME}} {{CURRENTDAY}}|SA/OTD]]
+
| [[Wikipedia:Today's featured article/{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}|TFA]]
|[[Wikipedia:Selected anniversaries/{{tomorrow}}|SA/OTD]]
+
| [[Wikipedia:Today's featured article/{{tomorrow|long}}|TFA]]
|-
+
|- class="mp-toolbox-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.]]
+
| [[Wikipedia:Selected anniversaries/{{yesterday|type=short}}|SA/OTD]]
|[[Template:POTD protected/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|POTD&nbsp;Main&nbsp;Page&nbsp;v.]]<br>[[Template:POTD/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|POTD&nbsp;regular&nbsp;v.]]
+
| [[Wikipedia:Selected anniversaries/{{CURRENTMONTHNAME}} {{CURRENTDAY}}|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.]]
+
| [[Wikipedia:Selected anniversaries/{{tomorrow}}|SA/OTD]]
|-
+
|- class="mp-toolbox-potd-mp"
{{#switch:{{CURRENTDAYNAME}}<!--TFL only on Mondays-->
+
| [[Template:POTD protected/{{#time:Y-m-d|-1 days}}|POTD Main Page v.]]
|Sunday={{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|ffefde|efefef}};" colspan="2"{{!}}&nbsp;{{!}}{{!}}[[Wikipedia:Today's featured list/{{tomorrow|long}}|TFL<br><small>(Mondays only)</small>]]
+
| [[Template:POTD protected/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|POTD Main Page v.]]
|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;
+
| [[Template:POTD protected/{{#time:Y-m-d|+1 days}}|POTD Main Page v.]]
|Tuesday={{!}}[[Wikipedia:Today's featured list/{{yesterday}}|TFL<br><small>(Mondays only)</small>]]{{!}}{{!}}style="background: #{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|ffefde|efefef}};" colspan="2"{{!}}&nbsp;
+
|- class="mp-toolbox-potd"
|#default={{!}}colspan="3"{{!}}'''[[Wikipedia:Today's featured list|Today's featured list]]''' ''(Mondays only)'': [[Wikipedia:Today's featured list/submissions|requests]]
+
| [[Template:POTD/{{#time:Y-m-d|-1 days}}|POTD regular v.]]
 +
| [[Template:POTD/{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}|POTD regular v.]]
 +
| [[Template:POTD/{{#time:Y-m-d|+1 days}}|POTD regular v.]]
 +
|- class="mp-toolbox-tfl"
 +
{{#switch:{{CURRENTDAYNAME}}<!--TFL on Mondays and Fridays-->
 +
|Sunday|Thursday={{!}} class="mp-toolbox-tfl-not" colspan="2"{{!}}&nbsp;{{!}}{{!}} [[Wikipedia:Today's featured list/{{tomorrow|long}}|TFL ({{#time:l|tomorrow}})]]
 +
|Monday|Friday={{!}} class="mp-toolbox-tfl-not" {{!}}&nbsp;{{!}}{{!}} [[Wikipedia:Today's featured list/{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}|TFL ({{CURRENTDAYNAME}})]]{{!}}{{!}} class="mp-toolbox-tfl-not" {{!}}&nbsp;
 +
|Tuesday|Saturday={{!}}[[Wikipedia:Today's featured list/{{yesterday}}|TFL ({{#time:l|yesterday}})]]{{!}}{{!}} class="mp-toolbox-tfl-not" colspan="2"{{!}}&nbsp;
 +
|#default={{!}}colspan="3" class="mp-toolbox-tfl-not-3" {{!}}<span>[[Wikipedia:Today's featured list|Today's featured list]]</span>: [[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 class="mp-toolbox-following">
 +
<div class="hlist">
 +
* <span>[[Wikipedia:Main Page queue|Main Page queue]]</span>
 +
</div>
 +
<div class="hlist">
 +
; [[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 class="hlist">
 +
; [[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 class="hlist">
 +
; Protected pages
 +
: [[Wikipedia:Main Page/Commons media protection|Commons media protection]]
 +
: [[:Category:Protected pages associated with Main Page articles|Associated]]
 +
</div>
 +
<div class="hlist">
 +
* [[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]]
 +
* [[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 class="mp-toolbox-purge plainlist plainlinks">
 +
* It is currently {{CURRENTTIME}} [[Coordinated Universal Time|UTC]].
 +
* [{{fullurl:Main Page|action=purge}} Purge the Main Page]
 +
* [{{fullurl:{{FULLPAGENAME}}|action=purge}} Purge <em>this</em> page]
 +
</div>
 +
</div>
 +
</div><noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 22:17, 8 December 2020

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

Usage

A toolbox to maintain the Main Page templates