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

From RimWorld Wiki
Jump to navigation Jump to search
m (Marked For Deletion)
m (Changed Category)
Line 1: Line 1:
 +
<noinclude>
 +
{{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>
Line 4: Line 7:
 
<!--Note that Template:! stands for the | symbol.-->
 
<!--Note that Template:! stands for the | symbol.-->
 
</pre>
 
</pre>
<noinclude>
 
[[Category:Pages_Marked_For_Deletion]]
 
</noinclude>
 

Revision as of 22:19, 28 May 2020

Template:Modal Mark For Deletion

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