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!

NOTICE: Seems like daily VIP shadow missions may be wrong occasionally!!

Difference between revisions of "Template:Tabs/doc"

From Mabinogi World Wiki
Jump to: navigation, search
m (Created page with "<pre> Use this template to make a tabbed box with between two and ten tabs: {{Tabs |name=unique name for the tab set on the current page |containerstyle=use to do things like ma...")
 
m
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
== Parameters ==
Use this template to make a tabbed box with between two and ten tabs:
 
  
{{Tabs
+
As many as 15 tabs can be created.<br />
|name=unique name for the tab set on the current page
+
'''name''' ''(Optional)''
|containerstyle=use to do things like make the tabs not 100% width
+
:Unique name for tab container. '''Use this parameter if you have more than one tab window on the same page.'''
|tab1=first tab label
+
'''containerstyle''' ''(optional)''
|contents1=contents of the first tab
+
:For customized container style.
|tab2=second tab label
+
'''tab1-tab15'''
|contents2=contents of the second tab
+
: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 ==
 +
 
 +
<pre>{{Tabs
 +
|name=
 +
|containerstyle=
 +
|tab1=
 +
|contents1=
 +
|tab2=
 +
|contents2=
 
...
 
...
|tab10=tenth tab label
+
|tab15=
|contents10=contents of the tenth tab
+
|contents15=
 +
}}</pre>
 +
 
 +
== Examples ==
 +
<pre>{{tabs
 +
|name=Example1
 +
|tab1=Example Tab 1
 +
|contents1=Example Contents 1
 +
|tab2=Example Tab 2
 +
|contents2=Example Contents 2
 +
}}</pre>
 +
 
 +
produces
 +
 
 +
{{tabs
 +
|name=Example1
 +
|tab1=Example Tab 1
 +
|contents1=Example Contents 1
 +
|tab2=Example Tab 2
 +
|contents2=Example Contents 2
 +
}}
 +
 
 +
 
 +
 
 +
<pre>{{tabs
 +
|name=Example2
 +
|tab1=Example Tab 1
 +
|contents1=Example Contents 1
 +
|tab3=Example Tab 3
 +
|contents3=Example Contents 3
 +
}}</pre>
 +
 
 +
produces
 +
 
 +
{{tabs
 +
|name=Example2
 +
|tab1=Example Tab 1
 +
|contents1=Example Contents 1
 +
|tab3=Example Tab 3
 +
|contents3=Example Contents 3
 
}}
 
}}
</pre>
 
 
<noinclude>[[Category:Template Documentation]]</noinclude>
 
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 20:48, 21 July 2018

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=
|containerstyle=
|tab1=
|contents1=
|tab2=
|contents2=
...
|tab15=
|contents15=
}}

Examples

{{tabs
|name=Example1
|tab1=Example Tab 1
|contents1=Example Contents 1
|tab2=Example Tab 2
|contents2=Example Contents 2
}}

produces

Example Contents 1


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

produces

Example Contents 1