6,364
editsuse a switch
(add more examples) |
(use a switch) |
||
Line 1: | Line 1: | ||
<includeonly>{{Icon|Condition Type Icon.png|{{{size|30}}} }} | <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. | ||