Template:TabberSwitch

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Jump to navigation Jump to search


Creates switchable tabs wherever the template is used.

For the sake of readability, it's recommended to format the use of this template like the examples below.

Example

OffOn

Some text.

Different text. How bizarre. Also, look up.

{{TabberSwitch
|Off|
Some text.
|On|
Different text. How bizarre. Also, look up.
|Name1=Template:TabberSwitch
|Name2=Switch ON
|Link2=Template:TabberSwitch/ON
}}

Example (with nested tabs)

HideTest

Just an ordinary tab, no title shenanigans here

Test ATest B

A!

B!

{{TabberSwitch
|Hide|
Just an ordinary tab, no title shenanigans here
|Test|
{{TabberSwitch
|Test A|
A!
|Test B|
B!
|Name1=Test A
|Name2=Test B
|NoURL=True
}}
}}