Difference between revisions of "Template:Status extended infobox"
Jump to navigation
Jump to search
Line 151: | Line 151: | ||
|searchlabel= | |searchlabel= | ||
}} | }} | ||
}} | }}<table id="status{{#var:statusnumber}}" class="status-preview-infobox status-{{#replace:{{#var:status type|{{{type|}}}}}| |-}}" style="{{#ifeq:{{{floats|true}}}|true|float: right;}}"> | ||
<tr> | <tr> | ||
<th colspan="4">{{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_status/icon_status_{{lc:{{{filename|}}}}}.png}}}}{{Tooltip|{{{en name|{{{jp name|???}}}}}}|{{{jp name|}}}}}</th> | <th colspan="4">{{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_status/icon_status_{{lc:{{{filename|}}}}}.png}}}}{{Tooltip|{{{en name|{{{jp name|???}}}}}}|{{{jp name|}}}}}</th> | ||
Line 267: | Line 267: | ||
</tr> | </tr> | ||
| [[Category:Unused status]]}} | | [[Category:Unused status]]}} | ||
</table | </table> | ||
</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> | </includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> |
Revision as of 22:31, 11 April 2021
Description
This templates creates an infobox for a status effect, as well as a status effect subobject.
Usage
To invoke the template, simply write{{#masterdata:Status|<id>}}
Where <id> is the ID of the status.
Additional variables can also be declared to alter the infobox.
Variables
- status en name - English name of the status. This name will usually be the one that's going to be displayed by other templates.
- status en note - a description of the status. This description will also be displayed via Template:Status.
- status tags - tags for the status. Among other uses, they determine where the status will appear in the navbox. Full list is below.
Status tags
- ATK Up
- DEF Up
- Status-related
- Increase CP
- Conditional
- Affinity Burst
- Increase HP
- Proc rate up
- Weapon change
- DEF Down
- Decrease CP
- Decrease HP
- Proc rate down
- Lock movement
- Skill acquisition
- Extra stack (to prevent extra stackable statuses from polluting the navbox)
- Other (default)
Usability
In order for the declared status to be declared as usable (and visible in the status navbox), there must be a /Used Skills page for a status, with the prefix matching the status English name. If done correctly, a link to the page will show up at the bottom of the infobox.
Examples
{{#vardefine:status en name|Acceleration}} {{#vardefine:status tags|Increase CP}} {{#vardefine:status en note|+8CP/turn for 3 turns}} {{#masterdata:Status|35}}
Acceleration加速 | |||
---|---|---|---|
Notes | Gain CP each turn | ||
Description | +8CP/turn for 3 turns | ||
Duration | 3 | ||
Tags | Increase CP | ||
Base Value | Maximum Value | ||
CP Added | 8 | ||
Used Skills |
The above documentation is transcluded from Template:Status extended infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |