Template:NavTabs: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  |strategy=3
  |strategy=3
  |okizeme=4
  |okizeme=4
  |frame_data=7
  |frame_data=5
  |discord=9
|matchups=6
  |custom1=11
  |discord=7
  |custom2=12
  |forums=8
  |custom3=13
  |videos=9
  |custom4=14
  |gbfwiki=10
  |custom=11
  |#default=1
  |#default=1
}}
}}


|link1={{#ifeq: {{lc:{{{overview|yes}}}}}|yes|{{{game}}}{{{base|}}}|}}
|link1={{#ifeq: {{lc:{{{overview|yes}}}}}|yes|{{{game}}}/{{{chara}}}|}}
|name1=Overview
|name1=Overview


|link2={{#ifeq: {{lc:{{{combos|yes}}}}}|yes|{{{game}}}{{{base|}}}/Combos|}}
|link2={{#ifeq: {{lc:{{{combos|yes}}}}}|yes|{{{game}}}/{{{chara}}}/Combos|}}
|name2=Combos
|name2=Combos


|link3={{#ifeq: {{lc:{{{strategy|yes}}}}}|yes|{{{game}}}{{{base|}}}/Strategy|}}
|link3={{#ifeq: {{lc:{{{strategy|yes}}}}}|yes|{{{game}}}/{{{chara}}}/Strategy|}}
|name3=Strategy
|name3=Strategy/Counter Strategy


|link4={{#ifeq: {{lc:{{{okizeme|no}}}}}|yes|{{{game}}}{{{base|}}}/okizeme|}}
|link4={{#ifeq: {{lc:{{{okizeme|no}}}}}|yes|{{{game}}}/{{{chara}}}/Okizeme|}}
|name4=okizeme
|name4=Okizeme


|link4={{#ifeq: {{lc:{{{frame_data|yes}}}}}|yes|{{{game}}}{{{base|}}}/Frame_Data|}}
|link5={{#ifeq: {{lc:{{{frame_data|yes}}}}}|yes|{{{game}}}/{{{chara}}}/Frame_Data|}}
|name4=Full Frame Data
|name5=Full Frame Data


|link6={{#ifeq: {{lc:{{{discord|no}}}}}|yes|{{{game}}}{{{base|}}}/Discord|}}
|link6={{#ifeq: {{lc:{{{matchups|no}}}}}|yes|{{{game}}}/{{{chara}}}/Matchups|}}
|name6=Discord
|name6=Matchups


|link7={{#if:{{{custom1_link|}}}|{{{custom1_link}}}|}}
|link7={{#if:{{{discord|}}}|{{{discord}}}|}}
|name7={{#if:{{{custom1_tab|}}}|{{{custom1_tab}}}|Custom}}
|name7={{#if:{{{discord|}}}|Discord}}


|link8={{#if:{{{custom2_link|}}}|{{{custom2_link}}}|}}
|link8={{#if:{{{forums|}}}|{{{forums}}}|}}
|name8={{#if:{{{custom2_tab|}}}|{{{custom2_tab}}}|Custom}}
|name8={{#if:{{{forums|}}}|Forums}}


|link9={{#if:{{{custom3_link|}}}|{{{custom3_link}}}|}}
|link9={{#if:{{{videos|}}}|{{{videos}}}|}}
|name9={{#if:{{{custom3_tab|}}}|{{{custom3_tab}}}|Custom}}
|name9={{#if:{{{videos|}}}|Videos}}


|link10={{#if:{{{custom4_link|}}}|{{{custom4_link}}}|}}
|link10={{#if:{{{gbfwiki|}}}|{{{gbfwiki}}}|}}
|name10={{#if:{{{custom4_tab|}}}|{{{custom4_tab}}}|Custom}}
|name10={{#if:{{{gbfwiki|}}}|GBF Wiki}}
 
|link11={{#if:{{{custom4_link|}}}|{{{custom4_link}}}|}}
|name11={{#if:{{{custom4_tab|}}}|{{{custom4_tab}}}|Custom}}


}}</includeonly><noinclude>{{clear}}{{doc}}</noinclude>
}}</includeonly><noinclude>{{clear}}{{doc}}</noinclude>

Latest revision as of 01:30, 26 October 2020

How to Use

{{NavTabs|game=|chara=|overview=|combos=|strategy=|okizeme=|frame_data=|matchups=|discord=|forums=|gbfwiki=}}

Required:
game: Name of the game from which a character comes.
chara: Name of the character. Name is used as a basis for linked subpages.
active: The tab currently "active". Defaults to Overview tab.

Optional:
combos: yes/no. Toggle Combos tab. Default: yes
strategy: yes/no. Toggle Strategy tab. Default: yes
okizeme: yes/no. Toggle Okizeme tab. Default: yes
frame_data: yes/no. Toggle Full Frame Data tab. Default: yes
discord: full ink. Provide a link to display a tab that links to the character discord.
forums: full ink. Provide a link to display a tab that links to a thread on the forums.
videos: full ink. Provide a link to display a tab that links to a video archive.

Examples

Full Format Format

   {{NavTabs|game=GGXRD-R2|chara=Venom|overview=yes|combos=yes|strategy=yes|okizeme=yes|frame_data=yes|forums=http://www.dustloop.com/forums/index.php?/forums/forum/288-venom/|videos=http://horibuna.web.fc2.com/GGXrdR/GGXrdR_VE.html}}
  Overview   Combos   Strategy/Counter Strategy   Okizeme   Full Frame Data   Forums   Videos    

Default values + no okizeme tab

   {{NavTabs|game=GBVS|chara=Vaseraga|okizeme=no}}
  Overview   Combos   Strategy/Counter Strategy   Full Frame Data    

Default values + no okizeme tab + discord tab

   {{NavTabs|game=GBVS|chara=Vaseraga|okizeme=no|discord=https://discord.gg/cMHSNjB}}
  Overview   Combos   Strategy/Counter Strategy   Full Frame Data   Discord    

Default values + no okizeme tab, no strategy

   {{NavTabs|game=GGXRD-R2|chara=Ky_Kiske|strategy=no|okizeme=no}}
  Overview   Combos   Full Frame Data    

Default values + matchups

   {{NavTabs|game=GGXRD-R2|chara=Ky_Kiske|strategy=no|okizeme=no|matchups=yes}}
  Overview   Combos   Strategy/Counter Strategy   Full Frame Data   Matchups    

Templates used

Credit

Modified from original template with credit to http://feheroes.wiki, under CC BY-NC-SA 3.0 license.