Template:DBFZ Move Card: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 34: Line 34:
------ 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|}}}|name=Name,|}}damage=Damage,guard=Guard,startup=Startup,active=Active,recovery=Recovery,onBlock=On-Block,{{#if:{{{mp|}}}|MPcost=MP Cost,|}},invuln=Invuln
|fields={{#if: {{#var:input2}}|name=Name,|{{#if:{{{versioned|}}}|name=Name,|}}}}damage=Damage,guard=Guard,startup=Startup,active=Active,recovery=Recovery,onBlock=On-Block,{{#if:{{{mp|}}}|MPcost=MP Cost,|}},invuln=Invuln
|where=chara="{{#var:targetChara}}" and input in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}') {{#if: {{{type|}}}| and MoveData_DBFZ.type="{{{type|}}}" |}}
|where=chara="{{#var:targetChara}}" 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
|format=table|named args=yes|order by=_ID

Revision as of 19:33, 17 July 2022

Automatically creates a query for cargo based on the current character page when given an input.

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 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. Maybe mention some positive traits or downsides that are important.

  • Bullet point of supplemental data

1 versions 2 images

Damage Guard 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. Maybe mention some positive traits or downsides that are important.

  • Bullet point of supplemental data

2 version 2 image

Name Damage Guard Startup Active Recovery On-Block Invuln
Extreme Speed Kamehameha 250×10 All 10+4 45 42 -26 10-21 All
Air Extreme Speed Kamehameha 250×10 All 10+4 45 48 10-21 All

Add a description to this move using the "|description=" field

Describe what the move is used for. Maybe mention some positive traits or downsides that are important.

  • Bullet point of supplemental data