Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Template:Tabs

From DFO World Wiki
Revision as of 19:03, 19 June 2015 by Dfoplayer (talk | contribs) (Category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
    Template Documentation view

    Parameters

    As many as 12 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-tab12

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

    contents1-contents12

    Content of tabs.

    Copy + Paste

    {{Tabs
    |name=
    |containerstyle=
    |tab1=
    |contents1=
    |tab2=
    |contents2=
    ...
    |tab20=
    |contents20=
    }}

    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