Template:MoveData/Documentation

From Dream Cancel Wiki
< Template:MoveData
Revision as of 02:10, 9 May 2021 by Jotamide (talk | contribs) (Copied from Mizuumi)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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. Will use "input" instead if omitted.
  • input: Attack input, for most of the wikis in Dream Cancel Wiki this will be written in Numpad Notation.
  • subtitle: Text to display below "name", such as a short comment or original Japanese name. (Will display after input if name is omitted)
  • 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.
  • hitbox: Filename of the image used to depict the attack, automatically resized to 175x250px. Use .png files when possible. Requires Javascript.
Note: Adding a parameter called "hitbox2" will add a second image right under the first one, similar to image.
  • caption: Caption to display below the image. You may add important notes or 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=).
  • hitboxCaption: Caption to display below the hitbox, similar to caption. If left empty, will reuse caption. Requires Javascript.
Note: Similar to the caption parameter, the hitboxCaption parameter supports up to 10 captions (e.g.: hitboxCaption=, hitboxCaption2=, ..., hitboxCaption10=).
  • data: Field where the game-specific data templates go (like Template:AttackData-KERRR or Template:AttackData-MAAB). See the source code on the examples below on how they are 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

  • linkname: Set this to either the setion name or equal to an anchor value to allows users to click on the move name to get a link that move. This allows for easier linking to moves.
Note: The section text is case sensitive, and cannot contain spaces. If spaces are needed, use underscores("_") instead.
  • anchor: Used as an alternative to section linking, so that you can link to this specific move. For example, having anchor set to "63214X" will allow a link #63214X to the page to this specific move on the page. This allows for easier linking to moves. It is advised that you use section headings instead, but this is an option.
Note: Similar to image and caption, you are allowed up to 5 usages of anchor by numbering: e.g.: anchor=, anchor2=, ..., anchor5=
Note: The anchor text is case sensitive, and cannot contain spaces. If spaces are needed, use underscores("_") instead.
  • imageSize: Used to override the default image size. Need to specify in pixel width and pixel height (e.g.: 175x250px).