Template:CharaInfoCargo: Difference between revisions

Template page
No edit summary
(Optional game/chara parameter overrides. Uses page names by default)
Line 1: Line 1:
<includeonly><table class="stripe" id="CharaInfoCargo" style="width:100%; padding: 0px;" cellspacing="0"><!--
<includeonly><table class="stripe" id="CharaInfoCargo" style="width:100%; padding: 0px;" cellspacing="0"><!--
--><tr><th align="center" colspan="2">{{#ifeq: {{lc:{{{nameplate|no}}}}}|yes|[[File:{{BASEPAGENAME}}_{{SUBPAGENAME}}_Nameplate.png|x45px]]|<span style="font-size:20px; font-weight: 900;">{{SUBPAGENAME}}</span>}}</th></tr><!--
--><tr><th align="center" colspan="2">{{#ifeq: {{lc:{{{nameplate|no}}}}}|yes|[[File:{{{game|{{BASEPAGENAME}}}}}_{{{chara|{{SUBPAGENAME}}}}}_Nameplate.png|x45px]]|<span style="font-size:20px; font-weight: 900;">{{{chara|{{SUBPAGENAME}}}}}</span>}}</th></tr><!--
-->{{#cargo_query:tables={{#switch: {{BASEPAGENAME}}|GGXRD-R2=ggxrdr2Characters|P4U2.5=p4u2rCharacters|{{lc:{{BASEPAGENAME}}}}Characters}}
-->{{#cargo_query:tables={{#switch: {{{game|{{BASEPAGENAME}}}}}|GGXRD-R2=ggxrdr2Characters|P4U2.5=p4u2rCharacters|{{lc:{{{game|{{BASEPAGENAME}}}}}}}Characters}}
|fields=portrait,{{#switch: {{BASEPAGENAME}}
|fields=portrait,{{#switch: {{{game|{{BASEPAGENAME}}}}}
| BBCF    = health,prejump,backdash,forwarddash,umo
| BBCF    = health,prejump,backdash,forwarddash,umo
| BBTag    = health,prejump,backdash,forwarddash,umo
| BBTag    = health,prejump,backdash,forwarddash,umo
Line 19: Line 19:
| DBFZ    = umo
| DBFZ    = umo
}}<!--
}}<!--
-->|where=name="{{SUBPAGENAME}}"
-->|where=name="{{{chara|{{SUBPAGENAME}}}}}"
|format=template
|format=template
|template={{BASEPAGENAME}}-Character-infobox
|template={{{game|{{BASEPAGENAME}}}}}-Character-infobox
|named args=yes
|named args=yes
}}<!--
}}<!--

Revision as of 13:32, 19 August 2022

Usage

{{CharaInfo
| nameplate      = yes/no. Toggle nameplate image for character. Default: no.
| umo            = The character's movement options.

| Additional parameters:
| fastestAttack  = Wikitext field for the character's fastest attack(s).
| reversal       = Wikitext field for the character's reversal(s).
| reversalType   = Wikitext field for the character's reversal type.
| fatalStarter   = Wikitext field for the character's Fatal Starters (in applicable games).
| fatalRecovery  = Wikitext field for the character's Fatal Recovery moves (in applicable games).

| Override parameters:
| game = Game's shorthand. Equivalent to the BASEPAGENAME.
| chara = Character's name. Equivalent to the SUBPAGENAME.
}}