Difference between revisions of "Template:Status extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Added tag display)
Line 268: Line 268:
| [[Category:Unused status]]}}
| [[Category:Unused status]]}}
</table>
</table>
</includeonly></onlyinclude>
</includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude>
== Description ==
 
This templates creates an infobox for a status effect, as well as a status effect subobject using the following properties:
 
== Usage ==
<pre>{{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 =
}}</pre>
 
=== 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 ==
 
<pre>{{Status extended infobox
| id = 41
| en name = Guts
| jp name = 根性
| filename = guts
| duration = 5
| type = buff
| note = HPゼロ時に復活
}}
</pre>
{{Status extended infobox
| id = 41
| en name = Guts
| jp name = 根性
| filename = guts
| duration = 5
| type = Buff
| note = HPゼロ時に復活
}}
 
[[Category:Infobox templates]][[Category:Subobject templates]]

Revision as of 16:47, 26 November 2020

Template documentation[view] [edit] [history] [purge]

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

See: Property:Has 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