Difference between revisions of "Template:DemonTabs"
(2 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|lore=3 | |lore=3 | ||
|gallery=4 | |gallery=4 | ||
+ | |spirit=5 | ||
|custom1=11 | |custom1=11 | ||
|custom2=12 | |custom2=12 | ||
Line 13: | Line 14: | ||
|name1=Info | |name1=Info | ||
− | |link2={{#ifeq: {{lc:{{{builds|yes}}}}}|yes|{{{base|{{BASENAME}}}}}/ | + | |link2={{#ifeq: {{lc:{{{builds|yes}}}}}|yes|{{{base|{{BASENAME}}}}}/Builds|}} |
|name2=Builds | |name2=Builds | ||
Line 21: | Line 22: | ||
|link4={{#ifeq: {{lc:{{{gallery|no}}}}}|yes|{{{base|{{BASENAME}}}}}/Gallery|}} | |link4={{#ifeq: {{lc:{{{gallery|no}}}}}|yes|{{{base|{{BASENAME}}}}}/Gallery|}} | ||
|name4=Gallery | |name4=Gallery | ||
+ | |||
+ | |link5={{#ifeq: {{lc:{{{gallery|no}}}}}|yes|{{{base|{{BASENAME}}}}}/Spirit|}} | ||
+ | |name5=Spirit | ||
|link11={{#if:{{{custom1_link|}}}|{{{custom1_link}}}|}} | |link11={{#if:{{{custom1_link|}}}|{{{custom1_link}}}|}} |
Latest revision as of 14:48, 24 July 2019
Info | Builds | Lore | Gallery | Spirit |
How to Use
{{DemonTabs|base=|builds=|lore=|gallery=}} Required: base: Name of the demon. Name is used as a basis for linked subpages. active: The tab currently "active". Defaults to Info tab. Optional: builds: yes/no. Toggle Builds tab. Default: yes lore: yes/no. Toggle Lore tab. Default: yes gallery: yes/no. Toggle Gallery tab. Default: yes
Gallery tabs are temporarily off by default
Examples
Demon
{{DemonTabs|base=Setanta|builds=yes|gallery=yes|lore=yes}}
Info | Builds | Lore | Gallery | Spirit |
Templates used
Credit
Modified from original template with credit to http://feheroes.wiki, under CC BY-NC-SA 3.0 license.