Template:Dye Infobox

From Official Temtem Wiki
Jump to navigation Jump to search

This template defines the table "Dyes". View table.

Template-info.png Documentation

This template provides a uniform design for dye and dye bundle pages. It stores information to Special:CargoTables/Dyes.

Usage[edit]

Standard Configuration

{{ Dye infobox
| name = 
| image = 
| description = 
| hexColor = 
| sources = 
}}

Parameters[edit]

name
Optional. Self explanatory. When not used, automatically takes the page-name. When using this infobox on a page, please do not include it unless it's on an article with a differing pagename.
image
Optional. The name of an image file to use to display the specified Dye/Dye Bundle. Exclude the File: part of the filename. If no image is specified, it will default to Unknown.png.
hexColor
The hex color of the dye. When this is not specified, it will appear as "?"
sources
Sources the dye is acquired from. When the dye is from multiple sources, separate the names with comma (,). When this is not specified, it will appear as "?". Example below:
| sources = [[Narwhal Adventure]], [[Thalassian Symphony]]

Example[edit]

Bittersweet Dye
Bittersweetdye.png
C'est la vie.
Details
HexColor
fe6f6f
Sources Narwhal Adventure
Thalassian Symphony
{{Dye Infobox
| name = Bittersweet Dye
| image = bittersweetdye.png
| description = C'est la vie.
| hexColor = fe6f6f
| sources = [[Narwhal Adventure]], [[Thalassian Symphony]]
}}

Produces: infobox on the right