Template:MoveData: Difference between revisions
Jump to navigation
Jump to search
(Expanded template documentation) |
m (→Usage) |
||
Line 17: | Line 17: | ||
*'''name''': Attack name, in English when a localization is available. | *'''name''': Attack name, in English when a localization is available. | ||
*'''input''': Attack input, for most of the wikis in {{SITENAME}} this will be written in [[Help:Notation|Numpad Notation]]. | *'''input''': Attack input, for most of the wikis in {{SITENAME}} this will be written in [[Help:Notation|Numpad Notation]]. | ||
*'''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''': 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. | *'''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. | ||
Line 25: | Line 25: | ||
**'''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. | **'''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=== | ===Optional Parameters=== | ||
*'''imageSize''': Used to override the default image size. | *'''imageSize''': Used to override the default image size. Need to specify in pixel width and pixel height (e.g.: 175x250px). | ||
*'''textonly''': If set to "yes", one can get a MoveData template without frame data tables. Not really recommended but the option is there. | *'''textonly''': If set to "yes", one can get a MoveData template without frame data tables. Not really recommended but the option is there. | ||
Revision as of 10:26, 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. Need to specify in pixel width and pixel height (e.g.: 175x250px).
- 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 |
---|