m (Undo revision 301696 by PrivateTarkus (talk)) Tag: Undo |
No edit summary |
||
(27 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!--------------------------- defaults the character to the subpagename --------------------------- | <includeonly><!--------------------------- defaults the character to the subpagename --------------------------- | ||
-->{{#vardefine: | -->{{#vardefine:MoveCardTargetChara|{{{chara|{{SUBPAGENAME}}}}}}}<!----------- | ||
<!----------- determines up to | <!----------- determines up to 6 inputs from a comma seperated list of inputs in the |input argument ----------- | ||
-->{{#vardefine:input1|{{#explode:{{{input}}}|,|0}}}}<!-- | -->{{#vardefine:input1|{{#explode:{{{input}}}|,|0}}}}<!-- | ||
-->{{#vardefine:input2|{{#explode:{{{input}}}|,|1}}}}<!-- | -->{{#vardefine:input2|{{#explode:{{{input}}}|,|1}}}}<!-- | ||
-->{{#vardefine:input3|{{#explode:{{{input}}}|,|2}}}}<!-- | -->{{#vardefine:input3|{{#explode:{{{input}}}|,|2}}}}<!-- | ||
-->{{#vardefine:input4|{{#explode:{{{input}}}|,|3}}}}<!-- | -->{{#vardefine:input4|{{#explode:{{{input}}}|,|3}}}}<!-- | ||
---><div class="attack-container"><div class="attack-gallery">< | -->{{#vardefine:input5|{{#explode:{{{input}}}|,|4}}}}<!-- | ||
-->{{#vardefine:input6|{{#explode:{{{input}}}|,|5}}}}<!-- | |||
{{#cargo_query:tables= MoveData_DBFZ__images | -->{{#vardefine:input7|{{#explode:{{{input}}}|,|6}}}}<!-- | ||
---><div class="attack-container"><div class="attack-gallery"> <!-- | |||
|fields= MoveData_DBFZ__images._value=image | ------------------------- Pulls the images and captions from the game's moveData table ------------------------- | ||
|where=MoveData_DBFZ.chara="{{#var: | -->{{#cargo_query:tables= MoveData_DBFZ__images, MoveData_DBFZ, MoveData_DBFZ__caption | ||
|join on= MoveData_DBFZ__images._rowID=MoveData_DBFZ._ID, MoveData_DBFZ__images._rowID=MoveData_DBFZ__caption._rowID, MoveData_DBFZ__images._position=MoveData_DBFZ__caption._position | |||
|fields= MoveData_DBFZ__images._value=image, MoveData_DBFZ__caption._value=caption | |||
|where=MoveData_DBFZ.chara="{{#var:MoveCardTargetChara}}" and MoveData_DBFZ.input in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}') {{#if: {{{type|}}}| and MoveData_DBFZ.type="{{{type|}}}" |}} | |||
|group by= MoveData_DBFZ__images._value | |group by= MoveData_DBFZ__images._value | ||
|order by=_ID,MoveData_DBFZ__images._position | |order by=_ID,MoveData_DBFZ__images._position | ||
|format=gallery|mode=nolines|show filename=0|show bytes=0|show dimensions=0 | |format=gallery|mode=nolines|show filename=0|show bytes=0|show dimensions=0 | ||
|image height=210|image width=210 | |image height=210|image width=210<!-- Disabling captions | ||
<!--|caption field=caption | |caption field=caption | ||
-->|default= | |||
}}</div><div class="attack-info"><!-- | |||
| | |||
----------------------- displays the listed fields in the table portion of the move card ----------------------- | ----------------------- displays the listed fields in the table portion of the move card ----------------------- | ||
------ 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 ------ | ||
-->{{#cargo_query:tables=MoveData_DBFZ | -->{{#cargo_query:tables=MoveData_DBFZ | ||
|fields={{#if:{{{versioned|}}}| | |fields={{#if: {{#var:input2}} {{{versioned|}}}|input=Version,|}}damage=Damage,guard=Guard,smash=Smash,startup=Startup,active=Active,recovery=Recovery,onBlock=On-Block,invuln=Invuln | ||
|where=chara="{{#var: | |where=chara="{{#var:MoveCardTargetChara}}" and input in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}') {{#if: {{{type|}}}| and MoveData_DBFZ.type="{{{type|}}}" |}} | ||
|format=table|named args=yes|order by=_ID | |format=table|named args=yes|order by=_ID | ||
}}<!--------------------------- 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 <nowiki> | <div class="attack-info-body"> | ||
{{{description|Add a description to this move using the <code><nowiki>|description=</nowiki></code> field | |||
Describe what the move is used for. | |||
Explain the basics of why the initial purpose of the move is worth knowing or worth doing. Mention downsides that are important to know. If the move is particularly important it might have a spot on the stategy page—an important anti-air will likely be mentioned in the neutral section, or an important combo move will be mentioned in the combo theory.}}} | |||
<!-- Temporary disabling additional data | |||
</div></div></includeonly><noinclude>{{clear}}{{doc}}</noinclude> | <div class="mw-collapsible mw-collapsed" data-expandtext="Show Stats for Nerds" data-collapsetext="Hide Additional Data" style="width: 100%; max-width: 900px;"> | ||
{{#cargo_query:tables=MoveData_DBFZ | |||
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=Version,|}}attribute=Attribute,prorate=Proration,kigain=Ki Gain,smash=Smash | |||
|where=chara="{{#var:MoveCardTargetChara}}" and input in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}') {{#if: {{{type|}}}| and MoveData_DBFZ.type="{{{type|}}}" |}} | |||
|format=table|named args=yes|order by=_ID | |||
}} | |||
{{#cargo_query:tables=MoveData_DBFZ | |||
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=Version,|}}notes | |||
|where=chara="{{#var:MoveCardTargetChara}}" and input in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}') {{#if: {{{type|}}}| and MoveData_DBFZ.type="{{{type|}}}" |}} | |||
|format=ul|named args=yes|order by=_ID | |||
}}</div> | |||
Temporary disabling additional data --></div></div></div><templatestyles src="Template:Move Card/shared/styles.css" /></includeonly><noinclude>{{clear}}{{doc}}</noinclude> |
Latest revision as of 15:12, 22 January 2023
Params:
chara (OPTIONAL) = defines the character the move card is for. If left blank, uses the current character page. input = a comma separated list of the inputs used for a move and its versions as they appear in cargo description = a text description of the move versioned (OPTIONAL) = override name column visibility to on. used when a move has multiple versions but only 1 input.
This is a test page for practicing move card generation
Examples
1 version 1 image
Damage | Guard | Smash | Startup | Active | Recovery | On-Block | Invuln |
---|---|---|---|---|---|---|---|
400 | All | 6 | 3 | 13 | -4 |
Add a description to this move using the |description=
field
Describe what the move is used for.
Explain the basics of why the initial purpose of the move is worth knowing or worth doing. Mention downsides that are important to know. If the move is particularly important it might have a spot on the stategy page—an important anti-air will likely be mentioned in the neutral section, or an important combo move will be mentioned in the combo theory.
1 versions 2 images
Damage | Guard | Smash | Startup | Active | Recovery | On-Block | Invuln |
---|---|---|---|---|---|---|---|
450×2, 400 | All | 35 [20] | +55 |
Add a description to this move using the |description=
field
Describe what the move is used for.
Explain the basics of why the initial purpose of the move is worth knowing or worth doing. Mention downsides that are important to know. If the move is particularly important it might have a spot on the stategy page—an important anti-air will likely be mentioned in the neutral section, or an important combo move will be mentioned in the combo theory.
2 version 2 image
Version | Damage | Guard | Smash | Startup | Active | Recovery | On-Block | Invuln |
---|---|---|---|---|---|---|---|---|
236L+M | 250×10 | All | UDV | 10+4 | 45 | 42 | -26 | 10-21 All |
j.236L+M | 250×10 | All | UDV | 10+4 | 45 | 48 | 10-21 All |
Add a description to this move using the |description=
field
Describe what the move is used for.
Explain the basics of why the initial purpose of the move is worth knowing or worth doing. Mention downsides that are important to know. If the move is particularly important it might have a spot on the stategy page—an important anti-air will likely be mentioned in the neutral section, or an important combo move will be mentioned in the combo theory.
The above documentation is transcluded from Template:DBFZ Move Card/doc. (edit | history)