Difference between revisions of "Template:SimpleItembox/PropertyRow"

From Space Engineers Wiki
Jump to: navigation, search
m (Only show Text datatype translation if it exists)
m (Show untranslated value otherwise)
Line 4: Line 4:
 
     --><span><!--
 
     --><span><!--
 
       -->{{#ifeq:{{#show:Property:{{{2}}}|?Has type#-}} | Text
 
       -->{{#ifeq:{{#show:Property:{{{2}}}|?Has type#-}} | Text
         | {{#if:{{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}}}|{{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}{{lang}}}}}}
+
         | {{#if:{{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}}}
 +
          | {{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}{{lang}}}}
 +
          | {{#show: {{{1}}}|?{{{2}}}}}}}
 
         | {{#show: {{{1}}}|?{{{2}}}}}}}<!--
 
         | {{#show: {{{1}}}|?{{{2}}}}}}}<!--
 
     --></span><!--
 
     --></span><!--

Revision as of 13:59, 2 April 2020

{{SimpleItembox/PropertyRow|Page|Property}}

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

Result:
Mass