Template:Element: Difference between revisions
Jump to navigation
Jump to search
reduce default size |
Use <onlyinclude> and update icon link |
||
| Line 1: | Line 1: | ||
[[File:{{{1}}} element.png|{{{size|x25px}}}|alt={{{1}}} element]]< | <onlyinclude>[[File:{{{1}}} element icon.png|{{{size|x25px}}}|alt={{{1}}} element]]</onlyinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| 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 |