Difference between revisions of "Template:Status extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 153: Line 153:
}}<table id="status{{#var:statusnumber}}" class="status-preview-infobox status-{{#replace:{{#var:status type|{{{type|}}}}}| |-}}" style="{{#ifeq:{{{floats|true}}}|true|float: right;}}">
}}<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|width=100px|{{{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>
</tr><!--
</tr><!--
Status Type-->{{#if:{{#var:status type}}|
Status Type-->{{#if:{{#var:status type}}|
<tr>
<tr>
   <th colspan="2">Type</th>
   <th colspan="2">Type</th>
   <td colspan="2">{{Tooltip|width=800px|{{#var:status type}}|{{#switch:{{#var:status type}}
   <td colspan="2">{{Tooltip|{{#var:status type}}|{{#switch:{{#var:status type}}
|Buff = Affected by statuses related to buffs, e. g. Spread Buffs or Nullify Buff.
|Buff = Affected by statuses related to buffs, e. g. Spread Buffs or Nullify Buff.
|Debuff = Affected by statuses related to debuffs, e. g. Nullify Debuff or Reflect Debuff.
|Debuff = Affected by statuses related to debuffs, e. g. Nullify Debuff or Reflect Debuff.

Revision as of 16:56, 1 September 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
Used Skills