Template:BBTag Move Card: Difference between revisions

Template page
(Created page with "<includeonly><!--------------------------- defaults the character to the subpagename --------------------------- -->{{#vardefine:MoveCardTargetChara|{{{chara|{{SUBPAGENAME}}}}...")
 
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 36: Line 36:
----------------------- 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 input with multiple versions, use the |versioned arg to show version names ------
------ If the move is a single input with multiple versions, use the |versioned arg to show version names ------
-->{{#cargo_query:tables=MoveData_BBTag
-->
<table class="moveTable">
{{#cargo_query:tables=MoveData_BBTag
|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
|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_BBTag.type="{{{type|}}}" |}}
|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_BBTag.type="{{{type|}}}" |}}
|format=table|named args=yes|order by=_ID
|format=table|named args=yes|order by=_ID
}}<!--------------------------- this is where the body of the move card is written. --------------------------->
}}
</table><!------------------ Frame chart, if any -------------------------------------------
--------------------- if it's set to `auto` then try to draw it automatically  -------
-->{{#ifeq:{{{frameChart|}}}|auto|<!--
-->{{#if:{{#var:input1}}| {{#invoke:BBTAG-FrameChart|drawFrameData|chara={{#var:MoveCardTargetChara}}|input={{#var:input1}}}} }}<!--
-->{{#if:{{#var:input2}}| {{#invoke:BBTAG-FrameChart|drawFrameData|chara={{#var:MoveCardTargetChara}}|input={{#var:input2}}}} }}<!--
-->{{#if:{{#var:input3}}| {{#invoke:BBTAG-FrameChart|drawFrameData|chara={{#var:MoveCardTargetChara}}|input={{#var:input3}}}} }}<!--
-->{{#if:{{#var:input4}}| {{#invoke:BBTAG-FrameChart|drawFrameData|chara={{#var:MoveCardTargetChara}}|input={{#var:input4}}}} }}<!--
-->{{#if:{{#var:input5}}| {{#invoke:BBTAG-FrameChart|drawFrameData|chara={{#var:MoveCardTargetChara}}|input={{#var:input5}}}} }}<!--
-->{{#if:{{#var:input6}}| {{#invoke:BBTAG-FrameChart|drawFrameData|chara={{#var:MoveCardTargetChara}}|input={{#var:input6}}}} }}<!--
----- else, use the supplied text as is---
-->|{{{frameChart|}}} }}<!--
----------------------- this is where the body of the move card is written. --------------------------->
<div class="attack-info-body">
{{{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 49: Line 64:
<div class="mw-collapsible mw-collapsed" data-expandtext="Show Stats for Nerds" data-collapsetext="Hide Additional Data" style="width: 100%; max-width: 1080px;">
<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_BBTag
{{#cargo_query:tables=MoveData_BBTag
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=Version,|}}starter=Starter Rating,level=Level,p1=P1,p2=P2,onODR=On-ODR,cancelTiming=Cancel Timing
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=Version,|}}level=Level,p1=P1,p2=P2
|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_BBTag.type="{{{type|}}}" |}}
|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_BBTag.type="{{{type|}}}" |}}
|format=table|named args=yes|order by=_ID
|format=table|named args=yes|order by=_ID
}}
}}
{{#cargo_query:tables=MoveData_BBTag
{{#cargo_query:tables=MoveData_BBTag
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=Version,|}}notes
|fields={{#if:{{#var:input2}} {{{versioned|}}} |input=name,|}}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_BBTag.type="{{{type|}}}" |}}
|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_BBTag.type="{{{type|}}}" |}}
|format=ul|named args=yes|order by=_ID
|format=template|template=Cargo_Notes|named args=yes|order by=_ID|delimiter=<br/>
}}</div></div></div></includeonly><noinclude>{{clear}}{{doc}}</noinclude>
}}</div></div></div></div><templatestyles src="Template:Move Card/shared/styles.css" /></includeonly><noinclude>{{clear}}{{doc}}</noinclude>

Latest revision as of 06:41, 23 March 2024

Automatically creates a query for cargo based on the current character page when given an input.

Params:

  chara     (OPTIONAL) = defines the character the move card is for. If left blank, uses the current character page.
  input                = a comma separated list of the inputs used for a move and its versions as they appear in cargo
  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
  type      (OPTIONAL) = uses the cargo "type" field to help specify a desired move when multiple moves overlap inputs. 
  description          = a text description of the move

This is a test page for practicing move card generation

Examples

1 inputs 1 versions

Damage Guard Startup Active Recovery On-Block Attribute Invuln
1700 All 15 4 18 -3 B

test description

Level P1 P2
4 100 80

2 inputs 2 versions

Version Damage Guard Startup Active Recovery On-Block Attribute Invuln
236A 0, 3500 Air Unblockable 16 4 19 T 4~15 H
236B 0, 3500 Air Unblockable 29 4~46 23 T 5~34 H

Add a description to this move using the |description= 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.

Version Level P1 P2
236A 0, 4 90 100,60
236B 0, 4 90 100, 60

236A:
236B: