Template:Tabs: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="center">{{#tag:tabber |{{#if:{{{imgtab|true}}}|[[File:{{{tab1}}}.png]]|{{{tab1}}}}}={{{tab1content}}}{{!}}-{{!}}{{#if:{{{imgtab|true}}}|[[File:{{{tab2}}}.png]]|{{{tab2}}}}}={{{tab2content}}}{{!}}-{{!}}{{#if:{{{imgtab|true}}}|[[File:{{{tab3}}}.png]]|{{{tab3}}}}}={{{tab3content}}}}}</div>
<div style="center">{{#tag:tabber |{{{tab1}}}={{{tab1content}}}{{!}}-{{!}}{{{tab2}}}={{{tab2content}}}{{!}}-{{!}}{{{tab3}}}={{{tab3content}}}}}</div>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Line 6: Line 6:
Usage:
Usage:
{{Tabs
{{Tabs
|imgtab=True (if you want the tabs to have images)
|tab1=name
|tab1=name
|tab1content=example
|tab1content=example

Latest revision as of 21:10, 9 December 2020


Usage:
{{Tabs
|tab1=name
|tab1content=example
|tab2=name
|tab2content=example
|tab3=name
|tab3content=example
}}