Template:NavTabs: Difference between revisions

Template page
(Created page with "<includeonly>{{#vardefine: rarity | {{uc:{{#dpl:title={{BASENAME}}|include={Character}:rarity}}}} }}{{Tabs |this={{#switch:{{{active|}}} |overview=1 |combos=2 |okizeme=3 |...")
 
mNo edit summary
Line 1: Line 1:
<includeonly>{{#vardefine: rarity | {{uc:{{#dpl:title={{BASENAME}}|include={Character}:rarity}}}} }}{{Tabs
<includeonly>{{uc:{{#dpl:title={{BASENAME}}}} }}{{Tabs
|this={{#switch:{{{active|}}}
|this={{#switch:{{{active|}}}
  |overview=1
  |game=1
  |combos=2
  |strategy=2
  |okizeme=3
  |lore=3
  |strategy=4
  |voice=4
  |frame data=5
  |anime=5
  |custom5=6
  |anime2=6
  |custom6=7
  |versus=7
  |custom7=9
  |gallery=9
  |custom1=11
  |custom1=11
  |custom2=12
  |custom2=12
Line 16: Line 16:
}}
}}


|link1={{#ifeq: {{lc:{{{overview|yes}}}}}|yes|{{{base|{{BASENAME}}}}}|}}
|link1={{#ifeq: {{lc:{{{game|yes}}}}}|yes|{{{base|{{BASENAME}}}}}|}}
|name1=overview
|name1=Game


|link2={{#ifeq: {{lc:{{{combos|yes}}}}}|yes|{{{base|{{BASENAME}}}}}/combos|}}
|link2={{#ifeq: {{lc:{{{strategy|yes}}}}}|yes|{{{base|{{BASENAME}}}}}/Strategy|}}
|name2=combos
|name2=Strategy


|link3={{#ifeq: {{lc:{{{okizeme|yes}}}}}|yes|{{{base|{{BASENAME}}}}}/okizeme|}}
|link3={{#ifeq: {{lc:{{{lore|yes}}}}}|yes|{{{base|{{BASENAME}}}}}/Lore|}}
|name3=okizeme
|name3=Lore


|link4={{#ifeq: {{lc:{{{strategy|yes}}}}}|yes|{{{base|{{BASENAME}}}}}/strategy|}}
|link4={{#ifeq: {{lc:{{{voice|yes}}}}}|yes|{{{base|{{BASENAME}}}}}/Voice|}}
|name4=strategy
|name4=Voice


|link5={{#if:{{{frame data|}}}|{{{frame data}}} (frame data)|}}
|link5={{#if:{{{anime|}}}|{{{anime}}} (Anime)|}}
|name5=frame data
|name5=Anime


|link7={{#if:{{{custom6|}}}|{{{custom6}}} (custom6)|}}
|link7={{#if:{{{versus|}}}|{{{versus}}} (Versus)|}}
|name7=custom6
|name7=Versus


|link9={{#ifeq: {{lc:{{{custom7|no}}}}}|yes|{{{base|{{BASENAME}}}}}/custom7|}}
|link9={{#ifeq: {{lc:{{{gallery|no}}}}}|yes|{{{base|{{BASENAME}}}}}/Gallery|}}
|name9=custom7
|name9=Gallery


|link11={{#if:{{{custom1_link|}}}|{{{custom1_link}}}|}}
|link11={{#if:{{{custom1_link|}}}|{{{custom1_link}}}|}}
Line 49: Line 49:
|name14={{#if:{{{custom4_tab|}}}|{{{custom4_tab}}}|Custom}}
|name14={{#if:{{{custom4_tab|}}}|{{{custom4_tab}}}|Custom}}


}}{{#if:{{NAMESPACE}}||<!--
}}</includeonly>
-->{{#ifeq: {{lc:{{{active|}}}}}|combos|[[Category:Character combos]]|}}<!--
-->{{#ifeq: {{lc:{{{active|}}}}}|okizeme|[[Category:Character okizeme]] [[Category:okizeme]] {{#if:{{#pos:{{#var:rarity}}|NO RESULTS}}||[[Category:{{uc:{{#dpl:title={{BASENAME}}|include={Character}:rarity}}}} Characters okizeme]]}}}}<!--
-->{{#ifeq: {{lc:{{{active|}}}}}|custom7|[[Category:Character custom7]]|}}<!--
-->{{#ifeq: {{lc:{{{active|}}}}}|strategy|[[Category:Character strategy]]|}}<!--
-->}}</includeonly>

Revision as of 17:30, 18 June 2020