Difference between revisions of "Template:Define/Mass/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m (Changed Category)
m (Changed Category)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{Modal Mark For Deletion}}
+
{{Modal mark for deletion}}
 
</noinclude>
 
</noinclude>
 
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 <nowiki>{{#switch:}}</nowiki> parser function. To define an object's mass, type <code><nowiki>{{!}}</nowiki>Name=Value</code>. For steel, I would type:
 
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 <nowiki>{{#switch:}}</nowiki> parser function. To define an object's mass, type <code><nowiki>{{!}}</nowiki>Name=Value</code>. For steel, I would type:

Revision as of 04:56, 4 June 2020

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