Difference between revisions of "Template:SimpleItembox/ComponentRow"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Updated remaining links) |
Vox Serico (talk | contribs) m (Changed Hack-line component. Cleaned up code.) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#if: {{#show: | + | -->{{#if: {{#show:{{{1}}}|?Component{{{2}}}#-}}|<!-- |
HACK LINE | HACK LINE | ||
− | -->{{#ifeq: {{#show: | + | -->{{#ifeq: {{#show:{{{1}}}|?Component{{{2}}}#-}}|{{{Mod:Vanilla/Component/Computer|<!-- Place the Hack line above the Computer component |
− | -->{{#ifeq: {{#show: | + | -->{{#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 | + | --><div style="order:{{#show: {{{1}}}|?CriticalComponent#-}}; 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"/><!-- | ||
--><span style="line-height: 0.5em; font-size: 0.75em"> {{SimpleItembox/Hack{{lang}}}} </span><!-- | --><span style="line-height: 0.5em; font-size: 0.75em"> {{SimpleItembox/Hack{{lang}}}} </span><!-- | ||
Line 14: | Line 14: | ||
--><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><!-- | ||
− | -->[[File:{{#show: | + | -->[[File:{{#show:{{#show:{{{1}}}|?Component{{{2}}}#-}}|?Icon#-|default=No Image Icon.png}}|32px]] <!-- |
− | + | -->[[{{#show:{{{1}}}|?Component{{{2}}}#-|default=No Item}}{{lang}}|{{translate|{{#show: {{{1}}}|?Component{{{2}}}#-|default=No Item}}}}]]<!-- | |
− | + | --></div><!-- | |
− | + | -->{{#show:{{{1}}}|?Component{{{2}}}Amount#-|default=0}}<!-- | |
− | |||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
− | |||
{{Under Construction}} | {{Under Construction}} | ||
<pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre> | <pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre> |
Revision as of 18:45, 3 April 2020
🚧🚧🚧 Under Construction 🚧🚧🚧 |
---|
Attention - This page is currently being actively worked on, and may contain incomplete information
|
{{SimpleItembox/ComponentRow|Page|Index}}