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

From RimWorld Wiki
Jump to navigation Jump to search
m (Changed Category)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
+
{{Obsolete}}
{{Modal mark for deletion}}
 
</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:
 
<pre>
 
<pre>

Latest revision as of 06:15, 6 February 2023

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