Template:Icon: Difference between revisions

From Terra Invicta Official Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch: {{{1}}}
{{#switch: {{{1}}}
  | water = [[File:ICO water.png|20px|water]]
  | water = [[File:ICO water.png|20px|water]] | volatiles = [[File:ICO volatiles.png|20px|volatiles]]
| volatiles = [[File:ICO volatiles.png|20px|volatiles]]
  | metal
  | metal
  | metals
  | metals

Revision as of 03:49, 15 November 2022


A template for inserting resource icons. (It doesn't work yet, as parser functions don't seem to expand...)

Usage

To get the water icon for example:

{{icon|water}}

These are the words that work:

name(s) icon
water

water

volatiles

volatiles

metal / metals / base metals

base metals

nobles / noble metals

noble metals

fissile / fissilies

fissiles