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]]
| volatiles = [[File:ICO volatiles.png|{{{size|20px}}}|volatiles]]
| metal
| metals
| base metals = [[File:ICO metal.png|{{{size|20px}}}|base metals]]
| nobles
| noble metals = [[File:ICO metal noble.png|{{{size|20px}}}|noble metals]]
| fissile
| fissiles = [[File:ICO fissile.png|{{{size|20px}}}|fissiles]]
  | money = [[File:ICO currency.png|{{{size|20px}}}|money]]
  | money = [[File:ICO currency.png|{{{size|20px}}}|money]]
  | influence = [[File:ICO influence.png|{{{size|20px}}}|influence]]
  | influence = [[File:ICO influence.png|{{{size|20px}}}|influence]]
Line 21: Line 12:
  | control point
  | control point
  | control points = [[File:ICO ControlPoint empty.png|{{{size|20px}}}|control points]]
  | control points = [[File:ICO ControlPoint empty.png|{{{size|20px}}}|control points]]
| water = [[File:ICO water.png|{{{size|20px}}}|water]]
| volatiles = [[File:ICO volatiles.png|{{{size|20px}}}|volatiles]]
| metal
| metals
| base metals = [[File:ICO metal.png|{{{size|20px}}}|base metals]]
| nobles
| noble metals = [[File:ICO metal noble.png|{{{size|20px}}}|noble metals]]
| fissile
| fissiles = [[File:ICO fissile.png|{{{size|20px}}}|fissiles]]
| exotics = [[File:ICO exotics.png|{{{size|20px}}}|exotics]]
| antimatter
| antimatters = [[File:ICO antimatter.png|{{{size|20px}}}|antimatter]]
  | #default = ''No such icon''
  | #default = ''No such icon''
}}</span></includeonly><noinclude>
}}</span></includeonly><noinclude>
Line 30: Line 34:
<pre>{{User:Mozzarella/Icon|water|bgcolor=transparent|size=20px}}</pre>
<pre>{{User:Mozzarella/Icon|water|bgcolor=transparent|size=20px}}</pre>


bgcolor and size are optional.
Words for icons are shown in the following table.  Parameters "bgcolor" and "size" are optional.
 
These are the words that work:


{| class="wikitable"
{| class="wikitable"
|-
|-
! name(s) !! icon
! name(s) !! icon
|-
| water || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|water}}
|-
| volatiles || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|volatiles}}
|-
| metal / metals / base metals || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|metal}}
|-
| nobles / noble metals  || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|nobles}}
|-
| fissile / fissiles || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|fissiles}}
|-
|-
| money || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|money}}
| money || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|money}}
Line 63: Line 55:
|-
|-
| cp / control point / control points || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|cp}}
| cp / control point / control points || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|cp}}
|-
| water || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|water}}
|-
| volatiles || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|volatiles}}
|-
| metal / metals / base metals || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|metal}}
|-
| nobles / noble metals  || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|nobles}}
|-
| fissile / fissiles || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|fissiles}}
|-
| exotics || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|exotics}}
|-
| antimatter / antimatters || style="background-color: DarkSlateGray" align="center" | {{User:Mozzarella/Icon|antimatter}}
</noinclude>
</noinclude>

Revision as of 04:54, 15 November 2022

A template for inserting resource icons.

Usage

To get the water icon for example:

{{User:Mozzarella/Icon|water|bgcolor=transparent|size=20px}}

Words for icons are shown in the following table. Parameters "bgcolor" and "size" are optional.

name(s) icon
money

money

influence

influence

ops

ops

boost

boost

mc / mission control

mission control

research

research

projects

projects

cp / control point / control points

control points

water

water

volatiles

volatiles

metal / metals / base metals

base metals

nobles / noble metals

noble metals

fissile / fissiles

fissiles

exotics

exotics

antimatter / antimatters

antimatter