Difference between revisions of "Template:Status infobox"
Jump to navigation
Jump to search
Line 89: | Line 89: | ||
}}<table id="status{{#statusnumber}}" class="status-preview-infobox"> | }}<table id="status{{#statusnumber}}" class="status-preview-infobox"> | ||
<tr> | <tr> | ||
<th colspan=" | <th colspan="4">[[File:{{{filename|}}}.png]] [[{{#var:status subobj|}}|{{{en name|{{{jp name|???}}}}}}]]</th> | ||
</tr> | |||
<tr> | |||
<th colspan="2"></th> | |||
<th colspan="1">Base Value</th> | |||
<th colspan="1">Maximum Value</th> | |||
</tr><!-- | </tr><!-- | ||
Notes | |||
-->{{#if:{{{notes|}}}| | |||
<tr> | |||
<th colspan="2">Notes</th> | |||
<td coslapn="2">{{{notes|?}}}</td> | |||
</tr> | |||
}}<!-- | |||
Duration | Duration | ||
-->{{#if:{{{duration|}}}| | -->{{#if:{{{duration|}}}| | ||
Line 101: | Line 113: | ||
-->{{#if: {{{damage-add|}}} | | -->{{#if: {{{damage-add|}}} | | ||
<tr> | <tr> | ||
<th colspan="2">Additional Damage</th> | <th colspan="2">Additional Damage Dealt</th> | ||
<td coslapn="1">{{{damage-add|?}}}</td> | <td coslapn="1">{{{damage-add|?}}}</td> | ||
<td coslapn="1">Max: {{{damage-add-max|?}}}</td> | <td coslapn="1">Max: {{{damage-add-max|?}}}</td> | ||
Line 109: | Line 121: | ||
-->{{#if: {{{damage-mult|}}} | | -->{{#if: {{{damage-mult|}}} | | ||
<tr> | <tr> | ||
<th colspan="2">Additional Damage</th> | <th colspan="2">Additional Damage Dealt</th> | ||
<td coslapn="1">{{{damage-mult|?}}}%</td> | <td coslapn="1">{{{damage-mult|?}}}%</td> | ||
<td coslapn="1">Max: {{{damage-mult-max|?}}}%</td> | <td coslapn="1">Max: {{{damage-mult-max|?}}}%</td> | ||
</tr> | </tr> | ||
|}}</table> | }}<!-- | ||
Damaged Add | |||
-->{{#if: {{{damaged-add|}}} | | |||
<tr> | |||
<th colspan="2">Additional Damaged Received</th> | |||
<td coslapn="1">{{{damaged-add|?}}}</td> | |||
<td coslapn="1">Max: {{{damaged-add-max|?}}}</td> | |||
</tr> | |||
}}<!-- | |||
Damaged Mult | |||
-->{{#if: {{{damaged-mult|}}} | | |||
<tr> | |||
<th colspan="2">Additional Damage Received</th> | |||
<td coslapn="1">{{{damaged-mult|?}}}%</td> | |||
<td coslapn="1">Max: {{{damaged-mult-max|?}}}%</td> | |||
</tr> | |||
}}<!-- | |||
HP Recovery | |||
-->{{#if: {{{damage-add|}}} | | |||
<tr> | |||
<th colspan="2">HP Recovered</th> | |||
<td coslapn="1">{{{hp-recovery|?}}}</td> | |||
<td coslapn="1">Max: {{{hp-recovery-max|?}}}</td> | |||
</tr> | |||
}}<!-- | |||
CP Add | |||
-->{{#if: {{{cp=add|}}} | | |||
<tr> | |||
<th colspan="2">CP Added</th> | |||
<td coslapn="2">{{{cp=cp-add|?}}}</td> | |||
</tr> | |||
}}<!-- | |||
Rate Up | |||
-->{{#if: {{{rate-up|}}} | | |||
<tr> | |||
<th colspan="2">Skill Proc Rate Up</th> | |||
<td coslapn="2">{{{rate-up|?}}}</td> | |||
</tr> | |||
}}<!-- | |||
Locks | |||
-->{{#if: {{{locks|}}} | | |||
<tr> | |||
<th colspan="2">Unit Restrictions</th> | |||
<td coslapn="2">{{{locks|?}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Description == | == Description == |
Revision as of 21:01, 13 November 2018
Description
This templates creates an infobox for a status effect, as well as a status effect subobject using the following properties:
Usage
{{Status infobox | id = | en name = | jp name = | filename = | duration = | damage-add = | damage-add-max = | damage-mult = | damage-mult-max = | damaged-add = | damaged-add-max = | damaged_mult = | damaged_mult_max = | hp-recovery = | hp-recovery-max = | cp-add = | locks = | type = | note = }}
Parameters
- en name
- (Officially localized) English name of the status
- jp-en name
- (Unofficially) translated English name of the status
- jp name
- Original Japanese name of the status
- filename
- Filename the status icon uses
- id
- internal ID used
- type
- Whether this is a buff or a debuff
- duration
- How many turns the status effect persists
- note
- Note that displays when the status effect is added
- jp-note
- Original Japanese for the above
- damage-add
- Additional damage applied when attacking (constant)
- damage-add-max
- Max value for the above
- damage-mult
- Damage multiplier applied when attacking (coefficient)
- damaged-add
- Additional damage applied when attacked (constant)
- damaged-add-max
- Max value for the above
- damage-mult-max
- Max value for the above
- damaged-mult
- Damage multiplier applied when attacked (coefficient)
- damaged-mult-max
- Max value for the above
- hp-recovery
- HP recovered at end turn
- hp-recovery-max
- Max value for the above
- cp-add
- CP recovered at end turn
- rate-add
- Max value for the above
- locks
- Restrictions applied to unit. These include: movement, attack, skill, CS, blowback
Examples
{{Status infobox | filename = Guts | id = 41 | en name = Guts | jp name = 根性 | filename = guts | duration = 5 | damage-add = 0 | damage-add-max = 0 | damage-mult = 100 | damage-mult-max = 0 | damaged-add = 0 | damaged-add-max = 0 | damaged_mult = 100 | damaged_mult_max = 0 | hp-recovery = | hp-recovery-max = | cp-add = | locks = | type = buff | note = HPゼロ時に復活 }}
"buff" is not in the list (Buff, Debuff, None, Irremovable Buff, Irremovable Debuff, Special Status id 3, Special Status id 4) of allowed values for the "Has status type" property.
Guts | |||
---|---|---|---|
Base Value | Maximum Value | ||
Duration | 5 | ||
Additional Damage Dealt | 0 | Max: 0 | |
Additional Damage Dealt | 100% | Max: 0% | |
Additional Damaged Received | 0 | Max: 0 | |
HP Recovered | Max: |