Template:Status Effect: Difference between revisions
(removed link behaviour on text) |
(revert previous revision, normalize all link behaviour (options are still messy though)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{lc:{{{1|}}}}} | <includeonly>{{#switch: {{lc:{{{1|}}}}} | ||
|1 | |1 | ||
|burn = {{ | |burn = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Burn{{{options}}}|[[Burn]]}} | {{EnumImage|image=Burn.gif|name=Burn|options={{{options|link=Burn}}}}}}} | ||
|2 | |2 | ||
|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 = {{ | |infection = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Infection{{{options}}}|[[Infection]]}} | {{EnumImage|image=Infection.gif|name=Infection|options={{{options|link=Infection}}}}}}} | ||
|4 | |4 | ||
|shock = {{ | |shock = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Shock{{{options}}}|[[Shock]]}} | {{EnumImage|image=Shock.gif|name=Shock|options={{{options|link=Shock}}}}}}} | ||
|5 | |5 | ||
|silence = {{ | |silence = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Silence{{{options}}}|[[Silence]]}} | {{EnumImage|image=Silence.gif|name=Silence|options={{{options|link=Silence}}}}}}} | ||
|6 | |6 | ||
|freeze = {{ | |freeze = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Freeze{{{options}}}|[[Freeze]]}} | {{EnumImage|image=Freeze.gif|name=Freeze|options={{{options|link=Freeze}}}}}}} | ||
|7 | |7 | ||
|sleep = {{ | |sleep = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Sleep{{{options}}}|[[Sleep]]}} | {{EnumImage|image=Sleep.gif|name=Sleep|options={{{options|link=Sleep}}}}}}} | ||
|8 | |8 | ||
|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 = {{ | |confuse = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Confuse{{{options}}}|[[Confuse]]}} | {{EnumImage|image=Confuse.gif|name=Confuse|options={{{options|link=Confuse}}}}}}} | ||
|10 | |10 | ||
|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 = {{ | |incapacitation = {{#if: {{{text only|}}} | {{#if:{{{options|}}}|Incapacitation{{{options}}}|[[Incapacitation]]}} | {{EnumImage|image=Incapacitation.gif|name=Incapacitation|options={{{options|link=Incapacitation}}}}}}} | ||
|12 | |12 | ||
|lifesteal | |lifesteal | ||
|hp steal = {{ | |hp steal = {{#if:{{{options|}}}|HP Steal{{{options}}}|[[HP Steal]]}} | ||
|13 | |13 | ||
|reflect | |reflect | ||
|damage reflection | |damage reflection | ||
|reflect damage = {{ | |reflect damage = {{#if:{{{options|}}}|Reflect Damage{{{options}}}|[[Reflect Damage]]}} | ||
|14 | |14 | ||
|rage | |rage | ||
|hap | |hap | ||
|hp affects pwr | |hp affects pwr | ||
|hp affects power = {{ | |hp affects power = {{#if:{{{options|}}}|HP Affects Power{{{options}}}|[[HP Affects Power]]}} | ||
|15 | |15 | ||
|ad | |ad | ||
|auto damage = {{ | |auto damage = {{#if:{{{options|}}}|Auto Damage{{{options}}}|[[Auto Damage]]}} | ||
|16 | |16 | ||
|giresta | |giresta | ||
|auto recovery = {{ | |auto recovery = {{#if:{{{options|}}}|Auto Recovery{{{options}}}|[[Auto Recovery]]}} | ||
|17 | |17 | ||
|shifta | |shifta | ||
|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 = {{ | |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 = {{ | |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 = {{ | |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 = {{ | |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 = {{ | |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 = {{ | |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 = {{ | |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 | ||
|dizas | |dizas | ||
|reduce physical damage | |reduce physical damage | ||
|reduce phys. damage = {{ | |reduce phys. damage = {{#if:{{{options|}}}|Reduce Physical Damage{{{options}}}|[[Status_Effects#Reduce_Physical_Damage|Reduce Physical Damage]]}} | ||
|26 | |26 | ||
|rentis | |rentis | ||
|reduce technic damage | |reduce technic damage | ||
|reduce tech. damage = {{ | |reduce tech. damage = {{#if:{{{options|}}}|Reduce TECHNIC Damage{{{options}}}|[[Status_Effects#Reduce_TECHNIC_Damage|Reduce TECHNIC Damage]]}} | ||
|#default = None | |#default = None | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
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> | ||
Line 208: | Line 211: | ||
<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> |
Revision as of 01:26, 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:
- 1
- burn
- 2
- poison
- 3
- virus
- infect
- infection
- 4
- shock
- 5
- silence
- 6
- freeze
- 7
- sleep
- 8
- stun
- 9
- confusion
- confuse
- 10
- charm
- 11
- incap
- incapacitate
- incapacitation
- 12
- lifesteal
- hp steal
- 13
- reflect
- damage reflection
- reflect damage
- 14
- rage
- hap
- hp affects pwr
- hp affects power
- 15
- ad
- auto damage
- 16
- giresta
- auto recovery
- 17
- shifta
- boost atp
- 18
- jellen
- lower atp
- 19
- deband
- boost dfp
- 20
- zalure
- lower dfp
- 21
- retier
- boost tp/mst
- 22
- rendeel
- lower tp/mst
- 23
- zodial
- boost ata/evp
- 24
- zondeel
- lower ata/evp
- 25
- dizas
- reduce physical damage
- reduce phys. 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}}
"dizas"
{{Status Effect|dizas}}
"dizas" with no link hack
{{Status Effect|dizas|options= }}
Reduce Physical Damage
24, options="18px"
{{Status Effect|24|options=18px}}
24, text only="1"
{{Status Effect|24|text only=1}}
24, text only="1" w/ no-link hack
{{Status Effect|24|text only=1|options= }}
Lower ATA/EVP
e
{{Status Effect|e}}
None