Navigation menu
Template:FA-Rotation: Difference between revisions
From Metroid Wiki
m (Testing, testing...) |
mNo edit summary |
||
(2 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= | |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 = | |height =200px | ||
|tab1 =Article 1 | |tab1 =Article 1 | ||
|content1 ={{FA1}} | |content1 ={{FA1}} | ||
Line 9: | Line 10: | ||
|tab3 =Article 3 | |tab3 =Article 3 | ||
|content3 ={{FA3}} | |content3 ={{FA3}} | ||
|tab4 =Article 4 | |||
|content4 ={{FA4}} | |||
}} | }} | ||
Latest revision as of 16:09, 20 August 2013
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.