6,366
editsAd placeholder
Template:Item icon: Difference between revisions
Jump to navigation
Jump to search
add templatedata
(fix order by) |
(add templatedata) |
||
Line 40: | Line 40: | ||
|icon = File | |icon = File | ||
}} | }} | ||
</noinclude> | |||
=== Template Data Section === | |||
<templatedata> | |||
{ | |||
"params": { | |||
"size": { | |||
"description": "The height of the item icon. Optional.", | |||
"suggestedvalues": [ | |||
"40", | |||
"25", | |||
"20" | |||
], | |||
"default": "40" | |||
}, | |||
"name": { | |||
"description": "The name of the icon. Identical to the item's page name.", | |||
"example": "Potion of Healing", | |||
"required": true | |||
}, | |||
"show_name": { | |||
"description": "Whether to link the icon as well. Optional. Providing any value at all will be interpreted as \"yes\"." | |||
} | |||
}, | |||
"description": "Inserts an item's icon automatically. Can also display a link to the item.", | |||
"paramOrder": [ | |||
"name", | |||
"size", | |||
"show_name" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> |