Template:MoveData-UNI2: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
No edit summary
Line 63: Line 63:
</div>}}}|{{MoveData-UNI2/DataOnly|chara={{#var:MoveCardTargetChara}}|input={{{input|}}}|versioned={{{versioned|}}}|description={{{description|}}} }} }}
</div>}}}|{{MoveData-UNI2/DataOnly|chara={{#var:MoveCardTargetChara}}|input={{{input|}}}|versioned={{{versioned|}}}|description={{{description|}}} }} }}
<div class="mw-collapsible mw-collapsed additional-data-section" data-expandtext="Show Additional Data" data-collapsetext="Hide Additional Data">
<div class="mw-collapsible mw-collapsed additional-data-section" data-expandtext="Show Additional Data" data-collapsetext="Hide Additional Data">
<table class="wikitable movedata-flex-framedata-table">
<table class="wikitable movedata-flex-framedata-table"><!--
{{FrameDataHeader-UNI2/Additional|version={{{versioned|}}}}}<!--
-->{{#vardefine:input1|{{MoveData-UNI2/QueryMoveId|chara={{#var:MoveCardTargetChara}}|input={{#explode:{{{input}}}|,|0}}}}}}<!--
-->{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input1}}|versioned={{{versioned|}}}|dataType=sub}}<!--
-->{{#vardefine:input2|{{MoveData-UNI2/QueryMoveId|chara={{#var:MoveCardTargetChara}}|input={{#explode:{{{input}}}|,|1}}}}}}<!--
-->{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input2}}|versioned={{{versioned|}}}|dataType=sub}}<!--
-->{{#vardefine:input3|{{MoveData-UNI2/QueryMoveId|chara={{#var:MoveCardTargetChara}}|input={{#explode:{{{input}}}|,|2}}}}}}<!--
-->{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input3}}|versioned={{{versioned|}}}|dataType=sub}}<!--
-->{{#vardefine:input4|{{MoveData-UNI2/QueryMoveId|chara={{#var:MoveCardTargetChara}}|input={{#explode:{{{input}}}|,|3}}}}}}<!--
-->{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input4}}|versioned={{{versioned|}}}|dataType=sub}}<!--
-->{{#vardefine:input5|{{MoveData-UNI2/QueryMoveId|chara={{#var:MoveCardTargetChara}}|input={{#explode:{{{input}}}|,|4}}}}}}<!--
-->{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input5}}|versioned={{{versioned|}}}|dataType=sub}}<!--
-->{{#vardefine:input6|{{MoveData-UNI2/QueryMoveId|chara={{#var:MoveCardTargetChara}}|input={{#explode:{{{input}}}|,|5}}}}}}<!--
-->{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input6}}|versioned={{{versioned|}}}|dataType=sub}}<!--
-->{{#vardefine:input7|{{MoveData-UNI2/QueryMoveId|chara={{#var:MoveCardTargetChara}}|input={{#explode:{{{input}}}|,|6}}}}}}<!--
-->{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input7}}|versioned={{{versioned|}}}|dataType=sub}}<!--
-->{{#vardefine:input8|{{MoveData-UNI2/QueryMoveId|chara={{#var:MoveCardTargetChara}}|input={{#explode:{{{input}}}|,|7}}}}}}
-->{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input8}}|versioned={{{versioned|}}}|dataType=sub}}<!---->
{{FrameDataHeader-UNI2/Additional|version={{{versioned|}}}}}
</table><div class="movedata-flex-description" style="padding: 10px 10px 20px"><!--
{{#cargo_query:tables=UNI2_MoveData
---the &#10; here is the html-encoded newline character, used because the #if template for some reason strips the trailing newline that {{MoveData-UNI2/Query}} normally adds ----
|fields={{#switch:{{{versioned}}}|input = input = Version,|name = name=Version}}, inputInfo=subtitle, input=name, cost, blockstun, cancel, attribute, property, proration, moveId
-->{{#if: {{#var:input1|}}|{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input1}}|versioned={{{versioned|}}}|dataType=notes}}&#10;|<!---->}}<!--
|where= moveId in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}', '{{#var:input8}}')
-->{{#if: {{#var:input2|}}|{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input2}}|versioned={{{versioned|}}}|dataType=notes}}&#10;|<!---->}}<!--
|format=template|template=FrameDataHeader-UNI2/AdditionalData|named args=yes|order by=_ID|delimiter= \n|default=
-->{{#if: {{#var:input3|}}|{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input3}}|versioned={{{versioned|}}}|dataType=notes}}&#10;|<!---->}}<!--
}}
-->{{#if: {{#var:input4|}}|{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input4}}|versioned={{{versioned|}}}|dataType=notes}}&#10;|<!---->}}<!--
</table><div class="movedata-flex-description" style="padding: 10px 10px 0 10px">{{#cargo_query:tables=UNI2_MoveData
-->{{#if: {{#var:input5|}}|{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input5}}|versioned={{{versioned|}}}|dataType=notes}}&#10;|<!---->}}<!--
|fields={{#switch:{{{versioned}}}|input = input = Version,|name = name=Version}}, inputInfo=subtitle, input=name, notes
-->{{#if: {{#var:input6|}}|{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input6}}|versioned={{{versioned|}}}|dataType=notes}}&#10;|<!---->}}<!--
|where= moveId in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}', '{{#var:input8}}')
-->{{#if: {{#var:input7|}}|{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input7}}|versioned={{{versioned|}}}|dataType=notes}}&#10;|<!---->}}<!--
|format=template|template=Cargo_Notes|named args=yes|order by=_ID|default=
-->{{#if: {{#var:input8|}}|{{MoveData-UNI2/Query|chara={{#var:MoveCardTargetChara|}}|input={{#var:input8}}|versioned={{{versioned|}}}|dataType=notes}}&#10;|<!---->}}</div></div></div></div><templatestyles src="MoveData-UNI2/styles.css"/></includeonly><noinclude>{{clear}}{{doc}}</noinclude>
}}</div></div></div></div><templatestyles src="MoveData-UNI2/styles.css"/></includeonly><noinclude>{{clear}}{{doc}}</noinclude>

Revision as of 07:17, 6 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 :)

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

6B
6B
Hitboxes Off
Hitboxes On
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

Black Orbiter
円環ノ凶渦
(ブラックオービター)
236X
Hitboxes Off
Hitboxes On
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

Strict Daze
峭刻ノ残滓
(ストリクトデイズ)
B+C
Hitboxes Off
Hitboxes On
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
(Vorpal)
- 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 :

B+C (Vorpal):

[B]+[C] :

[B]+[C] (Vorpal):


This documentation is automatically transcluded from Template:MoveData-UNI2/Documentation and is not included when this page is transcluded.