Welcome to Wars Wiki!
Welcome to Wars Wiki. Please log in or create an account to make changes.

Template:Tabs/doc: Difference between revisions

From Wars Wiki
Jump to navigationJump to search
m (Prod moved page Template:Documentation to Template:Tabs/doc without leaving a redirect: fix name)
m (shrink)
 
Line 12: Line 12:
{{Tabs
{{Tabs
|tab1=AW
|tab1=AW
|content1=[[File:AW Andy Artwork.png|200px|Andy artwork in ''Advance Wars'']]
|content1=[[File:AW Andy Artwork.png|x200px|Andy artwork in ''Advance Wars'']]
|tab2=AW2
|tab2=AW2
|content2=[[File:AW2 Andy Artwork.png|200px|Andy artwork in ''Advance Wars 2: Black Hole Rising'']]
|content2=[[File:AW2 Andy Artwork.png|x200px|Andy artwork in ''Advance Wars 2: Black Hole Rising'']]
|tab3=AWDS
|tab3=AWDS
|content3=[[File:AWDS Andy Sprite.png|200px|Andy artwork in ''Advance Wars 2: Dual Strike'']]
|content3=[[File:AWDS Andy Sprite.png|x200px|Andy artwork in ''Advance Wars 2: Dual Strike'']]
|tab4=AWRBC
|tab4=AWRBC
|content4=[[File:AWRBC Andy Artwork.png|200px|Andy artwork in ''Advance Wars 1+2: Re-Boot Camp'']]
|content4=[[File:AWRBC Andy Artwork.png|x200px|Andy artwork in ''Advance Wars 1+2: Re-Boot Camp'']]
}}
}}
</pre>
</pre>
| {{Tabs
| {{Tabs
|tab1=AW
|tab1=AW
|content1=[[File:AW Andy Artwork.png|200px|Andy artwork in ''Advance Wars'']]
|content1=[[File:AW Andy Artwork.png|x200px|Andy artwork in ''Advance Wars'']]
|tab2=AW2
|tab2=AW2
|content2=[[File:AW2 Andy Artwork.png|200px|Andy artwork in ''Advance Wars 2: Black Hole Rising'']]
|content2=[[File:AW2 Andy Artwork.png|x200px|Andy artwork in ''Advance Wars 2: Black Hole Rising'']]
|tab3=AWDS
|tab3=AWDS
|content3=[[File:AWDS Andy Sprite.png|200px|Andy artwork in ''Advance Wars 2: Dual Strike'']]
|content3=[[File:AWDS Andy Sprite.png|x200px|Andy artwork in ''Advance Wars 2: Dual Strike'']]
|tab4=AWRBC
|tab4=AWRBC
|content4=[[File:AWRBC Andy Artwork.png|200px|Andy artwork in ''Advance Wars 1+2: Re-Boot Camp'']]
|content4=[[File:AWRBC Andy Artwork.png|x200px|Andy artwork in ''Advance Wars 1+2: Re-Boot Camp'']]
}}
}}
|}
|}

Latest revision as of 22:53, 10 June 2023

This template uses TemplateStyles:

This template is based on ZeldaWiki's Tabs gadget.

Usage[edit source]

Tabs should only be used to show different versions of the same content. For example, screenshots of the same location but from different versions of the game. Users shouldn't need additional clicks to expose critical information.

This template should only be used within infoboxes.

Standard usage
Used in Andy infobox.
{{Tabs
|tab1=AW
|content1=[[File:AW Andy Artwork.png|x200px|Andy artwork in ''Advance Wars'']]
|tab2=AW2
|content2=[[File:AW2 Andy Artwork.png|x200px|Andy artwork in ''Advance Wars 2: Black Hole Rising'']]
|tab3=AWDS
|content3=[[File:AWDS Andy Sprite.png|x200px|Andy artwork in ''Advance Wars 2: Dual Strike'']]
|tab4=AWRBC
|content4=[[File:AWRBC Andy Artwork.png|x200px|Andy artwork in ''Advance Wars 1+2: Re-Boot Camp'']]
}}
AWAW2AWDSAWRBC
Andy artwork in Advance Wars
Andy artwork in Advance Wars 2: Black Hole Rising
Andy artwork in Advance Wars 2: Dual Strike
Andy artwork in Advance Wars 1+2: Re-Boot Camp