Difference between revisions of "Template:Define/Mass"
Jump to navigation
Jump to search
(...) |
(Stop breaking things spdskatr) |
||
Line 3: | Line 3: | ||
{{#switch:{{{1}}} <!--Exclusion zone--> | {{#switch:{{{1}}} <!--Exclusion zone--> | ||
|Plant= | |Plant= | ||
− | |#default={{Entry| [[Mass]] | {{#if:{{{ | + | |#default={{Entry| [[Mass]] | {{#if:{{{2|}}}|{{P|{{{2}}}}}|{{#switch:{{{1}}}<!--Define masses of entire categories--> |
|Raw Inedible=0.03 | |Raw Inedible=0.03 | ||
|#default={{#switch:{{BASEPAGENAME}}<!--This can also be used to define masses of certain pages.--> | |#default={{#switch:{{BASEPAGENAME}}<!--This can also be used to define masses of certain pages.--> |
Revision as of 09:54, 28 December 2016
Template:Define/Mass has been deprecated or removed from the wiki; it is no longer updated or in use |
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.-->
The above documentation is transcluded from Template:Define/Mass/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |