Template:Dye Gallery

From Brighter Shores Wiki
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:Dye Gallery/doc. [edit] [history] [purge]
Template:Dye Gallery invokes function main in Module:Dye Gallery using Lua.

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'

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
basebase

Name of an item image, defaults to PAGENAME requires PNG image

Example
Stone Slab Shield (moderate)
Stringoptional
maskmask

Name of an item dye image, defaults to PAGENAME dye, requires PNG image

Example
Stone Slab Shield (moderate) dye
Stringoptional