Template:Element: Difference between revisions
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:..." |
Use <onlyinclude> and update icon link |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
[[File:{{{1}}} element.png|{{{size| | <onlyinclude>[[File:{{{1}}} element icon.png|{{{size|x25px}}}|alt={{{1}}} element]]</onlyinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 15: | Line 15: | ||
"example": "25px", | "example": "25px", | ||
"type": "string", | "type": "string", | ||
"default": " | "default": "x25px" | ||
} | } | ||
}, | }, | ||
| Line 22: | Line 22: | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 20:09, 9 March 2026
[[File:{{{1}}} element icon.png|x25px|alt={{{1}}} element]]
For adding an element icon to the page
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Element | 1 | Element (one of: Neutral, Fire, Water, Earth, Air, Light, Darkness, Nature, Electricity, Universal)
| String | required |
| Size | size | Size of the icon, as a standard Mediawiki image size
| String | optional |