Fire Emblem Heroes Wiki
Advertisement
Fire Emblem Heroes Wiki
Template-info.svg Documentation

Boilerplate

{{tab/start}}<!--
-->{{tab/header|}}<!--
--><!--
-->{{tab/header|}}<!--
--><!--
-->{{tab/end}}

Usage

{{tab/start}}
{{tab/header|tab name 1}}
tab content 1
{{tab/header|tab name 2}}
tab content 2
<!-- as many tabs as needed can be added -->
{{tab/end}}
tab name 1

tab content 1

tab name 2

tab content 2

{{tab/start}} may optionally have inline styles applied to it:
{{tab/start|style=<!-- CSS here -->}}
which will show on both the JavaScript and non-Javascript versions.
{{tab/start|style=width:50%;}}
{{tab/header|tab name 1}}
tab content 1
{{tab/header|tab name 2}}
tab content 2
{{tab/end}}
tab name 1

tab content 1

tab name 2

tab content 2

Tabs can be nested.

{{tab/start}}
{{tab/header|tab name 1}}
{{tab/start}}
{{tab/header|nested tab name 1}}
tab content 1
{{tab/header|nested tab name 2}}
tab content 2
{{tab/end}}
{{tab/header|tab name 2}}
{{tab/start}}
{{tab/header|nested tab name 1}}
tab content 3
{{tab/header|nested tab name 2}}
tab content 4
{{tab/end}}
{{tab/end}}
tab name 1
nested tab name 1

tab content 1

nested tab name 2

tab content 2

tab name 2
nested tab name 1

tab content 3

nested tab name 2

tab content 4

Scribunto

Lua modules should use {{#invoke:Tab|tabber}} instead of placing the tab elements manually or expanding these tab templates.

Advertisement