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...") |
(alt text) |
||
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 element icon. | ||
* Default size is 20 px, but can optionally set a size. | * Default size is 20 px, but can optionally set a size. |
Revision as of 23:09, 17 December 2022
A template for displaying 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