Mabinogi World Wiki is brought to you by Coty C., 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"

From Mabinogi World Wiki
Jump to: navigation, search
(Jesus christ someone help me I am so lost)
m
 
Line 13: Line 13:
 
}}{{#if:{{{tab12|}}}|<li class="{{{tab12class|}}}{{{tabclass|}}}" style="{{{tab12style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab12|{{{tab12}}}]]</li>
 
}}{{#if:{{{tab12|}}}|<li class="{{{tab12class|}}}{{{tabclass|}}}" style="{{{tab12style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab12|{{{tab12}}}]]</li>
 
}}{{#if:{{{tab13|}}}|<li class="{{{tab13class|}}}{{{tabclass|}}}" style="{{{tab13style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab13|{{{tab13}}}]]</li>
 
}}{{#if:{{{tab13|}}}|<li class="{{{tab13class|}}}{{{tabclass|}}}" style="{{{tab13style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab13|{{{tab13}}}]]</li>
 +
}}{{#if:{{{tab14|}}}|<li class="{{{tab14class|}}}{{{tabclass|}}}" style="{{{tab14style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab14|{{{tab14}}}]]</li>
 +
}}{{#if:{{{tab15|}}}|<li class="{{{tab15class|}}}{{{tabclass|}}}" style="{{{tab15style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab15|{{{tab15}}}]]</li>
 
}}</ul>
 
}}</ul>
 
<div id="{{{name|}}}tab1" class="{{{contentsclass|}}}" style="{{{contents1style|}}}{{{contentsstyle|}}}">
 
<div id="{{{name|}}}tab1" class="{{{contentsclass|}}}" style="{{{contents1style|}}}{{{contentsstyle|}}}">
Line 40: Line 42:
 
}}{{#if: {{{tab13|}}} | <div id="{{{name|}}}tab13" class="{{{contentsclass|}}}" style="display: none; {{{contents13style|}}}{{{contentsstyle|}}}">
 
}}{{#if: {{{tab13|}}} | <div id="{{{name|}}}tab13" class="{{{contentsclass|}}}" style="display: none; {{{contents13style|}}}{{{contentsstyle|}}}">
 
{{{contents13|}}}</div>
 
{{{contents13|}}}</div>
 +
}}{{#if: {{{tab14|}}} | <div id="{{{name|}}}tab14" class="{{{contentsclass|}}}" style="display: none; {{{contents14style|}}}{{{contentsstyle|}}}">
 +
{{{contents14|}}}</div>
 +
}}{{#if: {{{tab15|}}} | <div id="{{{name|}}}tab15" class="{{{contentsclass|}}}" style="display: none; {{{contents15style|}}}{{{contentsstyle|}}}">
 +
{{{contents15|}}}</div>
 
}}</div><noinclude>
 
}}</div><noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Latest revision as of 20:43, 21 July 2018

    [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=
    |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