Template:Featured article: Difference between revisions

Added to Category:Unused main page templates, and added a disambiguation list because several templates have similar and confusing names
(added another article to rotation)
(Added to Category:Unused main page templates, and added a disambiguation list because several templates have similar and confusing names)
 
(79 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{#switch:{{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 7}}|
'''This page was formerly used to allow for rotation of featured articles on the [[Main Page]].'''
0=<!--Sunday--6/18-->Grubdogs|
 
1=<!--Monday----6/19-->Submerged Castle|
You may be looking for:
2=<!--Tuesday---6/20-->Grubdogs|
*[[:Template:Feature]] &ndash; the template currently used on the main page for the [[Pikipedia:Featured article|featured article]]
3=<!--Wednesday-6/21-->Submerged Castle|
*[[:Template:Featured]] &ndash; the template on articles that indicates that it is featured or has been featured in the past
4=<!--Thursday--6/22-->Grubdogs|
 
5=<!--Friday----6/16-->Submerged Castle|
<pre><nowiki>{{#switch:{{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 14}}
6=<!--Saturday--6/17-->Grubdogs}}<noinclude>
|0=Breadbugs
|1=Waterwraith
|2=Pikmin 1
|3=Titan Dweevil
|4=Emperor Bulblax
|5=Pikmin 2
|6=Raging Long Legs
|7=Collector's Room
|8=Dream Den
|9=Scale
|10=2-Player mode
|11=Zero-death run
|12=Gatling Groink
|13=Tile Lands
|14=The President
}}<noinclude>
----
----
To alter the rotation just change the article named at the end of one of the above lines. Each line corresponds to a particular day of the week as noted above. Featured articles are named '''Template:FEATURE your article name''', so change the end of the line to '''your article name'''.
This is a list of the current rotation of featured articles.
This is a list of the current rotation of featured articles.
{{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 7}}
 
Today is day {{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 14}}.
 
{| style="width:400px" cellpadding="3" cellspacing="0" border="1px"
{| style="width:400px" cellpadding="3" cellspacing="0" border="1px"
|- | style="background-color:#EFEFEF"
|- | style="background-color:#EFEFEF"
Line 15: Line 34:
! Article Name
! Article Name
|- | align="center"
|- | align="center"
|Sunday (0)
|0
|'''[[Template:FEATURE Grubdogs|Grubdogs]]'''
|'''[[Template:FEATURE Breadbugs|Breadbugs]]'''
|- | align="center"
|1
|'''[[Template:FEATURE Hole of Heroes|Hole of Heroes]]'''
|- | align="center"
|2
|'''[[Template:FEATURE Hocotate|Hocotate]]'''
|- | align="center"
|3
|'''[[Template:FEATURE Titan Dweevil|Titan Dweevil]]'''
|- | align="center"
|4
|'''[[Template:FEATURE Emperor Bulblax|Emperor Bulblax]]'''
|- | align="center"
|5
|'''[[Template:FEATURE Pikmin 2|Pikmin 2]]'''
|- | align="center"
|6
|'''[[Template:FEATURE Raging Long Legs|Raging Long Legs]]'''
|- | align="center"
|7
|'''[[Template:FEATURE Collector's Room|Collector's Room]]'''
|- | align="center"
|8
|'''[[Template:FEATURE Dream Den|Dream Den]] '''
|- | align="center"
|- | align="center"
|Monday (1)
|9
|'''[[Template:FEATURE Submerged Castle|Submerged Castle]]'''
|'''[[Template:FEATURE Scale|Scale]]'''
|- | align="center"
|- | align="center"
|Tuesday (2)
|10
|'''[[Template:FEATURE Grubdogs|Grubdogs]]'''
|'''[[Template:FEATURE 2-Player mode|2-Player mode]]'''
|- | align="center"
|- | align="center"
|Wednesday (3)
|11
|'''[[Template:FEATURE Submerged Castle|Submerged Castle]]'''
|'''[[Template:FEATURE Zero-death run|Zero-death run]] '''
|- | align="center"
|- | align="center"
|Thursday (4)
|12
|'''[[Template:FEATURE Grubdogs|Grubdogs]]'''
|'''[[Template:FEATURE Gatling Groink|Gatling Groink]] '''
|- | align="center"
|- | align="center"
|Friday (5)
|13
|'''[[Template:FEATURE Submerged Castle|Submerged Castle]]'''
|'''[[Template:FEATURE Tile Lands|Tile Lands]] '''
|- | align="center"
|- | align="center"
|Saturday (6)
|14
|'''[[Template:FEATURE Grubdogs|Grubdogs]]'''
|'''[[Template:FEATURE The President|The President]]'''
|}
|- | align="center"-->Perplexing Pool</nowiki></pre>


[[Category:Featured Articles| Featured article]]
[[Category:Featured articles| ]]
[[Category:Templates|{{PAGENAME}}]]
[[Category:Unused main page templates]]</noinclude>
</noinclude>