Difference between revisions of "Template:Element"

From The Perfect Tower II
Jump to navigation Jump to search
(Created page with "[[File:{{{1}}} element.png|{{{size|x30px}}}|alt={{{1}}} element]]<noinclude> <templatedata> { "params": { "1": { "label": "Element", "description": "Element (one of:...")
 
(reduce default size)
 
Line 1: Line 1:
[[File:{{{1}}} element.png|{{{size|x30px}}}|alt={{{1}}} element]]<noinclude>
+
[[File:{{{1}}} element.png|{{{size|x25px}}}|alt={{{1}}} element]]<noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 15: Line 15:
 
"example": "25px",
 
"example": "25px",
 
"type": "string",
 
"type": "string",
"default": "x30px"
+
"default": "x25px"
 
}
 
}
 
},
 
},

Latest revision as of 02:17, 19 March 2021

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

For adding an element icon to the page

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Element1

Element (one of: Neutral, Fire, Water, Earth, Air, Light, Darkness, Nature, Electricity, Universal)

Example
Neutral
Stringrequired
Sizesize

Size of the icon, as a standard Mediawiki image size

Default
x25px
Example
25px
Stringoptional