Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:SSBU Move Card: Difference between revisions

Template page
Content added Content deleted
No edit summary
m (Reverted edits by DarthPhallus (talk) to last revision by Scatteraxis)
Tag: Rollback
Line 1: Line 1:
<includeonly><!--------------------------- defaults the character to the subpagename ---------------------------
<includeonly><!--------------------------- defaults the character to the subpagename ---------------------------
-->{{#vardefine:MoveCardTargetChara|{{{chara}}}}}<!-----------
-->{{#vardefine:MoveCardTargetChara|{{{chara|{{PAGENAME}}}}}}}<!-----------
<!----------- determines up to 12 inputs from a comma seperated list of inputs in the |input argument -----------
<!----------- determines up to 12 inputs from a comma seperated list of inputs in the |input argument -----------
-->{{#vardefine:input1|{{#explode:{{{input}}}|,|0}}}}<!--
-->{{#vardefine:input1|{{#explode:{{{input}}}|,|0}}}}<!--
Line 45: Line 45:
------ If the move is a single input with multiple versions, use the |versioned arg to show version names ------
------ If the move is a single input with multiple versions, use the |versioned arg to show version names ------
-->
-->
{| class="wikitable attack-data"
{{AttackDataHeader-SSBU|version={{{versioned|}}}}}
|-
{{#cargo_query:tables=SSBU_MoveData_Test
{{#cargo_query:tables=SSBU_MoveData_Test
|fields=input,damage,active,faf,angle,safety,invuln
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=name,|}}damage,active,faf,angle,safety,invuln
|where=chara="{{#var:MoveCardTargetChara}}" and input in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}', '{{#var:input8}}', '{{#var:input9}}', '{{#var:input10}}', '{{#var:input11}}', '{{#var:input12}}') {{#if: {{{type|}}}| and SSBU_MoveData_Test.type="{{{type|}}}" |}}
|where=chara="{{{chara}}}" and input="{{#var:input1}}"
|format=template|template=AttackData-SSBU|named args=yes|order by=_ID
|delimiter=\n{{!}}-\n
}}
}}
|}
<!----------------------- this is where the body of the move card is written. --------------------------->
<!----------------------- this is where the body of the move card is written. --------------------------->
{{{description|Add a description to this move using the <code><nowiki>|description=</nowiki></code> field
{{{description|Add a description to this move using the <code><nowiki>|description=</nowiki></code> field

Revision as of 05:03, 8 October 2022

Cookies help us deliver our services. By using our services, you agree to our use of cookies.