Difference between revisions of "Template:SimpleItembox/ComponentRow"

From Space Engineers Wiki
Jump to: navigation, search
m (Changed Hack-line component. Cleaned up code.)
m (Typo fix)
Line 2: Line 2:
 
-->{{#if: {{#show:{{{1}}}|?Component{{{2}}}#-}}|<!--
 
-->{{#if: {{#show:{{{1}}}|?Component{{{2}}}#-}}|<!--
 
HACK LINE
 
HACK LINE
βˆ’
     -->{{#ifeq: {{#show:{{{1}}}|?Component{{{2}}}#-}}|{{{Mod:Vanilla/Component/Computer|<!-- Place the Hack line above the Computer component
+
     -->{{#ifeq: {{#show:{{{1}}}|?Component{{{2}}}#-}}|{{Mod:Vanilla/Component/Computer|<!-- Place the Hack line above the Computer component
 
       -->{{#ifeq: {{#show:{{{1}}}|?CriticalComponent#-}}|{{{2}}}||<!-- Only show the hack line if it is not in the same place as the Functional line
 
       -->{{#ifeq: {{#show:{{{1}}}|?CriticalComponent#-}}|{{{2}}}||<!-- Only show the hack line if it is not in the same place as the Functional line
 
         --><div style="order:{{#show: {{{1}}}|?CriticalComponent#-}}; display: flex; align-items: center; max-height: 2px"><!--
 
         --><div style="order:{{#show: {{{1}}}|?CriticalComponent#-}}; display: flex; align-items: center; max-height: 2px"><!--
Line 24: Line 24:
 
<pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre>
 
<pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre>
  
βˆ’
<div style="max-width: 320px">{{SimpleItembox/ComponentRow|CubeSize/SmallHydrogenTankSmall|1}}</div>
+
<div style="max-width: 320px">{{SimpleItembox/ComponentRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|1}}</div>
  
 
</noinclude>
 
</noinclude>

Revision as of 18:49, 3 April 2020

🚧🚧🚧 Under Construction 🚧🚧🚧
Attention - This page is currently being actively worked on, and may contain incomplete information
{{SimpleItembox/ComponentRow|Page|Index}}
Steel Plate Icon.pngSteel Plate1