Template:FA-Rotation: Difference between revisions

From Metroid Wiki
m
no edit summary
mNo edit summary
mNo edit summary
 
(4 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=3}}
|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 ={{FA1}}
|content1 ={{FA1}}
Line 8: Line 10:
|tab3    =Article 3
|tab3    =Article 3
|content3 ={{FA3}}
|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>