Difference between revisions of "Template:Status infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 9: Line 9:
| Has status type = {{{type|}}}
| Has status type = {{{type|}}}
| Has duration = {{{duration|1}}}
| Has duration = {{{duration|1}}}
| Has Englishnote = {{{note|}}}
| Has English note = {{{note|}}}
| Has Japanese note = {{{jp-note|{{{note|}}}}}}
| Has Japanese note = {{{jp-note|{{{note|}}}}}}


Line 91: Line 91:
   <th colspan="4">[[File:{{{filename|}}}.png]] [[{{#var:status subobj|}}|{{{en name|{{{jp name|???}}}}}}]]</th>
   <th colspan="4">[[File:{{{filename|}}}.png]] [[{{#var:status subobj|}}|{{{en name|{{{jp name|???}}}}}}]]</th>
</tr>
</tr>
<tr>
<!--
  <th colspan="2"></th>
  <th colspan="1">Base Value</th>
  <th colspan="1">Maximum Value</th>
</tr><!--
   Notes
   Notes
-->{{#if:{{{notes|}}}|  
-->{{#if:{{{note|}}}|  
<tr>
<tr>
   <th colspan="2">Notes</th>
   <th colspan="2">Notes</th>
   <td coslapn="2">{{{notes|?}}}</td>
   <td coslapn="2">{{{note|?}}}</td>
</tr>
</tr>
}}<!--
}}<!--
Line 109: Line 105:
   <td coslapn="2">{{{duration|?}}}</td>
   <td coslapn="2">{{{duration|?}}}</td>
</tr>
</tr>
}}<!--
}}<tr>
  <th colspan="2"></th>
  <th colspan="1">Base Value</th>
  <th colspan="1">Maximum Value</th>
</tr><!--
   Damage Add
   Damage Add
-->{{#if: {{{damage-add|}}} |  
-->{{#if: {{{damage-add|}}} |  

Revision as of 21:06, 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 =
| 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 = 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.png Guts
Notes HPゼロ時に復活
Duration 5
Base Value Maximum Value