Template:Tabs

Revision as of 22:09, 12 September 2023 by Nin10doGMod (talk | contribs) (Created page with "<includeonly><templatestyles src="Template:Tabs/styles.css" />{{#if:{{{styles|}}}|{{#tag:templatestyles||src=Template:Tabs/styles-{{{styles|}}}.css}}}}<div class="t-tabs-container">{{#if:{{{title|}}}|<div class="t-tabs-title">{{{title|}}}</div>}}<div class="tabheader"><!-- -->{{#if:{{{tab1|}}}|<span class="tab {{{class1|}}} {{#ifeq:{{{active|1}}}|1|active}}">{{{tab1|}}}</span>}}<!-- -->{{#if:{{{tab2|}}}|<span class="tab {{{class2|}}} {{#ifeq:{{{active|}}}|2|active}}">{{{...")
(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

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'']]
}}
<templatestyles src="Template:Tabs/styles-.css"></templatestyles>}}