Template:FA-Rotation: Difference between revisions

From Metroid Wiki
m
no edit summary
m (Protected "Template:FA-Rotation": Highly used template: Mainpage Template (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{FA-Tab
{{FA-Tab
|name=FA
|header=Featured Articles
|header=Featured Articles
|default  ={{#switch: {{{1|}}}|1|Tab1=1|2|Tab2=2|3|Tab3=3|4|Tab4=4|5|Tab5=5|6|Tab6=6|7|Tab7=7|8|Tab8=8|#default=4}}
|height  =200px
|tab1    =Article 1
|tab1    =Article 1
|content1 ={{Featured Article}}
|content1 ={{FA1}}
|tab2    =Article 2
|tab2    =Article 2
|content2 ={{Featured Article 2}}
|content2 ={{FA2}}
|tab3    =Article 3
|tab3    =Article 3
|content3 ={{FeaturedArticle1}}
|content3 ={{FA3}}
|tab4    =Article 4
|content4 ={{FA4}}
}}
}}
<noinclude>
==Usage==
This template is used to display multiple Featured Articles on the main page. They are displayed in order from oldest to newest, with the default set to show the newest article on the main page. To add a new featured article, simply add a new tab and add the article's template, as demonstrated above. Also, change the default to display the latest article.
[[Category:Featured Templates]]
[[Category:Main Page Templates]]
</noinclude>