Template:Dye Gallery/doc: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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": { |
||
"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" |
Latest revision as of 16:24, 2 January 2025
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.
Template data
Show/hide template's data | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date. This template generates a table showing the base appearance and the dye regions for an item. By default it uses the images 'PAGENAME.png' and 'PAGENAME dye.png'
|