Template:MoveData-UNI2: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
(fix additional data getting bullet-point-ized by the last change)
No edit summary
Line 14: Line 14:
-->{{#vardefine:subtitle|{{#invoke:String|replace|{{#explode:{{#cargo_query:tables=UNI2_MoveData|fields=subtitle|where= chara="{{#var:MoveCardTargetChara}}" and input="{{#var:input1}}"|format=template|delimiter=;|template=FrameDataHeader-UNI2/Text}}|;|0}}|pattern=%([^)]*[A-C][^)]*%)|replace=|plain=false}}}}<!--
-->{{#vardefine:subtitle|{{#invoke:String|replace|{{#explode:{{#cargo_query:tables=UNI2_MoveData|fields=subtitle|where= chara="{{#var:MoveCardTargetChara}}" and input="{{#var:input1}}"|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,
-->{{#vardefine:images|{{#cargo_query:tables= UNI2_MoveData__images, UNI2_MoveData, UNI2_MoveData__caption
|join on= UNI2_MoveData__images._rowID=UNI2_MoveData._ID
|join on= UNI2_MoveData__images._rowID=UNI2_MoveData._ID, UNI2_MoveData__images._rowID=UNI2_MoveData__caption._rowID, UNI2_MoveData__images._position=UNI2_MoveData__caption._position
|fields= UNI2_MoveData__images._value=image
|fields= UNI2_MoveData__images._value=image, UNI2_MoveData__caption._value=caption
|where=UNI2_MoveData.chara="{{#var:MoveCardTargetChara}}" and UNI2_MoveData.input in ('{{#explode:{{#var:input1}}| |0}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}', '{{#var:input8}}')  
|where=UNI2_MoveData.chara="{{#var:MoveCardTargetChara}}" and UNI2_MoveData.input in ('{{#explode:{{#var:input1}}| |0}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}', '{{#var:input8}}')  
|group by= UNI2_MoveData__images._value
|group by= UNI2_MoveData__images._value
Line 22: Line 22:
|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
|default=
|caption field=caption|default=
}} }}<!------------ Pulls the hitboxes afrom the game's moveData table ------------
}} }}<!------------ Pulls the hitboxes afrom the game's moveData table ------------
-->{{#vardefine:hitboxes|{{#cargo_query:tables=UNI2_MoveData__hitboxes, UNI2_MoveData,
-->{{#vardefine:hitboxes|{{#cargo_query:tables=UNI2_MoveData__hitboxes, UNI2_MoveData, UNI2_MoveData__hitboxCaption
|join on= UNI2_MoveData__hitboxes._rowID=UNI2_MoveData._ID
|join on= UNI2_MoveData__hitboxes._rowID=UNI2_MoveData._ID, UNI2_MoveData__hitboxes._rowID=UNI2_MoveData__hitboxCaption._rowID, UNI2_MoveData__hitboxes._position=UNI2_MoveData__hitboxCaption._position
|fields= UNI2_MoveData__hitboxes._value=image
|fields= UNI2_MoveData__hitboxes._value=image, UNI2_MoveData__hitboxCaption._value=hitboxCaption
|where=UNI2_MoveData.chara="{{#var:MoveCardTargetChara}}" and UNI2_MoveData.input in ('{{#explode:{{#var:input1}}| |0}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}', '{{#var:input8}}')  
|where=UNI2_MoveData.chara="{{#var:MoveCardTargetChara}}" and UNI2_MoveData.input in ('{{#explode:{{#var:input1}}| |0}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}', '{{#var:input8}}')  
|group by= UNI2_MoveData__hitboxes._value
|group by= UNI2_MoveData__hitboxes._value
Line 32: Line 32:
|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
|default=
|caption field=hitboxCaption|default=
}} }}<!--
}} }}<!--
--><div class="movedata-container">
--><div class="movedata-container">

Revision as of 08:37, 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 :)

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] - 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.