Difference between revisions of "Template:SimpleItembox/ComponentRow"

From Space Engineers Wiki
Jump to: navigation, search
m (Exclude empty rows)
m (Switched to flexbox divs to allow for easy positioning of the Functional and Hack lines)
Line 1: Line 1:
<includeonly>{{#if: {{#show: {{{1}}}|?Component{{{2}}}#-}}|<tr><!--
+
<includeonly><!--
  --><td><!--
+
-->{{#if: {{#show: {{{1}}}|?Component{{{2}}}#-}}|<!--
    -->{{icon|{{#show: {{{1}}}|?Component{{{2}}}#-|default=No Image}}|small}}<!--
+
  --><div style="display: flex; justify-content: space-between; align-items:center; order:{{{2}}}"><!--
    -->[[{{#show: {{{1}}} | ?Component{{{2}}}#-|default=No Item}}{{lang}} |<!--
+
    --><div><!--
    -->&nbsp;{{translate|{{#show: {{{1}}}|?Component{{{2}}}#-|default=No Item}}}}]]<!--
+
      -->{{icon|{{#show: {{{1}}}|?Component{{{2}}}#-|default=No Image}}|small}}<!--
  --></td><!--
+
        -->[[{{#show: {{{1}}} | ?Component{{{2}}}#-|default=No Item}}{{lang}} |<!--
--><td align="right">{{#show: {{{1}}}|?Component{{{2}}}Amount#-|default=0}}</td></tr>}}</includeonly><noinclude>
+
        -->&nbsp;{{translate|{{#show: {{{1}}}|?Component{{{2}}}#-|default=No Item}}}}]]<!--
 +
      --></div><!--
 +
      -->{{#show: {{{1}}}|?Component{{{2}}}Amount#-|default=0}}<!--
 +
    --></div><!--
 +
-->}}<!--
 +
--></includeonly><noinclude>
 +
 
 
{{Under Construction}}
 
{{Under Construction}}
 
<pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre>
 
<pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre>

Revision as of 11:56, 1 April 2020


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