Template:Overview: Difference between revisions

Template page
No edit summary
(Reworked conditional to avoid blank game/chara overrides occuring when not provided (It's bloated but it works))
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
|content= {{{overview|}}}<!--
|content= {{{overview|}}}<!--
-->{{#if: {{{lore|}}}|{{Bio
-->{{#if: {{{lore|}}}|{{Bio
| name = {{#var:targetChara}}
| name = {{{name|{{#var:targetChara}}}}}
| game = {{#var:targetGame}}
| game = {{{game|{{#var:targetGame}}}}}
| lore = {{{lore|}}}
| lore = {{{lore|}}}
| voice = {{{voice_actor|}}}
| voice = {{{voice_actor|}}}
Line 12: Line 12:
}}|}}
}}|}}
{{StrengthsAndWeaknesses
{{StrengthsAndWeaknesses
| intro = {{Character Label Cargo|size=32px}} {{{summary|}}}
| intro = {{#if: {{{chara|}}}{{{game|}}}|{{Character Label Cargo|game={{#var:targetGame}}|chara={{#var:targetChara}}|size=32px}}|{{Character Label Cargo|size=32px}}}} {{{summary|}}}
| pros = {{{pros|}}}
| pros = {{{pros|}}}
| cons = {{{cons|}}}
| cons = {{{cons|}}}
Line 27: Line 27:
{{FP Box
{{FP Box
| padding=0; overflow: hidden
| padding=0; overflow: hidden
| content={{CharaInfoCargo
| content={{#if: {{{chara|}}}{{{game|}}}|{{CharaInfoCargo
| nameplate={{#switch:{{#var:targetGame}}|GBVS|BBCF|P4U2R|GGACR=yes|#default=no}}
| nameplate={{#switch:{{#var:targetGame}}|GBVS|BBCF|P4U2R|GGACR=yes|#default=no}}
| game={{#var:targetGame}}
| chara={{#var:targetChara}}
| fastestAttack={{{fastestAttack|}}}
| fastestAttack={{{fastestAttack|}}}
| reversal={{{reversal|}}}
| reversal={{{reversal|}}}
Line 34: Line 36:
| fatalStarter = {{{fatalStarter|}}}
| fatalStarter = {{{fatalStarter|}}}
| fatalRecovery = {{{fatalRecovery|}}}
| fatalRecovery = {{{fatalRecovery|}}}
}}
}}|{{CharaInfoCargo
| nameplate={{#switch:{{#var:targetGame}}|GBVS|BBCF|P4U2R|GGACR=yes|#default=no}}
| fastestAttack={{{fastestAttack|}}}
| reversal={{{reversal|}}}
| reversalType = {{{reversalType|}}}
| fatalStarter = {{{fatalStarter|}}}
| fatalRecovery = {{{fatalRecovery|}}}
}} }}
}}
}}
{{#switch:{{#var:targetGame}}|P4U2R={{FP TOC|3}}|#default ={{FP TOC|2}}}}
{{#switch:{{#var:targetGame}}|P4U2R={{FP TOC|3}}|#default ={{FP TOC|2}}}}

Revision as of 13:46, 19 August 2022

| chara                 = (inferred from page URL)
| game                  = (inferred from page URL)
| overview              = 
| summary               = used in pros/cons table and in discord embeds
| pros                  = 
| cons                  = 
| footnote              = 
| unique_mechanic1_name = Subsection header for main FP Box
| unique_mechanic1      = contents for the corresponding optional subsection
| unique_mechanic2_name = Subsection header for main FP Box
| unique_mechanic2      = contents for the corresponding optional subsection
| unique_mechanic3_name = Subsection header for main FP Box
| unique_mechanic3      = contents for the corresponding optional subsection
| fastestAttack         = (optional)
| reversal              = (optional)
| reversalType          = (optional)
| fatalStarter          = (optional)
| fatalRecovery         = (optional)