Difference between revisions of "Template:SimpleItembox/PropertyRow"

From Space Engineers Wiki
Jump to: navigation, search
(Removed Under Construction tag)
(Enabled property value translation for Text datatypes)
Line 2: Line 2:
 
   --><div style="display: flex; justify-content: space-between;"><!--
 
   --><div style="display: flex; justify-content: space-between;"><!--
 
     --><span>{{translate|Property:{{{2}}}}}:</span><!--
 
     --><span>{{translate|Property:{{{2}}}}}:</span><!--
     --><span>{{#show: {{{1}}}|?{{{2}}}}}</span><!--
+
     --><span><!--
 +
      -->{{#ifeq:{{#show:Property:{{{2}}}|?Has type#-}} | Text
 +
        | {{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}{{lang}}}}
 +
        | {{#show: {{{1}}}|?{{{2}}}}}}}<!--
 +
    --></span><!--
 
   --></div><!--
 
   --></div><!--
 
--></includeonly><noinclude><!--
 
--></includeonly><noinclude><!--

Revision as of 13:52, 2 April 2020

{{SimpleItembox/PropertyRow|Page|Property}}

Example: {{SimpleItembox/PropertyRow|SmallHydrogenTankSmall|Mass}}

Result:
Mass