Template:Condition type: Difference between revisions
Jump to navigation
Jump to search
m (Sky moved page Template:Condition/Type to Template:Condition Type: promote to own page) |
(link directly to adjective_name (Condition Type)) |
||
Line 1: | Line 1: | ||
<includeonly>{{Icon|Condition Type Icon.png|{{{size|30}}} }} | <includeonly>{{Icon|Condition Type Icon.png|{{{size|30}}} }}[[{{{1}}} (Condition Type)|{{{1}}}]]</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. | ||
{{Condition | {{div col}} | ||
* {{Condition Type|cursed}} | |||
{{Condition | * {{Condition Type|diseased}} | ||
* {{Condition Type|poisoned}} | |||
{{Condition | * {{Condition Type|polymorphed}} | ||
{{div col end}} | |||
{{Condition | |||
The optional parameter {{c|size}} specifies the size of the icon, which defaults to 40px. | The optional parameter {{c|size}} specifies the size of the icon, which defaults to 40px. | ||
Line 27: | Line 21: | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "diseased", | ||
" | "poisoned", | ||
" | "cursed", | ||
" | "polymorphed" | ||
], | ], | ||
"required": true | "required": true |
Revision as of 15:41, 11 October 2023
Displays the condition icon plus a link to Curse, Disease, or Poison according to the provided type parameter.
The optional parameter size
specifies the size of the icon, which defaults to 40px.
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
type | 1 | The type of condition.
| String | required |
size | size | The size of the icon
| Number | optional |