Template:Condition type: Difference between revisions

Jump to navigation Jump to search
(add more examples)
(use a switch)
Line 1: Line 1:
<includeonly>{{Icon|Condition Type Icon.png|{{{size|30}}} }}[[{{{1}}} (Condition Type)|{{{1}}}]]</includeonly><noinclude>
<includeonly>{{Icon|Condition Type Icon.png|{{{size|30}}} }}{{#lvardef:name|{{#switch:{{{1}}}
| curse = Cursed
| cursed = Cursed
| disease = Diseased
| diseased = Diseased
| poison = Poisoned
| poisoned = Poisoned
| polymorphed = Polymorphed
| charm = Charmed
| charmed = Charmed
| frightened = Frightened
| incapacitated = Incapacitated
| proned = Prone
| prone = Prone
| unconscious = Unconscious
| blind = Blinded
| blinded = Blinded
| #default = {{{1}}}
}}}} [[{{#lvar:name}} (Condition Type)|{{#lvar:name}}]]</includeonly><noinclude>
Displays the condition icon plus a link to Curse, Disease, or Poison according to the provided type parameter.
Displays the condition icon plus a link to Curse, Disease, or Poison according to the provided type parameter.