Content added Content deleted
DarthPhallus (talk | contribs) No edit summary |
DarthPhallus (talk | contribs) 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 |