Jump to content

Template:Tabs

From CinderRPG Wiki

Content split into tabs (up to 10). Without JavaScript the tabs show one after another.

{{Tabs
|tab1=Overview|content1=Text for the first tab.
|tab2=Drops|content2=* Bone
* Ash
}}

Tabs 5 to 10 work the same way (tab5, content5 ...).

Result:

Overview

Text for the first tab.

Drops
  • Bone
  • Ash


Part of the design kit.

Content split into tabs (up to 10). Without JavaScript the tabs show one after another.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Tab 1 nametab1

Label of tab 1.

Linerequired
Tab 2 nametab2

Label of tab 2.

Lineoptional
Tab 3 nametab3

Label of tab 3.

Lineoptional
Tab 4 nametab4

Label of tab 4.

Lineoptional
Tab 1 contentcontent1

Content of tab 1.

Contentrequired
Tab 2 contentcontent2

Content of tab 2.

Contentoptional
Tab 3 contentcontent3

Content of tab 3.

Contentoptional
Tab 4 contentcontent4

Content of tab 4.

Contentoptional
Themetheme

Colour theme for just this one. Leave empty to follow the page theme.

Suggested values
gold ember frost verdant arcane blood abyss holy shadow plague
Stringoptional
Colourcolour

Any colour like #55ccff. Overrides the theme.

Example
#55ccff
Stringoptional