Difference between revisions of "Template:Define/Mass"

From RimWorld Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>
+
<onlyinclude>{{#switch:{{{1}}}|page={{!}}Muffalo wool
{{#switch:{{{1}}}|page={{!}}Muffalo wool{{!}}Megatherium wool{{!}}Megasloth wool{{!}}Camelhair{{!}}Alpaca wool=0.028
+
{{!}}Megatherium wool
 +
{{!}}Megasloth wool
 +
{{!}}Camelhair
 +
{{!}}Alpaca wool=0.028
 
|category={{!}}Raw Inedible=0.03}}
 
|category={{!}}Raw Inedible=0.03}}
</onlyinclude>
+
</onlyinclude>{{documentation}}
 
 
{{#ifeq:foo|foo|1{{!}}2{{!}}3{{!}}4{{!}}5{{!}}6}}
 

Latest revision as of 06:15, 6 February 2023

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.-->