User:Wakeup720: Difference between revisions

8,524 editsJoined 27 June 2021
No edit summary
No edit summary
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{User:Wakeup720/Test}}
<includeonly><!--------------------------- defaults the character to the subpagename ---------------------------
-->{{#vardefine:MoveCardTargetChara|{{{chara|{{SUBPAGENAME}}}}}}}<!-----------
<!----------- determines up to 7 inputs from a comma seperated list of inputs in the |input argument -----------
-->{{#vardefine:input1|{{#explode:{{{input}}}|,|0}}}}<!--
-->{{#vardefine:input2|{{#explode:{{{input}}}|,|1}}}}<!--
-->{{#vardefine:input3|{{#explode:{{{input}}}|,|2}}}}<!--
-->{{#vardefine:input4|{{#explode:{{{input}}}|,|3}}}}<!--
-->{{#vardefine:input5|{{#explode:{{{input}}}|,|4}}}}<!--
-->{{#vardefine:input6|{{#explode:{{{input}}}|,|5}}}}<!--
-->{{#vardefine:input7|{{#explode:{{{input}}}|,|6}}}}<!--
---><div class="attack-container"><div class="attack-gallery"><tabber>
Images = <!------------------- Pulls the images and captions from the game's moveData table ------------------->
{{#cargo_query:tables= MoveData_BBCF__images, MoveData_BBCF, MoveData_BBCF__caption
|join on= MoveData_BBCF__images._rowID=MoveData_BBCF._ID, MoveData_BBCF__images._rowID=MoveData_BBCF__caption._rowID, MoveData_BBCF__images._position=MoveData_BBCF__caption._position
|fields= MoveData_BBCF__images._value=image, MoveData_BBCF__caption._value=caption
|where=MoveData_BBCF.chara="{{#var:MoveCardTargetChara}}" and MoveData_BBCF.input in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}') {{#if: {{{type|}}}| and MoveData_BBCF.type="{{{type|}}}" |}}
|group by= MoveData_BBCF__images._value
|order by=_ID,MoveData_BBCF__images._position
|format=gallery|mode=nolines|show filename=0|show bytes=0|show dimensions=0
|image height=210|image width=210
|caption field=caption|default=
}}
|-|
Hitboxes = <!-------------- Pulls the hitboxes and hitboxCaptions from the game's moveData table -------------->
{{#cargo_query:tables=MoveData_BBCF__hitboxes, MoveData_BBCF, MoveData_BBCF__hitboxCaption
|join on= MoveData_BBCF__hitboxes._rowID=MoveData_BBCF._ID, MoveData_BBCF__hitboxes._rowID=MoveData_BBCF__hitboxCaption._rowID, MoveData_BBCF__hitboxes._position=MoveData_BBCF__hitboxCaption._position
|fields= MoveData_BBCF__hitboxes._value=image, MoveData_BBCF__hitboxCaption._value=hitboxCaption
|where=MoveData_BBCF.chara="{{#var:MoveCardTargetChara}}" and MoveData_BBCF.input in ('{{#var:input1}}', '{{#var:input2}}', '{{#var:input3}}', '{{#var:input4}}', '{{#var:input5}}', '{{#var:input6}}', '{{#var:input7}}') {{#if: {{{type|}}}| and MoveData_BBCF.type="{{{type|}}}" |}}
|group by= MoveData_BBCF__hitboxes._value
|order by=_ID,MoveData_BBCF__hitboxes._position
|format=gallery|mode=nolines|show filename=0|show bytes=0|show dimensions=0
|image height=210|image width=210
|caption field=hitboxCaption|default=
}}
</tabber></div><div class="attack-info"><!--
----------------------- 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 ------
-->{{#cargo_query:tables=MoveData_BBCF
|fields={{#switch:{{{versioned}}}|input = input=Version,|name = name=Version,}}damage=Damage,guard=Guard,startup=Startup,active=Active,recovery=Recovery,onBlock=On-Block,attribute=Attribute,invuln=Invuln
|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_BBCF.type="{{{type|}}}" |}}
|format=table|named args=yes|order by=_ID
}}<!--------------------------- this is where the body of the move card is written. --------------------------->
{{{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 character's Strategy 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.}}}
<!--------------------------- this is where the extra info is written. --------------------------->
<div class="mw-collapsible mw-collapsed" data-expandtext="Show Stats for Nerds" data-collapsetext="Hide Additional Data" style="width: 100%; max-width: 1080px;">
{{#cargo_query:tables=MoveData_BBCF
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=Version,|}}starter=Starter Rating,level=Level,p1=P1,p2=P2,onODR=On-ODR,cancelTiming=Cancel Timing
|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_BBCF.type="{{{type|}}}" |}}
|format=table|named args=yes|order by=_ID
}}
{{#cargo_query:tables=MoveData_BBCF
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=Version,|}}notes
|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_BBCF.type="{{{type|}}}" |}}
|format=ul|named args=yes|order by=_ID
}}</div></div></div></includeonly><noinclude>{{clear}}{{doc}}</noinclude>

Revision as of 00:30, 19 September 2022