Difference between revisions of "Template:Status extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 7: Line 7:
| Has image = {{{filename|}}}
| Has image = {{{filename|}}}
| Has ID = {{{id|0}}}
| Has ID = {{{id|0}}}
| Has availability = {{#ifexist:{{{en name|}}}/Used Skills|Available|Unused}}
| Has status tags = {{#var:status tags}}|+sep=;
| Has status type = {{#vardefineecho:status type|{{#switch:{{lc:{{{type|none}}}}}
| Has status type = {{#vardefineecho:status type|{{#switch:{{lc:{{{type|none}}}}}
| 0 | none = None
| 0 | none = None
Line 256: Line 258:
}}<!--
}}<!--
   Show related
   Show related
-->{{#ifexist:{{{en name|}}}/Used Skills |
-->{{#ifeq: {{#show:{{#var:status subobj}} | ?Has availability}} | Available |
<tr>
<tr>
   <th colspan="4">[[{{{en name|}}}/Used Skills|Used Skills]]</th>
   <th colspan="4">[[{{{en name|}}}/Used Skills|Used Skills]]</th>

Revision as of 15:18, 30 August 2020

Description

This templates creates an infobox for a status effect, as well as a status effect subobject using the following properties:

Usage

{{Status extended 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 extended infobox
| id = 41
| en name = Guts
| jp name = 根性
| filename = guts
| duration = 5
| type = buff
| note = HPゼロ時に復活
}}
Guts
Notes HPゼロ時に復活
Duration 5
Base Value Maximum Value