6,364
editsTemplate:Condition type: Difference between revisions
Jump to navigation
Jump to search
Make it default to 40 again
(Shrink icon) |
(Make it default to 40 again) |
||
Line 1: | Line 1: | ||
<includeonly>{{Icon|Condition Type Icon.png| | <includeonly>{{Icon|Condition Type Icon.png|{{{size|40}}} }}{{#switch:{{{1}}} | ||
| curse = [[Conditions#Condition_Type|Cursed]] | | curse = [[Conditions#Condition_Type|Cursed]] | ||
| disease = [[Conditions#Condition_Type|Diseased]] | | disease = [[Conditions#Condition_Type|Diseased]] | ||
Line 11: | Line 11: | ||
{{Condition/Type|poison}} | {{Condition/Type|poison}} | ||
The optional parameter {{c|size}} specifies the size of the icon, which defaults to 40px. | |||
== Template data == | == Template data == | ||
Line 27: | Line 29: | ||
], | ], | ||
"required": true | "required": true | ||
}, | |||
"size": { | |||
"description": "The size of the icon", | |||
"type": "number", | |||
"default": "40" | |||
} | } | ||
} | }, | ||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> |