Difference between revisions of "Template:SimpleItembox/PropertyRow"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Undo revision 23950 by Vox Serico (talk)) |
Vox Serico (talk | contribs) m |
||
Line 4: | Line 4: | ||
--><span><!-- | --><span><!-- | ||
-->{{#ifeq:{{#show:Property:{{{2}}}|?Has type#-}} | Text | -->{{#ifeq:{{#show:Property:{{{2}}}|?Has type#-}} | Text | ||
− | | {{#ifexist:Property:{{{2}}}/{{#show: | + | | {{#ifexist:Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}} |
− | | {{Property:{{{2}}}/{{#show: | + | | {{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}{{lang}}}} |
− | | {{#show: | + | | {{#show: {{{1}}}|?{{{2}}}}}}} |
− | | {{#show: | + | | {{#show: {{{1}}}|?{{{2}}}{{#if:{{{3}}}|#{{{3}}}}}}}}}<!-- |
--></span><!-- | --></span><!-- | ||
--></div><!-- | --></div><!-- | ||
--></includeonly><noinclude><!-- | --></includeonly><noinclude><!-- | ||
− | --><pre>{{SimpleItembox/PropertyRow|Page|Property}}</pre> | + | --><pre>{{SimpleItembox/PropertyRow|Page|Property|Unit}}</pre> |
− | Example: <code><nowiki>{{SimpleItembox/PropertyRow|CubeBlock/SmallHydrogenTankSmall|Mass}}</nowiki></code> | + | Example: <code><nowiki>{{SimpleItembox/PropertyRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|Mass}}</nowiki></code> |
− | Result: <div style="max-width: 320px">{{SimpleItembox/PropertyRow|CubeBlock/SmallHydrogenTankSmall|Mass}}</div> | + | Result: <div style="max-width: 320px">{{SimpleItembox/PropertyRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|Mass}}</div> |
+ | ---- | ||
+ | Example: <code><nowiki>{{SimpleItembox/PropertyRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|Mass|g}}</nowiki></code> | ||
+ | Result: <div style="max-width: 320px">{{SimpleItembox/PropertyRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|Mass|g}}</div> | ||
</noinclude> | </noinclude> |
Revision as of 19:11, 3 April 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: {{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