Difference between revisions of "Template:SimpleItembox/ComponentRow"

From Space Engineers Wiki
Jump to: navigation, search
m
m (Hack-line hiding fix)
Line 31: Line 31:
 
HACK LINE
 
HACK LINE
 
   -->{{#ifeq: {{#show:{{{1}}}|?Component{{{2}}}#-}}|Mod:Vanilla/Component/Computer|<!-- Place the Hack line after the Computer component
 
   -->{{#ifeq: {{#show:{{{1}}}|?Component{{{2}}}#-}}|Mod:Vanilla/Component/Computer|<!-- Place the Hack line after the Computer component
     -->{{#ifexpr: {{#show:{{{1}}}|?CriticalComponent#-}} + 2 = {{{2}}}||<!-- Only show the hack line if it is not in the same place as the Functional line
+
     -->{{#ifexpr: {{#show:{{{1}}}|?CriticalComponent#-}} - 1 = {{{2}}}||<!-- Only show the hack line if it is not in the same place as the Functional line
 
       --><div style="order:{{{2}}}; display: flex; align-items: center; max-height: 2px"><!--
 
       --><div style="order:{{{2}}}; display: flex; align-items: center; max-height: 2px"><!--
 
       --><hr style="height: 2px; background-color: #486d82; flex-grow: 1"/><!--
 
       --><hr style="height: 2px; background-color: #486d82; flex-grow: 1"/><!--

Revision as of 21:49, 4 May 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