-The Dream Cancel Wiki has successfully upgraded it's wiki software and editing has returned. Tables for data have returned.
Template:MoveData/Documentation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Removed references to all enhancements to the MoveData template by SageVarq |
||
Line 4: | Line 4: | ||
===Template Parameters=== | ===Template Parameters=== | ||
*'''name''': Attack name, in English when a localization is available. Will use "input" instead if omitted. | *'''name''': Attack name, in English when a localization is available. Will use "input" instead if omitted. | ||
*'''input''': Attack input, | *'''input''': Attack input, written in the [[Help:Notation|Notation]] agreed upon by the editors. | ||
*'''image''': Filename of the image used to depict the attack, automatically resized to '''175x250px'''. Use .png files when possible. | *'''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. | :'''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''': 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. | *'''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=). | :'''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-SNKH]] or [[Template:AttackData-RBFF2]]). See the source code on the examples below on how they are typically used. | |||
*'''data''': Field where the game-specific data templates go (like [[Template:AttackData- | |||
===Optional Parameters=== | ===Optional Parameters=== | ||
*''' | *'''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. | |||
*''' | |||
*'''imageSize''': Used to override the default image size. Need to specify in pixel width and pixel height (e.g.: 175x250px). | *'''imageSize''': Used to override the default image size. Need to specify in pixel width and pixel height (e.g.: 175x250px). |
Revision as of 02:22, 9 May 2021
The goal behind {{MoveData}}
is to unify normal and special movelist entries used on character pages across Dream Cancel Wiki. 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, written in the Notation agreed upon by the editors.
- 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: 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=).
- data: Field where the game-specific data templates go (like Template:AttackData-SNKH or Template:AttackData-RBFF2). See the source code on the examples below on how they are typically used.
Optional Parameters
- 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.
- imageSize: Used to override the default image size. Need to specify in pixel width and pixel height (e.g.: 175x250px).