Difference between revisions of "Template:SimpleItembox/PropertyRow"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Added special case for properties of Page type) |
Vox Serico (talk | contribs) m (Page type bugfix) |
||
Line 12: | Line 12: | ||
-->| {{#var:VALUE}}<!-- | -->| {{#var:VALUE}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | -->|Page={{#if: {{#show:{{{1}}}|?{{#var:PROPERTY}}|?TypeId}}<!-- | + | -->|Page={{#if: {{#show:{{#show:{{{1}}}|?{{#var:PROPERTY}}}}|?TypeId}}<!-- |
-->|{{icon|{{#vardefineecho:VALUE|{{#show: {{{1}}}|?{{#var:PROPERTY}}#-}}}}|tiny}} [[{{#show:{{#var:VALUE}}|?Main_article#-}}{{lang}}|{{Translate|{{#var:VALUE}}}}]]<!-- | -->|{{icon|{{#vardefineecho:VALUE|{{#show: {{{1}}}|?{{#var:PROPERTY}}#-}}}}|tiny}} [[{{#show:{{#var:VALUE}}|?Main_article#-}}{{lang}}|{{Translate|{{#var:VALUE}}}}]]<!-- | ||
-->|{{Translate|{{#show: {{{1}}}|?{{#var:PROPERTY}}#-}}}}<!-- | -->|{{Translate|{{#show: {{{1}}}|?{{#var:PROPERTY}}#-}}}}<!-- |
Revision as of 21:50, 20 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
(Obsolete) 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 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