Template:MoveData-UNI2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
-->{{#vardefine:input8|{{#explode:{{{input}}}|,|7}}}}<!-- | -->{{#vardefine:input8|{{#explode:{{{input}}}|,|7}}}}<!-- | ||
---------------------- Gets some basic header info ----------------- | ---------------------- Gets some basic header info ----------------- | ||
-->{{#vardefine:name|{{#invoke:String|replace|{{#explode:{{#cargo_query:tables=UNI2_MoveData|fields=name|where= chara="{{#var:MoveCardTargetChara}}" and input="{{#var: | -->{{#vardefine:moveNameFirst |{{#explode:{{#var:input1}}| |0|2}} }}<!-- | ||
-->{{#vardefine:subtitle|{{#invoke:String|replace|{{#explode:{{#cargo_query:tables=UNI2_MoveData|fields=subtitle|where= chara="{{#var:MoveCardTargetChara}}" and input="{{#var: | -->{{#vardefine:inputInfoFirst|{{#explode:{{#var:input1}}| |1|2}} }}<!-- | ||
-->{{#vardefine:name|{{#invoke:String|replace|{{#explode:{{#cargo_query:tables=UNI2_MoveData|fields=name|where= chara="{{#var:MoveCardTargetChara}}" and input="{{#var:moveNameFirst}}" {{#if:{{#var:inputInfoFirst}}| and inputInfo ="{{#var:inputInfoFirst}}"|and inputInfo is NULL}}|format=template|delimiter=;|template=FrameDataHeader-UNI2/Text}}|;|0}}|pattern=%([^)]*[A-C][^)]*%)|replace=|plain=false}}|{{#var:input1}}}}<!-- | |||
-->{{#vardefine:subtitle|{{#invoke:String|replace|{{#explode:{{#cargo_query:tables=UNI2_MoveData|fields=subtitle|where= chara="{{#var:MoveCardTargetChara}}" and input="{{#var:moveNameFirst}}" {{#if:{{#var:inputInfoFirst}}| and inputInfo ="{{#var:inputInfoFirst}}"|and inputInfo is NULL}}|format=template|delimiter=;|template=FrameDataHeader-UNI2/Text}}|;|0}}|pattern=%([^)]*[A-C][^)]*%)|replace=|plain=false}}}}<!-- | |||
---------------------- Pulls the images and captions from the game's moveData table ----------------- | ---------------------- Pulls the images and captions from the game's moveData table ----------------- | ||
-->{{#vardefine:images|{{#cargo_query:tables= UNI2_MoveData__images, UNI2_MoveData, UNI2_MoveData__caption | -->{{#vardefine:images|{{#cargo_query:tables= UNI2_MoveData__images, UNI2_MoveData, UNI2_MoveData__caption |
Revision as of 21:38, 3 February 2024
Template DocumentationEdit This Documentation
Automatically creates a query for cargo based on the current character page when given an input. Very thanks to Dustloop as most of the code are from theirs :)
This documentation is automatically transcluded from Template:MoveData-UNI2/Documentation and is not included when this page is transcluded.
Params:
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. "inputName" = for each input in input as params, you can assign them a description. You can intentionally left blank for adjacent entries and it will automatically merge you MUST include either the last input or |description= but NOT BOTH as that will broke things chara (OPTIONAL) = defines the character the move card is for. If left blank, uses the current character page. versioned (OPTIONAL) = name column visibility. enter name of column to use for the version field, typically 'name' or 'input'. Leave blank for no version column value defaults to "input" if used under /DataOnly command (OPTIONAL) = specify the command to be shown. title (OPTIONAL) = specify the title to be shown. subtitle (OPTIONAL) = specify the subtitle to be shown.
Examples
1 inputs 1 versions
test overview
Damage | Guard | Startup | Active | Recovery | On-Block | Cancel | Attribute | Invuln |
---|---|---|---|---|---|---|---|---|
1030 | Mid | 8 | 2 (10) 2 | Total 42 | -5 | - | - |
test description
Overall | Blockstun | Property | Proration | Combo Proration | Data link |
---|---|---|---|---|---|
- | Launch, Chip Damage | /Data#6B |
6B :
3 inputs 3 versions
test overview
Version | Damage | Guard | Startup | Active | Recovery | On-Block | Cancel | Attribute | Invuln |
---|---|---|---|---|---|---|---|---|---|
236A | 810 | All | 13 | Until Hit | Total 42 | -7 | - | - | |
236B | 810 | All | 11 | Until Hit | Total 44 | -11 | - | - | |
236C | 330×7 | All | 8 | Until Hit | Total 32 | +28 | - | - |
this is a description for all related moves
Version | Overall | Blockstun | Property | Proration | Combo Proration | Data link |
---|---|---|---|---|---|---|
236A | - | Launch | /Data#236A | |||
236B | - | Launch | /Data#236B | |||
236C | - | Launch | /Data#236C |
236A :
- 1-29 Counterhit state
236B :
- 1-29 Counterhit state
236C :
- 1-22 Counterhit state
2 inputs 4 versions
test overview
Version | Damage | Guard | Startup | Active | Recovery | On-Block | Cancel | Attribute | Invuln |
---|---|---|---|---|---|---|---|---|---|
B+C | 1250 | Mid | 20 | 5 | Total 48 | -11 | - | - | |
[B]+[C] | 1450 | High | 32 | 5 | Total 60 | -11 | - | - | |
B+C (Vorpal) | 1485 | Mid | 20 | 5 | Total 43 | -6 | - | - | |
[B]+[C] (Vorpal) | 1705 | High | 30 | 5 | Total 53 | -6 | - | - |
Version | Overall | Blockstun | Property | Proration | Combo Proration | Data link |
---|---|---|---|---|---|---|
B+C | - | Wall Bounce, Chip Damage | /Data#B+C | |||
[B]+[C] | - | Wall Bounce, Chip Damage | /Data#[B]+[C] | |||
B+C (Vorpal) |
- | Wall Bounce, Chip Damage | /Data#B+C | |||
[B]+[C] (Vorpal) |
- | Wall Bounce, Chip Damage | /Data#[B]+[C] |
B+C :
[B]+[C] :
B+C (Vorpal):
[B]+[C] (Vorpal):
This documentation is automatically transcluded from Template:MoveData-UNI2/Documentation and is not included when this page is transcluded.