Template:Condition type
(Redirected from Template:Condition Type)
Template documentation
Displays the condition icon plus a link to Curse, Disease, or Poison according to the provided type parameter.
| Example | Markup | Renders as |
|---|---|---|
| Default usage | {{Condition type|cursed}} | Cursed |
| Multiple types | {{Condition type|polymorphed, prone}} | Polymorphed, Prone |
| Unknown type | {{Condition type|maimed}} | maimed |
| Status groups style | {{Condition type|SG_Incapacitated, SG_Condition, SG_Paralyzed}} | Incapacitated, SG_Condition, SG_Paralyzed |
| Status groups style (only visible) | {{Condition type|SG_Incapacitated, SG_Condition, SG_Paralyzed|only visible=y}} | Incapacitated |
Note: Unknown types are automatically removed. Only supported condition types (status groups) are shown as they do in-game.
Template data
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| type | 1 | The type of condition.
| String | required |
| Width | w | Override the width of the image. | Number | optional |
| Height | h | Override the height of the image. | Number | optional |
| Size | size | Set the size of the image to this by this. | Number | optional |
| Only Visible | only visible | Only show if one of visible status groups. | Boolean | optional |
