Template:Icon: Difference between revisions

From Terra Invicta Official Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
{{#switch: {{{1}}}
{{#switch: {{{1}}}
  | water = [[File:ICO water.png|20px|water]]
  | water = [[File:ICO water.png|20px|water]]
Line 11: Line 12:
  | #default = ''No such icon''
  | #default = ''No such icon''
}}
}}
</includeonly>
<noinclude>
A template for inserting resource icons.
== Usage ==
<pre>{{icon|water}}</pre> to get the water icon.
These are the words that work:
{| class="wikitable"
|-
! name(s) !! icon
|-
| water || {{icon|water}}
|-
| volatiles || {{icon|volatiles}}
|-
| metal / metals / base metals || {{icon|metal}}
|-
| nobles / noble metals  || {{icon|nobles}}
|-
| fissile / fissilies || {{icon|fissiles}}
|}
</noinclude>

Revision as of 09:47, 13 October 2022


A template for inserting resource icons.

Usage

{{icon|water}}

to get the water icon.

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