Difference between revisions of "Template:SimpleItembox/ComponentRow"
From Space Engineers Wiki
Vox Serico (talk | contribs) m (Translate Hack line) |
Vox Serico (talk | contribs) m (Updated links to Mod:Vanilla/) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#if: {{#show: {{{1}}}|?Component{{{2}}}#-}}|<!-- | + | -->{{#if: {{#show: Mod:Vanilla/{{{1}}}|?Component{{{2}}}#-}}|<!-- |
HACK LINE | HACK LINE | ||
− | -->{{#ifeq: {{#show: {{{1}}}|?Component{{{2}}}#-}}|Computer|<!-- | + | -->{{#ifeq: {{#show: Mod:Vanilla/{{{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 | + | -->{{#ifeq: {{#show: Mod:Vanilla/{{{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; max-height: 2px"><!-- | --><div style="order:{{#show: {{{1|SmallHydrogenTankSmall}}}|?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"/><!-- | ||
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><!-- | ||
− | -->{{icon|{{#show: {{{1}}}|?Component{{{2}}}#-|default=No Image}}|small}}<!-- | + | -->{{icon|{{#show: Mod:Vanilla/{{{1}}}|?Component{{{2}}}#-|default=No Image}}|small}}<!-- |
− | -->[[{{#show: {{{1}}} | ?Component{{{2}}}#-|default=No Item}}{{lang}} |<!-- | + | -->[[{{#show: Mod:Vanilla/{{{1}}} | ?Component{{{2}}}#-|default=No Item}}{{lang}} |<!-- |
− | --> {{translate|{{#show: {{{1}}}|?Component{{{2}}}#-|default=No Item}}}}]]<!-- | + | --> {{translate|{{#show: Mod:Vanilla/{{{1}}}|?Component{{{2}}}#-|default=No Item}}}}]]<!-- |
--></div><!-- | --></div><!-- | ||
− | -->{{#show: {{{1}}}|?Component{{{2}}}Amount#-|default=0}}<!-- | + | -->{{#show: Mod:Vanilla/{{{1}}}|?Component{{{2}}}Amount#-|default=0}}<!-- |
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 26: | Line 26: | ||
<pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre> | <pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre> | ||
− | <div style="max-width: 320px">{{SimpleItembox/ComponentRow|SmallHydrogenTankSmall|1}}</div> | + | <div style="max-width: 320px">{{SimpleItembox/ComponentRow|CubeSize/SmallHydrogenTankSmall|1}}</div> |
</noinclude> | </noinclude> |
Revision as of 17:24, 2 April 2020
🚧🚧🚧 Under Construction 🚧🚧🚧 |
---|
Attention - This page is currently being actively worked on, and may contain incomplete information
|
{{SimpleItembox/ComponentRow|Page|Index}}