Template:Dye Gallery/doc: Difference between revisions
(Created page with "{{documentation}} {{TemplateData|<templatedata> { "params": {}, "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" } </templatedata> }}") |
No edit summary |
||
(3 intermediate revisions 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": { |
|||
⚫ | |||
"description": "Name of an item image, defaults to PAGENAME requires PNG image", |
|||
"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" |
|||
} |
|||
}, |
|||
⚫ | |||
"format": "block" |
"format": "block" |
||
} |
} |
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'
|