From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search

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


This template is based on ZeldaWiki's Tabs gadget.

Usage[edit]

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.

Standard usage
{{Tabs
|title=Room 3
|tab1=Ruby & Sapphire
|content1=[[File:PKMN RubySapphire SeafloorCavern1F-4.png|300px|Room 3 in Ruby & Sapphire.]]
|tab2=Emerald
|content2=[[File:PKMN Emerald SeafloorCavern 1F-4.png|300px|Room 3 in Emerald.]]
}}
Room 3
Ruby & SapphireEmerald
Room 3 in Ruby & Sapphire.
Room 3 in Emerald.
Game specific styles

Loads a custom styles.css based on the styles parameter to give game-specific colouring. For example, loading the pokemon styles.

{{Tabs
|styles=pokemon
|title=Room 3
|tab1=Ruby & Sapphire
|class1=t-tab-rs
|content1=[[File:PKMN RubySapphire SeafloorCavern1F-4.png|300px|Room 3 in Ruby & Sapphire.]]
|tab2=Emerald
|class2=t-tab-e
|content2=[[File:PKMN Emerald SeafloorCavern 1F-4.png|300px|Room 3 in Emerald.]]
}}
Room 3
Ruby & SapphireEmerald
Room 3 in Ruby & Sapphire.
Room 3 in Emerald.