Difference between revisions of "Template:SimpleItembox/PropertyRow"

From Space Engineers Wiki
Jump to: navigation, search
m (Missing braces)
m (Updated links to Mod:Vanilla/)
Line 4: Line 4:
 
     --><span><!--
 
     --><span><!--
 
       -->{{#ifeq:{{#show:Property:{{{2}}}|?Has type#-}} | Text
 
       -->{{#ifeq:{{#show:Property:{{{2}}}|?Has type#-}} | Text
         | {{#ifexist:Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}
+
         | {{#ifexist:Property:{{{2}}}/{{#show: Mod:Vanilla/{{{1}}}|?{{{2}}}}}
           | {{Property:{{{2}}}/{{#show: {{{1}}}|?{{{2}}}}}{{lang}}}}
+
           | {{Property:{{{2}}}/{{#show: Mod:Vanilla/{{{1}}}|?{{{2}}}}}{{lang}}}}
           | {{#show: {{{1}}}|?{{{2}}}}}}}
+
           | {{#show: Mod:Vanilla/{{{1}}}|?{{{2}}}}}}}
         | {{#show: {{{1}}}|?{{{2}}}}}}}<!--
+
         | {{#show: Mod:Vanilla/{{{1}}}|?{{{2}}}}}}}<!--
 
     --></span><!--
 
     --></span><!--
 
   --></div><!--
 
   --></div><!--
Line 13: Line 13:
  
 
--><pre>{{SimpleItembox/PropertyRow|Page|Property}}</pre>
 
--><pre>{{SimpleItembox/PropertyRow|Page|Property}}</pre>
Example: <code><nowiki>{{SimpleItembox/PropertyRow|SmallHydrogenTankSmall|Mass}}</nowiki></code>
+
Example: <code><nowiki>{{SimpleItembox/PropertyRow|CubeBlock/SmallHydrogenTankSmall|Mass}}</nowiki></code>
Result: <div style="max-width: 320px">{{SimpleItembox/PropertyRow|SmallHydrogenTankSmall|Mass}}</div>
+
Result: <div style="max-width: 320px">{{SimpleItembox/PropertyRow|CubeBlock/SmallHydrogenTankSmall|Mass}}</div>
  
 
</noinclude>
 
</noinclude>

Revision as of 17:20, 2 April 2020

{{SimpleItembox/PropertyRow|Page|Property}}

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

Result:
Mass