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

Template:Tabs

From Wars Wiki
Revision as of 22:26, 10 June 2023 by JFX (talk | contribs) (Fixed active param for tabs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This page has been transcluded from Template:Tabs/doc.


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