-The Dream Cancel Wiki has successfully upgraded it's wiki software and editing has returned. Tables for data have returned.
Template:FrameDataCargo-KOF98FE/Documentation: Difference between revisions
Jump to navigation
Jump to search
Franck Frost (talk | contribs) No edit summary |
Franck Frost (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
* The move(s)' Id(s), <u>'''moveId'''</u> from which the template will extract the data needed for the table. Up to 10 move Ids are supported. | * The move(s)' Id(s), <u>'''moveId'''</u> from which the template will extract the data needed for the table. Up to 10 move Ids are supported. | ||
: Multiple ids should be separated by commas | : Multiple ids should be separated by commas, the template will gather and display images, hitboxes and data for all moves in their given "orderId"s as they were stored in the cargo table. | ||
: ''Note that image/hitbox files of the same name will only be displayed once, at their first iteration.'' | : ''Note that image/hitbox files of the same name will only be displayed once, at their first iteration.'' | ||
Line 31: | Line 31: | ||
* All images and hitboxes are displayed in '''175x250px and centered''' (<nowiki>[[File:x.png|175x250px|center]]</nowiki>). You can change that by writing your preferred options separated by commas on the <u>'''display'''</u> parameter. The default display parameter would be {{DocParam|display |175x250px,center}}. | * All images and hitboxes are displayed in '''175x250px and centered''' (<nowiki>[[File:x.png|175x250px|center]]</nowiki>). You can change that by writing your preferred options separated by commas on the <u>'''display'''</u> parameter. The default display parameter would be {{DocParam|display |175x250px,center}}. | ||
:* To add captions to images and hitboxes use the <u>'''captions'''</u> parameter to write one or multiple captions separated by commas. The first caption will go under the first image/hitbox, the 2nd caption under the 2nd image/hitbox and so on. | :* To add captions to images and hitboxes use the <u>'''captions'''</u> parameter to write one or multiple captions separated by commas. The first caption will go under the first image/hitbox, the 2nd caption under the 2nd image/hitbox and so on. | ||
:* To add captions only to images or hitboxes, use the <u>'''imageCaptions'''</u> or <u>'''hitboxCaptions'''</u> respectively. Same as above, captions separated by commas and in order. | |||
* All images and hitboxes are gathered directly from the [[Special:CargoTables/MoveData_KOF98FE|MoveData_KOF98FE]] Cargo storage table but the user can enter them manually if preferred using an <u>'''image'''</u> and/or <u>'''hitbox'''</u> parameter. You can also add image2/hitbox2 up to image10/hitbox10 parameters. | * All images and hitboxes are gathered directly from the [[Special:CargoTables/MoveData_KOF98FE|MoveData_KOF98FE]] Cargo storage table but the user can enter them manually if preferred using an <u>'''image'''</u> and/or <u>'''hitbox'''</u> parameter. You can also add image2/hitbox2 up to image10/hitbox10 parameters. | ||
:* Doing this disables the display parameter. However you can then change an image/hitbox's display size with <u>'''imageSize'''</u> and/or <u>'''hitboxSize'''</u> keeping the same additional imageSize2 and/or hitboxSize2 up to the 10th parameter for each image/hitbox. | :* Doing this disables the display parameter. However you can then change an image/hitbox's display size with <u>'''imageSize'''</u> and/or <u>'''hitboxSize'''</u> keeping the same additional imageSize2 and/or hitboxSize2 up to the 10th parameter for each image/hitbox. | ||
:* Doing this disables the | :* Doing this disables the captions parameter. However you can then add a caption to an image/hitbox with respectively <u>'''captionIma/captionHit'''</u> keeping the same additional captionIma2/captionHit2 up to captionIma10/captionHit10 for each image/hitbox. | ||
Latest revision as of 09:57, 24 July 2024
{{FrameDataCargo-KOF98FE | moveId = | description = | phases = }}
Usage
This template provides a direct and simple way to display the data stored in the MoveData_KOF98FE cargo table via Template:MoveData-KOF98FE. It uses Template:FrameData-KOF98FE for moves, Template:CharData-KOF98FE for a char's basic action, with data gotten via Template:FrameData-KOF98FE/Query and is based on the Template:MoveData format.
Main Parameters
- The move(s)' Id(s), moveId from which the template will extract the data needed for the table. Up to 10 move Ids are supported.
- Multiple ids should be separated by commas, the template will gather and display images, hitboxes and data for all moves in their given "orderId"s as they were stored in the cargo table.
- Note that image/hitbox files of the same name will only be displayed once, at their first iteration.
- A description to write in the table under the first move's data.
- Use extra parameters description2 up to description10 for descriptions under the 2nd up to 10th move's data.
- Filling phases will create an extra tab of that name next to description. It should be used to display and occasionally describe interesting changes in the first move's hitboxes.
- Use extra parameters phases2 up to phases10 to make a phases tab next to the 2nd up to 10th move's description.
Secondary Parameters
Secondary parameters are mainly used to change default options depending on the situation's needs.
- The table will use the first move's name and input(s) which may not be what you want. In that case, you can use the name, input and/or input2 parameters for the table to use instead.
- Images and hitboxes will be automatically displayed under "Images" and "Hitboxes" tabbers respectively. Use tab1 and tab2 to provide different names for said tabbers.
- Tabbers disable the auto-resize function of the image block, thus introducing bothersome sliders for bigger images, instead of stretching the block. Use size to forcibly change the size of the image block. Size preferably written in % (like 20%) or em but px values are accepted.
- All images and hitboxes are displayed in 175x250px and centered ([[File:x.png|175x250px|center]]). You can change that by writing your preferred options separated by commas on the display parameter. The default display parameter would be
|display =175x250px,center
.
- To add captions to images and hitboxes use the captions parameter to write one or multiple captions separated by commas. The first caption will go under the first image/hitbox, the 2nd caption under the 2nd image/hitbox and so on.
- To add captions only to images or hitboxes, use the imageCaptions or hitboxCaptions respectively. Same as above, captions separated by commas and in order.
- All images and hitboxes are gathered directly from the MoveData_KOF98FE Cargo storage table but the user can enter them manually if preferred using an image and/or hitbox parameter. You can also add image2/hitbox2 up to image10/hitbox10 parameters.
- Doing this disables the display parameter. However you can then change an image/hitbox's display size with imageSize and/or hitboxSize keeping the same additional imageSize2 and/or hitboxSize2 up to the 10th parameter for each image/hitbox.
- Doing this disables the captions parameter. However you can then add a caption to an image/hitbox with respectively captionIma/captionHit keeping the same additional captionIma2/captionHit2 up to captionIma10/captionHit10 for each image/hitbox.
Examples
- Case 1: Simple table with one move and no secondary parameters. Find more examples here.
stand A
st.A
A
|
---|
Source
{{FrameDataCargo-KOF98FE |moveId=joe_sta |description= <br> Standard jab. Can be used to stop hops, but good timing is required, as it only has 2 active frames. Whiffs on low crouchers.<br> <br> * Cancelable on hit/whiff. * Chains into every lights but cl.A/B. |phases= <gallery mode=packed-hover heights=140px> File:98FE_Joe_st.A_1.png|'''Startup''' File:98FE_Joe_st.A_2.png|'''Active''' </gallery> }}