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

From RimWorld Wiki
Jump to navigation Jump to search
m (Marked For Deletion)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Obsolete}}
 
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>
Line 4: Line 5:
 
<!--Note that Template:! stands for the | symbol.-->
 
<!--Note that Template:! stands for the | symbol.-->
 
</pre>
 
</pre>
<noinclude>
 
[[Category:Pages_Marked_For_Deletion]]
 
</noinclude>
 

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