Difference between revisions of "Template:SimpleItembox/PropertyRow"

From Space Engineers Wiki
Jump to: navigation, search
m (Show untranslated value otherwise)
m (if -> ifexist)
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}}}}}}}
+
         | {{#ifexist:Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}
 
           | {{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}{{lang}}}}
 
           | {{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}{{lang}}}}
 
           | {{#show: {{{1}}}|?{{{2}}}}}}}
 
           | {{#show: {{{1}}}|?{{{2}}}}}}}

Revision as of 14:13, 2 April 2020

{{SimpleItembox/PropertyRow|Page|Property}}

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

Result:
Mass