Template:Cosmetic/doc

Usage
Cosmetic creates an cosmetic item element suitable for use in a cosmetic item navbox. The border is color coded by rarity.

The template accepts one additional parameter as second, which controls the width of the element. The width defaults to 100px.

If this template is used in SMW queries, the width can also be set with.

If not used correctly, a red border and red text will be shown.

TemplateData
{	"params": { "1": {			"label": "Cosmetic", "description": "The cosmetic item's name.", "example": "Dragonclaw Hook", "type": "string", "required": true },		"2": {			"aliases": [ "userparam" ],			"label": "Icon Size", "type": "string", "default": "100px" },		"link": { "label": "Link", "description": "Modify the link destination", "example": "Inscribed Gem#Axe", "type": "string" },		"text": { "label": "Link Text", "description": "Modify the link text.", "example": "Autograph: Dendi", "type": "string" }	},	"format": "inline", "description": "Displays a cosmetic item's icon and rarity.", "paramOrder": [ "1",		"2",		"link", "text" ] }