Template:Featured article: Difference between revisions
Jump to navigation
Jump to search
(tidied up the code to make it slightly easier to use) |
(Added to Category:Unused main page templates, and added a disambiguation list because several templates have similar and confusing names) |
||
(72 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod | '''This page was formerly used to allow for rotation of featured articles on the [[Main Page]].''' | ||
|0= | |||
|1= | You may be looking for: | ||
|2= | *[[:Template:Feature]] – the template currently used on the main page for the [[Pikipedia:Featured article|featured article]] | ||
|3= | *[[:Template:Featured]] – the template on articles that indicates that it is featured or has been featured in the past | ||
|4= | |||
|5= | <pre><nowiki>{{#switch:{{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 14}} | ||
|6= | |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> | }}<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. | ||
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" | ||
Line 16: | Line 34: | ||
! Article Name | ! Article Name | ||
|- | align="center" | |- | align="center" | ||
| | |0 | ||
|'''[[Template:FEATURE | |'''[[Template:FEATURE Breadbugs|Breadbugs]]''' | ||
|- | align="center" | |- | align="center" | ||
| | |1 | ||
|'''[[Template:FEATURE | |'''[[Template:FEATURE Hole of Heroes|Hole of Heroes]]''' | ||
|- | align="center" | |- | align="center" | ||
| | |2 | ||
|'''[[Template:FEATURE | |'''[[Template:FEATURE Hocotate|Hocotate]]''' | ||
|- | align="center" | |- | align="center" | ||
| | |3 | ||
|'''[[Template:FEATURE Titan Dweevil|Titan Dweevil]]''' | |'''[[Template:FEATURE Titan Dweevil|Titan Dweevil]]''' | ||
|- | align="center" | |- | align="center" | ||
| | |4 | ||
|'''[[Template:FEATURE | |'''[[Template:FEATURE Emperor Bulblax|Emperor Bulblax]]''' | ||
|- | align="center" | |- | align="center" | ||
| | |5 | ||
|'''[[Template:FEATURE Pikmin 2|Pikmin 2]]''' | |'''[[Template:FEATURE Pikmin 2|Pikmin 2]]''' | ||
|- | align="center" | |- | align="center" | ||
| | |6 | ||
|'''[[Template:FEATURE | |'''[[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" | |||
|9 | |||
|'''[[Template:FEATURE Scale|Scale]]''' | |||
|- | align="center" | |||
|10 | |||
|'''[[Template:FEATURE 2-Player mode|2-Player mode]]''' | |||
|- | align="center" | |||
|11 | |||
|'''[[Template:FEATURE Zero-death run|Zero-death run]] ''' | |||
|- | align="center" | |||
|12 | |||
|'''[[Template:FEATURE Gatling Groink|Gatling Groink]] ''' | |||
|- | align="center" | |||
|13 | |||
|'''[[Template:FEATURE Tile Lands|Tile Lands]] ''' | |||
|- | align="center" | |||
|14 | |||
|'''[[Template:FEATURE The President|The President]]''' | |||
|- | align="center"-->Perplexing Pool</nowiki></pre> | |||
[[Category:Featured | [[Category:Featured articles| ]] | ||
[[Category: | [[Category:Unused main page templates]]</noinclude> | ||
</noinclude> |
Latest revision as of 17:50, July 8, 2021
This page was formerly used to allow for rotation of featured articles on the Main Page.
You may be looking for:
- Template:Feature – the template currently used on the main page for the featured article
- Template:Featured – the template on articles that indicates that it is featured or has been featured in the past
{{#switch:{{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 14}} |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. Today is day {{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 14}}. {| style="width:400px" cellpadding="3" cellspacing="0" border="1px" |- | style="background-color:#EFEFEF" ! Day ! Article Name |- | align="center" |0 |'''[[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" |9 |'''[[Template:FEATURE Scale|Scale]]''' |- | align="center" |10 |'''[[Template:FEATURE 2-Player mode|2-Player mode]]''' |- | align="center" |11 |'''[[Template:FEATURE Zero-death run|Zero-death run]] ''' |- | align="center" |12 |'''[[Template:FEATURE Gatling Groink|Gatling Groink]] ''' |- | align="center" |13 |'''[[Template:FEATURE Tile Lands|Tile Lands]] ''' |- | align="center" |14 |'''[[Template:FEATURE The President|The President]]''' |- | align="center"-->Perplexing Pool