Content added Content deleted
DarthPhallus (talk | contribs) (Undo revision 4945 by DarthPhallus (talk)) Tag: Undo |
No edit summary |
||
(42 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!--------------------------- defaults the character to the subpagename --------------------------- |
<includeonly><!--------------------------- defaults the character to the subpagename --------------------------- |
||
-->{{#vardefine:MoveCardTargetChara|{{{chara}}}}}<!----------- |
-->{{#vardefine:MoveCardTargetChara|{{{chara|{{SUBPAGENAME}}}}}}}<!----------- |
||
<!----------- determines up to 12 |
<!----------- determines up to 12 attacks from a comma seperated list of attacks in the |attack argument ----------- |
||
-->{{#vardefine: |
-->{{#vardefine:attack1|{{#explode:{{{attack}}}|,|0}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack2|{{#explode:{{{attack}}}|,|1}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack3|{{#explode:{{{attack}}}|,|2}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack4|{{#explode:{{{attack}}}|,|3}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack5|{{#explode:{{{attack}}}|,|4}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack6|{{#explode:{{{attack}}}|,|5}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack7|{{#explode:{{{attack}}}|,|6}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack8|{{#explode:{{{attack}}}|,|7}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack9|{{#explode:{{{attack}}}|,|8}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack10|{{#explode:{{{attack}}}|,|9}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack11|{{#explode:{{{attack}}}|,|10}}}}<!-- |
||
-->{{#vardefine: |
-->{{#vardefine:attack12|{{#explode:{{{attack}}}|,|11}}}}<!-- |
||
------------------ Pulls the hitboxes and hitboxCaptions from the game's moveData table -------------- |
------------------ Pulls the hitboxes and hitboxCaptions from the game's moveData table -------------- |
||
-->{{#vardefine:images|{{#cargo_query:tables= |
-->{{#vardefine:images|{{#cargo_query:tables= SSBU_MoveData__images, SSBU_MoveData, SSBU_MoveData__caption |
||
|join on= |
|join on= SSBU_MoveData__images._rowID=SSBU_MoveData._ID, SSBU_MoveData__images._rowID=SSBU_MoveData__caption._rowID, SSBU_MoveData__images._position=SSBU_MoveData__caption._position |
||
|fields= |
|fields= SSBU_MoveData__images._value=image, SSBU_MoveData__caption._value=caption |
||
|where= |
|where=SSBU_MoveData.chara="{{#var:MoveCardTargetChara}}" and SSBU_MoveData.attack in ('{{#var:attack1}}', '{{#var:attack2}}', '{{#var:attack3}}', '{{#var:attack4}}', '{{#var:attack5}}', '{{#var:attack6}}', '{{#var:attack7}}', '{{#var:attack8}}', '{{#var:attack9}}', '{{#var:attack10}}', '{{#var:attack11}}', '{{#var:attack12}}') {{#if: {{{type|}}}| and SSBU_MoveData.type="{{{type|}}}" |}} |
||
|group by= |
|group by= SSBU_MoveData__images._value |
||
|order by=_ID, |
|order by=_ID,SSBU_MoveData__images._position |
||
|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 |
||
|caption field=caption|default= |
|caption field=caption|default= |
||
}} }}<!-- |
}} }}<!-- |
||
-->{{#vardefine:hitboxes|{{#cargo_query:tables= |
-->{{#vardefine:hitboxes|{{#cargo_query:tables=SSBU_MoveData__hitboxes, SSBU_MoveData, SSBU_MoveData__hitboxCaption |
||
|join on= |
|join on= SSBU_MoveData__hitboxes._rowID=SSBU_MoveData._ID, SSBU_MoveData__hitboxes._rowID=SSBU_MoveData__hitboxCaption._rowID, SSBU_MoveData__hitboxes._position=SSBU_MoveData__hitboxCaption._position |
||
|fields= |
|fields= SSBU_MoveData__hitboxes._value=image, SSBU_MoveData__hitboxCaption._value=hitboxCaption |
||
|where= |
|where=SSBU_MoveData.chara="{{#var:MoveCardTargetChara}}" and SSBU_MoveData.attack in ('{{#var:attack1}}', '{{#var:attack2}}', '{{#var:attack3}}', '{{#var:attack4}}', '{{#var:attack5}}', '{{#var:attack6}}', '{{#var:attack7}}', '{{#var:attack8}}', '{{#var:attack9}}', '{{#var:attack10}}', '{{#var:attack11}}', '{{#var:attack12}}') {{#if: {{{type|}}}| and SSBU_MoveData.type="{{{type|}}}" |}} |
||
|group by= |
|group by= SSBU_MoveData__hitboxes._value |
||
|order by=_ID, |
|order by=_ID,SSBU_MoveData__hitboxes._position |
||
|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 |
||
Line 43: | Line 43: | ||
<div class="attack-info"><!-- |
<div class="attack-info"><!-- |
||
----------------------- displays the listed fields in the table portion of the move card ----------------------- |
----------------------- displays the listed fields in the table portion of the move card ----------------------- |
||
------ If the move is a single |
------ If the move is a single attack with multiple versions, use the |hit arg to show hit names ------ |
||
--> |
--> |
||
{| class="wikitable attack-data" |
|||
⚫ | |||
{{AttackDataHeader-SSBU|version={{{specificHits|}}}}} |
|||
|fields=input,damage,active,faf,angle,safety,invuln |
|||
|- |
|||
⚫ | |where=chara=" |
||
⚫ | |||
|fields={{#if:{{#var:attack2}} {{{specificHits|}}} |name,|}}damage,active,total,angle,safety,hitboxEffect,protection |
|||
⚫ | |where=chara="{{#var:MoveCardTargetChara}}" and attack in ('{{#var:attack1}}', '{{#var:attack2}}', '{{#var:attack3}}', '{{#var:attack4}}', '{{#var:attack5}}', '{{#var:attack6}}', '{{#var:attack7}}', '{{#var:attack8}}', '{{#var:attack9}}', '{{#var:attack10}}', '{{#var:attack11}}', '{{#var:attack12}}') {{#if: {{{type|}}}| and SSBU_MoveData.type="{{{type|}}}" |}} |
||
|format=template|template=AttackData-SSBU|named args=yes|order by=_ID |
|||
|delimiter=\n{{!}}-\n |
|||
}} |
}} |
||
|} |
|||
<!----------------------- this is where the body of the move card is written. ---------------------------> |
<!----------------------- 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 |
{{{description|Add a description to this move using the <code><nowiki>|description=</nowiki></code> field |
||
Line 55: | Line 61: | ||
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 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.}}} |
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 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.}}} |
||
<div class="mw-collapsible mw-collapsed additional-data-section" data-expandtext="Show Additional Data" data-collapsetext="Hide Additional Data" style="width: 100%; max-width: 1920px; padding-top: 5px;margin:1em 0"> |
|||
</div></div></includeonly> |
|||
<br style="clear:both;"/> |
|||
<span class="mw-collapsible-toggle" style="width: 100%"/> |
|||
{| class="wikitable" style="text-align: center; width: 95%" |
|||
{{AdditionalDataHeader-SSBU|version={{{specificHits|}}}}} |
|||
|- |
|||
{{#cargo_query:tables=SSBU_MoveData |
|||
|fields={{#if:{{#var:attack2}} {{{specificHits|}}} |name,|}}autocancel,kbBase,kbFixed,kbGrow,stun,shieldLag,shieldDamage,landlag,hitboxDirect,clangRebound,rehit,hitlagMulti,sdiMulti |
|||
|where=chara="{{#var:MoveCardTargetChara}}" and attack in ('{{#var:attack1}}', '{{#var:attack2}}', '{{#var:attack3}}', '{{#var:attack4}}', '{{#var:attack5}}', '{{#var:attack6}}', '{{#var:attack7}}', '{{#var:attack8}}', '{{#var:attack9}}', '{{#var:attack10}}', '{{#var:attack11}}', '{{#var:attack12}}') {{#if: {{{type|}}}| and SSBU_MoveData.type="{{{type|}}}" |}} |
|||
|format=template|template=AdditionalData-SSBU|named args=yes|order by=_ID |
|||
|delimiter=\n{{!}}-\n |
|||
}} |
|||
|} |
|||
{{#cargo_query:tables=SSBU_MoveData |
|||
|fields={{#if:{{#var:attack2}} {{{specificHits|}}} |name,|}}notes |
|||
|where=chara="{{#var:MoveCardTargetChara}}" and attack in ('{{#var:attack1}}', '{{#var:attack2}}', '{{#var:attack3}}', '{{#var:attack4}}', '{{#var:attack5}}', '{{#var:attack6}}', '{{#var:attack7}}', '{{#var:attack8}}', '{{#var:attack9}}', '{{#var:attack10}}', '{{#var:attack11}}', '{{#var:attack12}}') {{#if: {{{type|}}}| and SSBU_MoveData.type="{{{type|}}}" |}} and notes HOLDS LIKE "%" |
|||
|format=template|template=Cargo_Notes|named args=yes|order by=_ID|delimiter=<br/> |
|||
|default= |
|||
}}</div></div></div><templatestyles src="MoveCard/shared/styles.css" /></includeonly> |
|||
<noinclude>{{doc}}</noinclude> |
Latest revision as of 15:00, 16 August 2023
Template DocumentationEdit This Documentation
This template was originally made by Tarkus Lee from Dustloop Wiki.
This documentation is automatically transcluded from Template:SSBU Move Card/Documentation and is not included when this page is transcluded.
This documentation is automatically transcluded from Template:SSBU Move Card/Documentation and is not included when this page is transcluded.