Difference between revisions of "User talk:Zesty/Questions for the Wiki/reply"

From RimWorld Wiki
Jump to navigation Jump to search
 
m (Edited answer.)
 
Line 9: Line 9:
 
* The first parameter is always 'icon' (it's the name of the template).
 
* The first parameter is always 'icon' (it's the name of the template).
 
* The second parameter is what you want the icon to be. The page shows all the available ones like metal, silver, potatoes, etc.
 
* The second parameter is what you want the icon to be. The page shows all the available ones like metal, silver, potatoes, etc.
* The third parameter is optional, but lets you edit the size (in pixels).
+
* The third parameter lets you display an amount after the icon (it's optional).
 +
* The fourth parameter is also optional, but lets you edit the size (in pixels).
  
 
Here's an example with the size parameter.
 
Here's an example with the size parameter.

Latest revision as of 13:01, 4 March 2015

Check out http://rimworldwiki.com/wiki/Template:Icon

Example: Steel 30

The code for that is:

{{icon|metal|30}}

Basically:

  • The first parameter is always 'icon' (it's the name of the template).
  • The second parameter is what you want the icon to be. The page shows all the available ones like metal, silver, potatoes, etc.
  • The third parameter lets you display an amount after the icon (it's optional).
  • The fourth parameter is also optional, but lets you edit the size (in pixels).

Here's an example with the size parameter. Silver 250

And the code:

{{icon|silver|250|32}}