Template:Item: Difference between revisions
Template page
More actions
TheMysterys (talk | contribs) m Removed obtained & price and added type. (Price unlikely to be used. Cosmetics will have their own template likely) |
TheMysterys (talk | contribs) m Added template data |
||
Line 11: | Line 11: | ||
</data> | </data> | ||
</infobox> | </infobox> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"description": "Image of the item", | |||
"type": "wiki-file-name", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"rarity": { | |||
"label": "Rarity", | |||
"description": "Rarity of the item", | |||
"type": "wiki-template-name", | |||
"suggested": true, | |||
"example": "{{Rarity|common}}" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "Type of the item", | |||
"type": "wiki-template-name", | |||
"suggested": true, | |||
"example": "{{Type|openable}}" | |||
} | |||
}, | |||
"description": "Adds a item infobox to the page", | |||
"paramOrder": [ | |||
"image", | |||
"rarity", | |||
"type" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 19:23, 22 August 2023
Adds a item infobox to the page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Image of the item | File | required |
Rarity | rarity | Rarity of the item
| Template | suggested |
Type | type | Type of the item
| Template | suggested |