Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Want to make the wiki better? Contribute towards getting larger projects done on our Patreon!

Template:Tabs

From Mabinogi World Wiki
[edit]Template Documentation

Parameters

As many as 15 tabs can be created.
name (Optional)

Unique name for tab container. Use this parameter if you have more than one tab window on the same page.

containerstyle (optional)

For customized container style.

tab1-tab15

Tab name labels. If the tab is not named, the tab will not show up at all, making it useful for templates.

contents1-contents15

Content of tabs.

Copy + Paste

{{Tabs
|name=Example3
|tab1=Example Tab 1
|tab2=Example Tab 2
|tab3=Example Tab 3
|tab4=Example Tab 4
}}
{{Tab|1}}
Some prose
{{EndTab}}
{{Tab|2}}
{| class="mabitable"
| And || this
|-
| here || table.
|}
{{EndTab}}
{{Tab|3}}
{{Tabs
|name=SubExample
|tab1=lol why
|tab2=oh well
}}
{{Tab|1}}
The question is...
{{EndTab}}
{{Tab|2}}
...will tab 4 have the correct ID?
{{EndTab}}
{{EndTabs}}
{{EndTab}}
{{Tab|4}}
Inspect me!
{{EndTab}}
{{EndTabs}}

produces

Some prose

And this
here table.

The question is...

...will tab 4 have the correct ID?

Inspect me!

Alternate uses

{{Tabs
|name=
|containerstyle=
|tab1=
|contents1=
|tab2=
|contents2=
...
|tab15=
|contents15=
}}
{{tabs
|name=Example1
|tab1=Example Tab 1
|contents1=Example Contents 1
|tab2=Example Tab 2
|contents2=Example Contents 2
}}

produces

Example Contents 1
Example Contents 2
{{tabs
|name=Example2
|tab1=Example Tab 1
|contents1=Example Contents 1
|tab3=Example Tab 3
|contents3=Example Contents 3
}}

produces

Example Contents 1
Example Contents 3