Difference between revisions of "Template:NavTabs"

From Dustloop Wiki
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
  |okizeme=4
 
  |okizeme=4
 
  |frame_data=5
 
  |frame_data=5
  |discord=6
+
  |matchups=6
  |forums=7
+
  |discord=7
  |videos=8
+
  |forums=8
  |gbfwiki=9
+
  |videos=9
  |custom4=10
+
  |gbfwiki=10
 +
|custom=11
 
  |#default=1
 
  |#default=1
 
}}
 
}}
Line 29: Line 30:
 
|name5=Full Frame Data
 
|name5=Full Frame Data
  
|link6={{#if:{{{discord|}}}|{{{discord}}}|}}
+
|link6={{#ifeq: {{lc:{{{matchups|no}}}}}|yes|{{{game}}}/{{{chara}}}/Matchups|}}
|name6={{#if:{{{discord|}}}|Discord}}
+
|name6=Matchups
  
|link7={{#if:{{{forums|}}}|{{{forums}}}|}}
+
|link7={{#if:{{{discord|}}}|{{{discord}}}|}}
|name7={{#if:{{{forums|}}}|Forums}}
+
|name7={{#if:{{{discord|}}}|Discord}}
  
|link8={{#if:{{{videos|}}}|{{{videos}}}|}}
+
|link8={{#if:{{{forums|}}}|{{{forums}}}|}}
|name8={{#if:{{{videos|}}}|Videos}}
+
|name8={{#if:{{{forums|}}}|Forums}}
  
|link9={{#if:{{{gbfwiki|}}}|{{{gbfwiki}}}|}}
+
|link9={{#if:{{{videos|}}}|{{{videos}}}|}}
|name9={{#if:{{{gbfwiki|}}}|GBF Wiki}}
+
|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[edit]

{{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[edit]

Full Format Format[edit]

   {{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[edit]

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

Default values + no okizeme tab + discord tab[edit]

   {{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[edit]

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

Default values + matchups[edit]

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

Templates used[edit]

Credit[edit]

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