Difference between revisions of "Template:ElementIcon"
(Created page with "<includeonly>[[File:{{{1|}}}.png|{{{size|20px}}}|link=]] {{#if:{{{name|}}}|{{{1|}}}|}}</includeonly><noinclude> A template for displaying element icon. * Default size is 20 px...") |
(typo) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[[File:{{{1|}}}.png|{{{size|20px}}}|link=]] {{#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 the element's name. |
<pre>{{ElementIcon|Force}}</pre> | <pre>{{ElementIcon|Force}}</pre> |
Latest revision as of 01:43, 12 February 2024
A template for displaying an element icon.
- Default size is 20 px, but can optionally set a size.
- May optionally include the element's name.
{{ElementIcon|Force}}
{{ElementIcon|Force|size=32px}}
{{ElementIcon|Force|name=1}}
Force