6,366
editsAd placeholder
Template:Item icon: Difference between revisions
Jump to navigation
Jump to search
Enhance template data
(Missing icon name is now "{name} Unfaded Icon.png".) |
(Enhance template data) |
||
Line 26: | Line 26: | ||
"params": { | "params": { | ||
"size": { | "size": { | ||
"description": "The height of the item icon | "description": "The height of the item icon.", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"40", | "40", | ||
Line 42: | Line 42: | ||
}, | }, | ||
"show_name": { | "show_name": { | ||
"description": " | "description": "If non-empty, will link the icon as well.", | ||
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
Line 49: | Line 49: | ||
}, | }, | ||
"show_rarity": { | "show_rarity": { | ||
"description": " | "description": "If non-empty, will display an icon border corresponding to the rarity.", | ||
"type": "boolean" | |||
}, | |||
"override_icon": { | |||
"description": "If provided, will override the icon with the provided one.", | |||
"type": "string" | |||
}, | |||
"override_rarity": { | |||
"description": "If provided, will replace the fetched rarity.", | |||
"type": "string" | |||
}, | }, | ||
"alias": { | "alias": { | ||
"description": "An alias for the item.", | "description": "An alias for the item.", | ||
"type": "string" | "type": "string" | ||
}, | |||
"wrap": { | |||
"description": "If non-empty, will allow the item icon to wrap.", | |||
"type": "boolean" | |||
} | } | ||
}, | }, | ||
Line 67: | Line 78: | ||
"override_icon", | "override_icon", | ||
"override_rarity", | "override_rarity", | ||
"alias" | "alias", | ||
"wrap" | |||
], | ], | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |