Difference between revisions of "Template:SimpleItembox/ComponentRow"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Adjusted example display width) |
Vox Serico (talk | contribs) m (Added conditional Hack line) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#if: {{#show: {{{1}}}|?Component{{{2}}}#-}}|<!-- | -->{{#if: {{#show: {{{1}}}|?Component{{{2}}}#-}}|<!-- | ||
+ | HACK LINE | ||
+ | -->{{#ifeq: {{#show: {{{1}}}|?Component{{{2}}}#-|Computer}}<!-- | ||
+ | -->{{#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|SmallHydrogenTankSmall}}}|?CriticalComponent#-}}; display: flex; align-items: center"><!-- | ||
+ | --><hr style="height: 2px; background-color: #486d82; flex-grow: 1"/><!-- | ||
+ | --><span style="line-height: 0.75em"> Hack </span><!-- | ||
+ | --><hr style="height: 2px; background-color: #486d82; flex-grow: 1"/><!-- | ||
+ | --></div><!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | HACK LINE END | ||
--><div style="display: flex; justify-content: space-between; align-items:center; order:{{{2}}}"><!-- | --><div style="display: flex; justify-content: space-between; align-items:center; order:{{{2}}}"><!-- | ||
--><div><!-- | --><div><!-- |
Revision as of 12:18, 1 April 2020
🚧🚧🚧 Under Construction 🚧🚧🚧 |
---|
Attention - This page is currently being actively worked on, and may contain incomplete information
|
{{SimpleItembox/ComponentRow|Page|Index}}