Editing Template:Dye Gallery/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{documentation}} |
{{documentation}} |
||
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'. |
|||
These can be overwritten by the 'base' and 'mask' parameters in the template call. |
|||
{{TemplateData|<templatedata> |
{{TemplateData|<templatedata> |
||
{ |
{ |
||
"params": { |
"params": { |
||
" |
"name": { |
||
"description": "Name of an item |
"description": "Name of an item, defaults to PAGENAME", |
||
"example": "Stone Slab Shield (moderate)", |
"example": "Stone Slab Shield (moderate)", |
||
"type": "string" |
|||
}, |
|||
"mask": { |
|||
"description": "Name of an item dye image, defaults to PAGENAME dye, requires PNG image", |
|||
"example": "Stone Slab Shield (moderate) dye", |
|||
"type": "string" |
"type": "string" |
||
} |
} |
||
}, |
}, |
||
"description": "This template generates a table showing the base appearance and the dye regions for an item. |
"description": "This template generates a table showing the base appearance and the dye regions for an item. It requires that base appearance image is named 'PAGENAME.png' and the dye regions image is named 'PAGENAME dye.png'", |
||
"format": "block" |
"format": "block" |
||
} |
} |