Difference between revisions of "Template:ElementIcon"
(alt text) |
(typo) |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1|}}}.png|{{{size|20px}}}|link=|alt={{{1|}}}|{{{1|}}}]] {{#if:{{{name|}}}|{{{1|}}}|}}</includeonly><noinclude> | <includeonly>[[File:{{{1|}}}.png|{{{size|20px}}}|link=|alt={{{1|}}}|{{{1|}}}]] {{#if:{{{name|}}}|{{{1|}}}|}}</includeonly><noinclude> | ||
− | A template for displaying element icon. | + | A template for displaying an element icon. |
* Default size is 20 px, but can optionally set a size. | * Default size is 20 px, but can optionally set a size. | ||
* May optionally include element name. | * May optionally include element name. |
Revision as of 01:42, 12 February 2024
A template for displaying an element icon.
- Default size is 20 px, but can optionally set a size.
- May optionally include element name.
{{ElementIcon|Force}}
{{ElementIcon|Force|size=32px}}
{{ElementIcon|Force|name=1}}
Force