Template:Status Effect: Difference between revisions

From Phantasy Star Universe Clementine
(add none case)
(removed link behaviour on text)
Line 29: Line 29:
|12
|12
|lifesteal
|lifesteal
|hp steal = {{#if:{{{options|}}}|HP Steal{{{options}}}|[[HP Steal]]}}
|hp steal = {{EnumImage|name=HP Steal|options={{{options|link=HP Steal}}}}}
|13
|13
|reflect
|reflect
|damage reflection  
|damage reflection  
|reflect damage = {{#if:{{{options|}}}|Reflect Damage{{{options}}}|[[Reflect Damage]]}}
|reflect damage = {{EnumImage|name=Reflect Damage|options={{{options|link=Reflect Damage}}}}}
|14
|14
|rage
|rage
|hap
|hap
|hp affects pwr
|hp affects pwr
|hp affects power = {{#if:{{{options|}}}|HP Affects Power{{{options}}}|[[HP Affects Power]]}}
|hp affects power = {{EnumImage|name=HP Affects Power|options={{{options|link=HP Affects Power}}}}}
|15
|15
|ad
|ad
|auto damage = {{#if:{{{options|}}}|Auto Damage{{{options}}}|[[Auto Damage]]}}
|auto damage = {{EnumImage|name=Auto Damage|options={{{options|link=Auto Damage}}}}}
|16
|16
|giresta
|giresta
|auto recovery = {{#if:{{{options|}}}|Auto Recovery{{{options}}}|[[Auto Recovery]]}}
|auto recovery = {{EnumImage|name=Auto Recovery|options={{{options|link=Auto Recovery}}}}}
|17
|17
|shifta
|shifta
Line 71: Line 71:
|25
|25
|dizas
|dizas
|reduce physical damage
|reduce physical damage  
|reduce phys. damage = {{#if:{{{options|}}}|Reduce Physical Damage{{{options}}}|[[Status_Effects#Reduce_Physical_Damage|Reduce Physical Damage]]}}
|reduce phys. damage = {{EnumImage|name=Reduce Physical Damage|options={{{options|link=Status_Effects#Reduce_Physical_Damage}}}}}
|26
|26
|rentis
|rentis
|reduce technic damage
|reduce technic damage
|reduce tech. damage = {{#if:{{{options|}}}|Reduce TECHNIC Damage{{{options}}}|[[Status_Effects#Reduce_TECHNIC_Damage|Reduce TECHNIC Damage]]}}
|reduce tech. damage = {{EnumImage|name=Reduce TECHNIC Damage|options={{{options|link=Status_Effects#Reduce_TECHNIC_Damage}}}}}
|#default = None
|#default = None
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 85: Line 85:
{{Status Effect
{{Status Effect
|          <!-- Anonymous parameter. The desired status or id, case insensitive. Invalid strings will display "None". If there is no image for the status, the image is disabled. -->
|          <!-- Anonymous parameter. The desired status or id, case insensitive. Invalid strings will display "None". If there is no image for the status, the image is disabled. -->
|options  <!-- The desired options. If options aren't provided, the link on the image or text redirects to their article. -->
|options  <!-- The desired options. If options aren't provided, the link on the image redirects to their article. By default, the text strings do not link. -->
|text only <!-- Whether only the text should appear. -->
|text only <!-- Whether only the text should appear. -->
}}
}}
Line 202: Line 202:
<pre>{{Status Effect|dizas}}</pre>
<pre>{{Status Effect|dizas}}</pre>
{{Status Effect|dizas}}
{{Status Effect|dizas}}
==="dizas" with no link hack===
<pre>{{Status Effect|dizas|options=<nowiki> </nowiki>}}</pre>
{{Status Effect|dizas|options=<nowiki> </nowiki>}}
===24, options="18px"===
===24, options="18px"===
<pre>{{Status Effect|24|options=18px}}</pre>
<pre>{{Status Effect|24|options=18px}}</pre>

Revision as of 00:59, 19 January 2024

Purpose

Shortcut template for all status effects.

Parameter List

{{Status Effect
|          <!-- Anonymous parameter. The desired status or id, case insensitive. Invalid strings will display "None". If there is no image for the status, the image is disabled. -->
|options   <!-- The desired options. If options aren't provided, the link on the image redirects to their article. By default, the text strings do not link. -->
|text only <!-- Whether only the text should appear. -->
}}

For statuses, the valid list of strings, case insensitive, are:

Burn
  • 1
  • burn
Poison
  • 2
  • poison
Infection
  • 3
  • virus
  • infect
  • infection
Shock
  • 4
  • shock
Silence
  • 5
  • silence
Freeze
  • 6
  • freeze
Sleep
  • 7
  • sleep
Stun
  • 8
  • stun
Confuse
  • 9
  • confusion
  • confuse
Charm
  • 10
  • charm
Incapacitation
  • 11
  • incap
  • incapacitate
  • incapacitation
HP Steal
  • 12
  • lifesteal
  • hp steal
Reflect Damage
  • 13
  • reflect
  • damage reflection
  • reflect damage
HP Affects Power
  • 14
  • rage
  • hap
  • hp affects pwr
  • hp affects power
Auto Damage
  • 15
  • ad
  • auto damage
Auto Recovery
  • 16
  • giresta
  • auto recovery
Boost ATP
  • 17
  • shifta
  • boost atp
Lower ATP
  • 18
  • jellen
  • lower atp
Boost DFP
  • 19
  • deband
  • boost dfp
Lower DFP
  • 20
  • zalure
  • lower dfp
Boost TP/MST
  • 21
  • retier
  • boost tp/mst
Lower TP/MST
  • 22
  • rendeel
  • lower tp/mst
Boost ATA/EVP
  • 23
  • zodial
  • boost ata/evp
Lower ATA/EVP
  • 24
  • zondeel
  • lower ata/evp
Reduce Physical Damage
  • 25
  • dizas
  • reduce physical damage
  • reduce phys. damage
Reduce TECHNIC Damage
  • 26
  • rentis
  • reduce technic damage
  • reduce tech. damage

For image options, a guide on syntax can be found here: [1]

Examples

24

{{Status Effect|24}}

Lower ATA/EVP

"dizas"

{{Status Effect|dizas}}

Reduce Physical Damage

24, options="18px"

{{Status Effect|24|options=18px}}

Lower ATA/EVP

24, text only="1"

{{Status Effect|24|text only=1}}

Lower ATA/EVP

e

{{Status Effect|e}}

None