Content added Content deleted
mNo edit summary |
mNo edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1:
<p class="noexcerpt" style="display:none;"></p><div class="
{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}| <!-- main page -->
<
|
<li class="parent-tab-2">[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}{{{tab1}}}]]</li>
}}
{{#if:{{{tab2|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab2}}}|
<
|
<
}}
}}
{{#if:{{{tab3|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab3}}}|
<
|
<
}}
}}
{{#if:{{{tab4|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab4}}}|
<
|
<
}}
}}
{{#if:{{{tab5|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab5}}}|
<
|
<
}}
}}
{{#if:{{{tab6|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab6}}}|
<
|
<
}}
}}
{{#if:{{{tab7|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab7}}}|
<
|
<
}}
}}
{{#if:{{{tab8|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab8}}}|
<
|
<
}}
}}
{{#if:{{{tab9|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab9}}}|
<
|
<
}}
}}
{{#if:{{{tab10|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab10}}}|
<
|
<
}}
}}
{{#if:{{{tab11|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab11}}}|
<
|
<
}}
}}
{{#if:{{{tab12|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab12}}}|
<
|
<li class="parent-tab-2">[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab12}}}{{!}}{{{tab12}}}]]</li>
}}
}}
{{#if:{{{tab13|}}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab13}}}|
<li class="parent-tab-1">{{{tab13}}}</li>
|
<
}}
}}
</ul></div><includeonly><div id="page-vote"><vote /></div></includeonly><noinclude>
{{Documentation}}</noinclude>
<noinclude>
<br>
<pre><nowiki>
{{Parent Tab
|tab1=
|tab2=
|tab3=
|tab4=
|tab5=
|tab6=
|tab7=
|tab8=
|tab9=
|tab11=
|tab12=
|tab13=
}}</nowiki></pre>
</noinclude>
|
Latest revision as of 19:13, April 2, 2024
- {{{tab1}}}
This template is supposed to be the base template for other tab templates.
Usage
{{Parent Tab Tempate |backcolor= |altbackcolor= |bordercolor= |borderradius= |height= |minwidth= |maxwidth= |tab1= |tab2= |tab3= |tab4= |tab5= |tab6= |tab7= |tab8= |tab9= }}
All parameters, except tab1, are optional.
- backcolor - background color of active tab; default #DDDDDD;
- altbackcolor - background color of inactive tabs; default transparent;
- bordercolor - border color of every tab; default gray;
- borderradius - border radius of every tab; default 4;
- height - height of tabs, in em; default 3.8em;
- minwidth - min. width of tabs, in em; default 5.0em;
- maxwidth - max. width of tabs, in em; default 12.0em;
- tab1 - an arbitrary title of the first tab;
- tab2 - title of the second tab; it must correspond to the part after "/" of the name of the page, to which it links
- tab3, tab4, tab5, tab6, tab7, tab8, tab9 - like tab2
Example
- Character
- Non-Combatant
- Character 2
- Poll
- Squad
- Trigger
- Databook
- doc
0
- Parent Tab
- Parent Tab/BM
- Parent Tab/Character
- Parent Tab/Character 2
- Parent Tab/Databook
- Parent Tab/Faction
- Parent Tab/No Abilities
- Parent Tab/No Abilities 2
- Parent Tab/Non-Combatant
- Parent Tab/Poll
- Parent Tab/Question Corner
- Parent Tab/Relationships
- Parent Tab/Squad
- Parent Tab/Timeline
- Parent Tab/Trigger
- Parent Tab/Trigger/Kogetsu
- Parent Tab/Trigger/Raygust
- Parent Tab/Trigger/Sōgetsu
- Parent Tab/Trigger No Users
- Parent Tab/Trigger Page
- Parent Tab/Trion Soldier
- Parent Tab/doc
- Parent Tab Anime
- Parent Tab Character 2
- Parent Tab Extra Art
- Parent Tab HQ
- Parent Tab Policy
- Parent Tab Shield
{{Parent Tab |tab1= |tab2= |tab3= |tab4= |tab5= |tab6= |tab7= |tab8= |tab9= |tab11= |tab12= |tab13= }}
{{Parent Tab |tab1= |tab2= |tab3= |tab4= |tab5= |tab6= |tab7= |tab8= |tab9= |tab11= |tab12= |tab13= }}