Template:Status: Difference between revisions
Jump to navigation
Jump to search
(Created a mockup template for embedding status effects. This will be adjusted while I test it.) |
m (Added category) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:status|{{#switch:{{lc:{{{1|}}}}} | <noinclude>This template is used for displaying [[Status Effect]] icons inline with text. | ||
== Usage == | |||
<code><nowiki>{{status|(STATUS NAME HERE)}}</nowiki></code> | |||
This will display the status effect icon and provide a link to it. | |||
== Examples == | |||
* {{Status|Vulnerable}} | |||
* {{Status|Traced}} | |||
* {{Status|Slowed}} | |||
* {{Status|Poisoned}} | |||
* {{Status|Neutralized}} | |||
* {{Status|Heartbroken}} | |||
* {{Status|Heat Level 1}} | |||
* {{Status|Heat Level 2}} | |||
* {{Status|Heat Level 3}} | |||
* {{Status|Exposed}} | |||
* {{Status|Detected}} | |||
* {{Status|Charmed}} | |||
* {{Status|Broadcast}} | |||
* {{Status|Resistant}} | |||
* {{Status|Invulnerable}} | |||
* {{Status|Invisible}} | |||
* {{Status|Amped Up}} | |||
[[Category:Inline Templates]] | |||
</noinclude><includeonly>{{#vardefine:status|{{#switch:{{lc:{{{1|}}}}} | |||
| vulnerable = Vulnerable | | vulnerable = Vulnerable | ||
| trace | | trace | ||
Line 82: | Line 110: | ||
| Invisible = SE_Invisible.png | | Invisible = SE_Invisible.png | ||
| Amped Up = SE_Amped_Up.png | | Amped Up = SE_Amped_Up.png | ||
| #default = {{{ | | #default = {{{image|}}}}} | ||
}}<!-- | }}<!-- | ||
-->[[File:{{#var:image}}|middle|24px|link=Status Effects#{{#var:status}}|alt={{#var:status}}]] <span style="color:{{#var:text_color}};">'''{{#var:status}}'''</span></includeonly> | -->{{#vardefine:display_text|{{{text|{{#var:status}}}}}}}<!-- | ||
-->[[File:{{#var:image}}|middle|24px|link=Status Effects#{{#var:status}}|alt={{#var:status}}]]<span style="color:{{#var:text_color}};">'''[[Status Effects#{{#var:status}}|{{#var:display_text}}]]'''</span></includeonly> |
Latest revision as of 18:14, 10 November 2023
This template is used for displaying Status Effect icons inline with text.
Usage
{{status|(STATUS NAME HERE)}}
This will display the status effect icon and provide a link to it.
Examples
- Vulnerable
- Traced
- Slowed
- Poisoned
- Neutralized
- Heartbroken
- Heat Level 1
- Heat Level 2
- Heat Level 3
- Exposed
- Detected
- Charmed
- Broadcast
- Resistant
- Invulnerable
- Invisible
- Amped Up