Template:MoveData: Difference between revisions

From Mizuumi Wiki
Jump to navigation Jump to search
(Added example on how to use the template)
(Expanded template documentation)
Line 9: Line 9:
|}
|}
<noinclude>
<noinclude>
__NOTOC__
''Credits to Koozebanian Fazoob and Shtkn from Dustloop Wiki for writing [http://www.dustloop.com/wiki/index.php?title=Template:MoveData the original template] from which we based this version.''
==Usage==
==Usage==
MoveData is used in conjunction with AttackData or FrameData templates to make character pages
The goal behind '''MoveData''' is to unify normal and special movelist entries used on character pages across Mizuumi. To achieve that, this template works as a "tree trunk" with the game-specific ''AttackData-GameName'' and ''AttackDataHeader-GameName'' templates being the branches and leaves respectively.
;List of Parameters and Usage
 
*'''name:''' Name of the attack
===Template Parameters===
*'''input:''' the input for the attack
*'''name''': Attack name, in English when a localization is available.
*'''image:''' the image you want to use
*'''input''': Attack input, for most of the wikis in {{SITENAME}} this will be written in [[Help:Notation|Numpad Notation]].
*'''caption:''' the caption you want under the image
*'''image''': Filename of the image used to depict the attack, automatically resized to 175x250px. Use .png files when possible.
*'''imageSize:''' size of the image. Format is '''175x250px''' = 175 pixel width and 250 pixel height. 175x250px is default if no value entered.
:'''Note''': Adding a parameter called "image2" will add a second image right under the first one. This is useful for multiple hit, rekka, or stance attacks. The template supports up to 10 images.
*you can have up to 10 images/captions/sizes this way with the variables '''image2''' - '''image10''' and '''caption2''' - '''caption10'''
*'''caption''': Image caption. You may add Japanese/Romaji move names, important notes, or even a funny remark to break the monotony from reading frame data. This is entirely up to the editors.
*'''textonly:''' set this to "yes" to make a MoveData template without frame data tables.
:'''Note''': Similar to the image parameter, the caption parameter supports up to 10 captions (e.g.: caption=, caption2=, ..., caption10=).
*'''data:''' this is where the data template goes (like [[Template:AttackData-KERRR]] or [[Template:AttackData-MAAB]])
*'''data''': Field where the game-specific data templates go (like [[Template:AttackData-KERRR]] or [[Template:AttackData-MAAB]]). See the source code on the example below on how it is typically used.
**'''version:''' Attack Data templates have a version variable that are useful for attacks that have different versions, such as air and ground versions of the same attack. See the second example below.
**'''version''': Most AttackData templates have a version variable which is used for air vs ground version of the same attack, EX versions, and more. '''This is usually defined at the beginning of the move to avoid including extra versions later!'''
**'''header:''' Attack Data templates can opt to not show the header. This is useful for having multiple rows of data. See the second and third examples below for an example of each case.
**'''header''': Usually used in conjunction with the version parameter. By setting it to "no", you can hide the main header. This is useful for having multiple rows of data.
===Optional Parameters===
*'''imageSize''': Used to override the default image size. Format is '''175x250px''' = 175 pixel width and 250 pixel height. 175x250px is default if no value entered.
*'''textonly''': If set to "yes", one can get a MoveData template without frame data tables. Not really recommended but the option is there.


==Example==
==Example==
The attack below makes use of several concepts described in the previous section. Please look at its source code for more information.
{{MoveData
{{MoveData
|image=Koihime_Kanu_DragonWrath.png
|image=Koihime_Kanu_DragonWrath.png
|caption=
|caption=Normal version
|image2=Koihime_Kanu_DragonWrathEX.png
|image2=Koihime_Kanu_DragonWrathEX.png
|caption2=
|caption2=EX version
|name=Green Dragon Wrath
|name=Green Dragon Wrath
|input=214A/B/C
|input=214A/B/C

Revision as of 10:00, 23 July 2019

{{{name}}}


Credits to Koozebanian Fazoob and Shtkn from Dustloop Wiki for writing the original template from which we based this version.

Usage

The goal behind MoveData is to unify normal and special movelist entries used on character pages across Mizuumi. To achieve that, this template works as a "tree trunk" with the game-specific AttackData-GameName and AttackDataHeader-GameName templates being the branches and leaves respectively.

Template Parameters

  • name: Attack name, in English when a localization is available.
  • input: Attack input, for most of the wikis in Mizuumi Wiki this will be written in Numpad Notation.
  • image: Filename of the image used to depict the attack, automatically resized to 175x250px. Use .png files when possible.
Note: Adding a parameter called "image2" will add a second image right under the first one. This is useful for multiple hit, rekka, or stance attacks. The template supports up to 10 images.
  • caption: Image caption. You may add Japanese/Romaji move names, important notes, or even a funny remark to break the monotony from reading frame data. This is entirely up to the editors.
Note: Similar to the image parameter, the caption parameter supports up to 10 captions (e.g.: caption=, caption2=, ..., caption10=).
  • data: Field where the game-specific data templates go (like Template:AttackData-KERRR or Template:AttackData-MAAB). See the source code on the example below on how it is typically used.
    • version: Most AttackData templates have a version variable which is used for air vs ground version of the same attack, EX versions, and more. This is usually defined at the beginning of the move to avoid including extra versions later!
    • header: Usually used in conjunction with the version parameter. By setting it to "no", you can hide the main header. This is useful for having multiple rows of data.

Optional Parameters

  • imageSize: Used to override the default image size. Format is 175x250px = 175 pixel width and 250 pixel height. 175x250px is default if no value entered.
  • textonly: If set to "yes", one can get a MoveData template without frame data tables. Not really recommended but the option is there.

Example

The attack below makes use of several concepts described in the previous section. Please look at its source code for more information.

Green Dragon Wrath
214A/B/C Normal version EX version
Version Damage Guard Startup Active Recovery Adv on Hit Adv on Block Counter-hit Attribute
Normal 90 Low-Mid 24 3 28 +6 -12 Floor Bounce

Overhead with very obvious animation: Jumping downward lunge that moves towards opponent. Projectile invulnerable startup and punishable on standing block but guard crushes on low block for slight frame advantage. Causes Special Down on counter-hit and ground bounces during Hougeki. All versions have the same startup, but travel different distances - A is point blank, C travels the furthest.

EX 180 Low-Mid 24 2 31 +71 -14 Blow Away

EX version has fully invulnerable startup and knocks down on hit. Does NOT cause Special Down on counter-hit.