User:Mozzarella/Icon: Difference between revisions

From Terra Invicta Official Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<span style="background-color: {{bgcolor|transparent}}; display: inline-block;">{{#switch: {{{1}}}
<span style="background-color: {{{bgcolor|transparent}}}; display: inline-block;">{{#switch: {{{1}}}
  | water = [[File:ICO water.png|{{size|20px}}|water]]
  | water = [[File:ICO water.png|{{{size|20px}}}|water]]
  | volatiles = [[File:ICO volatiles.png|{{size|20px}}|volatiles]]
  | volatiles = [[File:ICO volatiles.png|{{{size|20px}}}|volatiles]]
  | metal
  | metal
  | metals
  | metals
  | base metals = [[File:ICO metal.png|{{size|20px}}|base metals]]
  | base metals = [[File:ICO metal.png|{{{size|20px}}}|base metals]]
  | nobles
  | nobles
  | noble metals = [[File:ICO metal noble.png|{{size|20px}}|noble metals]]
  | noble metals = [[File:ICO metal noble.png|{{{size|20px}}}|noble metals]]
  | fissile
  | fissile
  | fissiles = [[File:ICO fissile.png|{{size|20px}}|fissiles]]
  | fissiles = [[File:ICO fissile.png|{{{size|20px}}}|fissiles]]
  | #default = ''No such icon''
  | #default = ''No such icon''
}}</span></includeonly><noinclude>
}}</span></includeonly><noinclude>

Revision as of 04:25, 15 November 2022

A template for inserting resource icons.

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