Template:Dye Gallery/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
Line 1: Line 1:
{{documentation}}
{{documentation}}


This template generates a short table showing the base appearance and the dye regions for an item.
This template generates a short table showing the base appearance and the dye regions for an item.

By default it uses the images 'PAGENAME.png' and 'PAGENAME dye.png'.
By default it uses the images 'PAGENAME.png' and 'PAGENAME dye.png'.

These can be overwritten by the 'base' and 'mask' parameters in the template call.
These can be overwritten by the 'base' and 'mask' parameters in the template call.


Line 9: Line 11:
"params": {
"params": {
"base": {
"base": {
"description": "Name of an item image, defaults to PAGENAME",
"description": "Name of an item image, defaults to PAGENAME requires PNG image",
"example": "Stone Slab Shield (moderate)",
"example": "Stone Slab Shield (moderate)",
"type": "string"
"type": "string"
},
},
"mask": {
"mask": {
"description": "Name of an item dye image, defaults to PAGENAME dye",
"description": "Name of an item dye image, defaults to PAGENAME dye, requires PNG image",
"example": "Stone Slab Shield (moderate) dye",
"example": "Stone Slab Shield (moderate) dye",
"type": "string"
"type": "string"