Difference between revisions of "Template:SimpleItembox/PropertyRow"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Changed parameters to allow for #printout units in the 1st parameter, thus reducing SimpleItembox call size) |
Vox Serico (talk | contribs) m |
||
Line 12: | Line 12: | ||
-->| {{#show: {{{1}}}|?{{#var:PROPERTY}}}}<!-- | -->| {{#show: {{{1}}}|?{{#var:PROPERTY}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->| {{#show: {{{1}}}|?{{ | + | -->| {{#show: {{{1}}}|?{{#var:PROPERTY}}{{#if:{{{3|}}}|#{{{3}}}|{{#var:UNIT}}}}}}}}<!-- |
--></span><!-- | --></span><!-- | ||
--></div><!-- | --></div><!-- |
Revision as of 02:59, 5 May 2020
{{SimpleItembox/PropertyRow|Page|Property|Unit}}
Example: {{SimpleItembox/PropertyRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|Mass}}
Mass109.8 kg
109,800 g
109,800,000 mg
0.11 t
109,800,000 mg
0.11 t
Example with unit conversion: {{SimpleItembox/PropertyRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|Mass|g}}
Mass109,800 g
109.8 kg
109,800,000 mg
0.11 t
109,800,000 mg
0.11 t
Example 2 with unit conversion: {{SimpleItembox/PropertyRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|Mass#g}}
Mass109,800 g
109.8 kg
109,800,000 mg
0.11 t
109,800,000 mg
0.11 t