Difference between revisions of "Template:Define/Mass"

From RimWorld Wiki
Jump to navigation Jump to search
(If this doesnt work im giving up)
(Uh... A little help?)
Line 1: Line 1:
 
<!--Manual override-->
 
<!--Manual override-->
 
{{{2|
 
{{{2|
{{#switch:{{{1}}}<!--Define masses of entire categories-->
+
{{#switch:{{{1}}}<!--Define masses of entire categories, currently doesn't work-->
 
|Raw Inedible=0.03
 
|Raw Inedible=0.03
 
|Fabric=0.028
 
|Fabric=0.028

Revision as of 11:22, 28 December 2016



Documentation icon Template documentation[view] [edit] [history] [purge]

A lazy editor's tool to define masses for objects using Template:Define on the go. Define/Mass is transcluded into Template:Define as a template inside a {{#switch:}} parser function. To define an object's mass, type {{!}}Name=Value. For steel, I would type:

{{!}}Steel=0.5
<!--Note that Template:! stands for the | symbol.-->