Template:Status Effect: Difference between revisions

From Phantasy Star Universe Clementine
(add none case)
(update se list)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<includeonly>{{#switch: {{lc:{{{1|}}}}}
|1
|1
|burn = {{EnumImage|image={{#if: {{{text only|}}}||Burn.gif}}|name=Burn|options={{{options|link=Burn}}}}}
|burn = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Burn{{{options}}}|[[Burn]]}} | {{EnumImage|image=Burn.gif|name=Burn|options={{{options|link=Burn}}}}}}}  
|2
|2
|poison = {{EnumImage|image={{#if: {{{text only|}}}||Poison.gif}}|name=Poison|options={{{options|link=Poison}}}}}
|poison = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Poison{{{options}}}|[[Poison]]}} | {{EnumImage|image=Poison.gif|name=Poison|options={{{options|link=Poison}}}}}}}  
|3
|3
|virus
|virus
|infect
|infect
|infection = {{EnumImage|image={{#if: {{{text only|}}}||Infection.gif}}|name=Infection|options={{{options|link=Infection}}}}}
|infection = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Infection{{{options}}}|[[Infection]]}} | {{EnumImage|image=Infection.gif|name=Infection|options={{{options|link=Infection}}}}}}}  
|4
|4
|shock = {{EnumImage|image={{#if: {{{text only|}}}||Shock.gif}}|name=Shock|options={{{options|link=Shock}}}}}
|shock = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Shock{{{options}}}|[[Shock]]}} | {{EnumImage|image=Shock.gif|name=Shock|options={{{options|link=Shock}}}}}}}  
|5
|5
|silence = {{EnumImage|image={{#if: {{{text only|}}}||Silence.gif}}|name=Silence|options={{{options|link=Silence}}}}}
|silence = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Silence{{{options}}}|[[Silence]]}} | {{EnumImage|image=Silence.gif|name=Silence|options={{{options|link=Silence}}}}}}}  
|6
|6
|freeze = {{EnumImage|image={{#if: {{{text only|}}}||Freeze.gif}}|name=Freeze|options={{{options|link=Freeze}}}}}
|freeze = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Freeze{{{options}}}|[[Freeze]]}} | {{EnumImage|image=Freeze.gif|name=Freeze|options={{{options|link=Freeze}}}}}}}  
|7
|7
|sleep = {{EnumImage|image={{#if: {{{text only|}}}||Sleep.gif}}|name=Sleep|options={{{options|link=Sleep}}}}}
|sleep = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Sleep{{{options}}}|[[Sleep]]}} | {{EnumImage|image=Sleep.gif|name=Sleep|options={{{options|link=Sleep}}}}}}}  
|8
|8
|stun = {{EnumImage|image={{#if: {{{text only|}}}||Stun.gif}}|name=Stun|options={{{options|link=Stun}}}}}
|stun = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Stun{{{options}}}|[[Stun]]}} | {{EnumImage|image=Stun.gif|name=Stun|options={{{options|link=Stun}}}}}}}  
|9
|9
|confusion
|confusion
|confuse = {{EnumImage|image={{#if: {{{text only|}}}||Confuse}}|name=Confuse|options={{{options|link=Confuse}}}}}
|confuse = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Confuse{{{options}}}|[[Confuse]]}} | {{EnumImage|image=Confuse.gif|name=Confuse|options={{{options|link=Confuse}}}}}}}  
|10
|10
|charm = {{EnumImage|image={{#if: {{{text only|}}}||Charm.gif}}|name=Charm|options={{{options|link=Charm}}}}}
|charm = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Charm{{{options}}}|[[Charm]]}} | {{EnumImage|image=Charm.gif|name=Charm|options={{{options|link=Charm}}}}}}}  
|11
|11
|incap
|incap
|incapacitate
|incapacitate
|incapacitation = {{EnumImage|image={{#if: {{{text only|}}}||Incapacitation.gif}}|name=Incapacitation|options={{{options|link=Incapacitation}}}}}
|incapacitation = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Incapacitation{{{options}}}|[[Incapacitation]]}} | {{EnumImage|image=Incapacitation.gif|name=Incapacitation|options={{{options|link=Incapacitation}}}}}}}  
|12
|12
|lifesteal
|lifesteal
Line 47: Line 47:
|17
|17
|shifta
|shifta
|boost atp = {{EnumImage|image={{#if: {{{text only|}}}||ATP Up.gif}}|name=Boost ATP|options={{{options|link=Boost ATP}}}}}
|boost atp = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Boost ATP{{{options}}}|[[Boost ATP]]}} | {{EnumImage|image=ATP Up.gif|name=Boost ATP|options={{{options|link=Boost ATP}}}}}}}  
|18
|18
|jellen
|jellen
|lower atp = {{EnumImage|image={{#if: {{{text only|}}}||ATP Down.gif}}|name=Lower ATP|options={{{options|link=Lower ATP}}}}}
|lower atp = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Lower ATP{{{options}}}|[[Lower ATP]]}} | {{EnumImage|image=ATP Down.gif|name=Lower ATP|options={{{options|link=Lower ATP}}}}}}}  
|19
|19
|deband
|deband
|boost dfp = {{EnumImage|image={{#if: {{{text only|}}}||DFP Up.gif}}|name=Boost DFP|options={{{options|link=Boost DFP}}}}}
|boost dfp = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Boost DFP{{{options}}}|[[Boost DFP]]}} | {{EnumImage|image=DFP Up.gif|name=Boost DFP|options={{{options|link=Boost DFP}}}}}}}  
|20
|20
|zalure
|zalure
|lower dfp = {{EnumImage|image={{#if: {{{text only|}}}||DFP Down.gif}}|name=Lower DFP|options={{{options|link=Lower DFP}}}}}
|lower dfp = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Lower DFP{{{options}}}|[[Lower DFP]]}} | {{EnumImage|image=DFP Down.gif|name=Lower DFP|options={{{options|link=Lower DFP}}}}}}}  
|21
|21
|retier
|retier
|boost tp/mst = {{EnumImage|image={{#if: {{{text only|}}}||TP-MST Up.gif}}|name=Boost TP/MST|options={{{options|link=Boost TP/MST}}}}}
|boost tp/mst = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Boost TP/MST{{{options}}}|[[Boost TP/MST]]}} | {{EnumImage|image=TP-MST Up.gif|name=Boost TP/MST|options={{{options|link=Boost TP/MST}}}}}}}  
|22
|22
|rendeel
|rendeel
|lower tp/mst = {{EnumImage|image={{#if: {{{text only|}}}||TP-MST Down.gif}}|name=Lower TP/MST|options={{{options|link=Lower TP/MST}}}}}
|lower tp/mst = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Lower TP/MST{{{options}}}|[[Lower TP/MST]]}} | {{EnumImage|image=TP-MST Down.gif|name=Lower TP/MST|options={{{options|link=Lower TP/MST}}}}}}}  
|23
|23
|zodial
|zodial
|boost ata/evp = {{EnumImage|image={{#if: {{{text only|}}}||ATA-EVP Up.gif}}|name=Boost ATA/EVP|options={{{options|link=Boost ATA/EVP}}}}}
|boost ata/evp = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Boost ATA/EVP{{{options}}}|[[Boost ATA/EVP]]}} | {{EnumImage|image=ATA-EVP Up.gif|name=Boost ATA/EVP|options={{{options|link=Boost ATA/EVP}}}}}}}  
|24
|24
|zondeel
|zondeel
|lower ata/evp = {{EnumImage|image={{#if: {{{text only|}}}||ATA-EVP Down.gif}}|name=Lower ATA/EVP|options={{{options|link=Lower ATA/EVP}}}}}
|lower ata/evp = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Lower ATA/EVP{{{options}}}|[[Lower ATA/EVP]]}} | {{EnumImage|image=ATA-EVP Down.gif|name=Lower ATA/EVP|options={{{options|link=Lower ATA/EVP}}}}}}}
|25
|25
|sac
|self sacrifice = {{#if:{{{options|}}}|Self Sacrifice{{{options}}}|[[Self Sacrifice]]}}
|26
|boost all = Boost All
|27
|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 = {{#if:{{{options|}}}|Reduce Physical Damage{{{options}}}|[[Status_Effects#Reduce_Physical_Damage|Reduce Physical Damage]]}}
|26
|28
|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 = {{#if:{{{options|}}}|Reduce TECHNIC Damage{{{options}}}|[[Status_Effects#Reduce_TECHNIC_Damage|Reduce TECHNIC Damage]]}}
|29
|slow = {{#if:{{{options|}}}|Slow{{{options}}}|[[Slow]]}}
|30
|trap stun = {{#if:{{{options|}}}|Trap Stun{{{options}}}|[[Trap Stun]]}}
|#default = None
|#default = None
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 84: Line 93:
<pre>
<pre>
{{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, its name will be rendered in its place. -->
|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. -->
|text only <!-- Whether only the text should appear. -->
|text only <!-- Whether only the name of the status should appear. -->
}}
}}
</pre>
</pre>
Line 211: Line 220:
<pre>{{Status Effect|24|text only=1}}</pre>
<pre>{{Status Effect|24|text only=1}}</pre>
{{Status Effect|24|text only=1}}
{{Status Effect|24|text only=1}}
===24, text only="1" w/ no-link hack===
<pre>{{Status Effect|24|text only=1|options=<nowiki> </nowiki>}}</pre>
{{Status Effect|24|text only=1|options=<nowiki> </nowiki>}}
===e===
===e===
<pre>{{Status Effect|e}}</pre>
<pre>{{Status Effect|e}}</pre>
{{Status Effect|e}}
{{Status Effect|e}}
</noinclude>
</noinclude>

Latest revision as of 21:07, 14 May 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, its name will be rendered in its place. -->
|options   <!-- The desired options. If options aren't provided, the link on the image redirects to their article. -->
|text only <!-- Whether only the name of the status 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

"dizas" with no link hack

{{Status Effect|dizas|options= }}

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

24, text only="1" w/ no-link hack

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

Lower ATA/EVP

e

{{Status Effect|e}}

None