Template:Resource: Difference between revisions

From The Perfect Tower II
Jump to navigation Jump to search
Lmnt0 (talk | contribs)
Created page with "[[File:{{{1}}} resource.png|{{{size|x25px}}}|alt={{{1}}} resource]]<noinclude> <templatedata> { "params": { "1": { "label": "Resource", "description": "Element (one o..."
 
Lmnt0 (talk | contribs)
Update template data - Element -> Resource
 
Line 5: Line 5:
"1": {
"1": {
"label": "Resource",
"label": "Resource",
"description": "Element (one of: White, Yellow, Orange, Red, Purple, Pink, Green, Cyan, Lightblue, Blue, Grey, Brown, Black)",
"description": "Resource (one of: White, Yellow, Orange, Red, Purple, Pink, Green, Cyan, Lightblue, Blue, Grey, Brown, Black)",
"example": "White",
"example": "White",
"type": "string",
"type": "string",

Latest revision as of 01:19, 20 March 2021

[[File:{{{1}}} resource.png|x25px|alt={{{1}}} resource]]

For adding a resource icon to the page

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Resource1

Resource (one of: White, Yellow, Orange, Red, Purple, Pink, Green, Cyan, Lightblue, Blue, Grey, Brown, Black)

Example
White
Stringrequired
Sizesize

Size of the icon, as a standard Mediawiki image size

Default
x25px
Example
25px
Stringoptional