Difference between revisions of "Template:SimpleItembox/ComponentRow"

From Space Engineers Wiki
Jump to: navigation, search
m (Hack-line hiding fix)
(Component amount number formatting)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
           -->|{{#show:{{{1}}}|?Component{{{2}}}#-}}<!--
 
           -->|{{#show:{{{1}}}|?Component{{{2}}}#-}}<!--
 
         -->}}<!--
 
         -->}}<!--
         -->|{{#if: {{lang}}<!--
+
         -->|{{translate|{{#show: {{{1}}}|?Component{{{2}}}#-}}}}<!--
          -->|{{{{#show: {{{1}}}|?Component{{{2}}}#-}}{{lang}}}}<!--
 
          -->|{{#show: {{#show: {{{1}}}|?Component{{{2}}}#-}}|?Translation}}<!--
 
        -->}}<!--
 
 
       -->]]<!--
 
       -->]]<!--
 
     --></span><!--
 
     --></span><!--
 
COMPONENT NAME END
 
COMPONENT NAME END
 
COMPONENT AMOUNT
 
COMPONENT AMOUNT
     -->{{#show:{{{1}}}|?Component{{{2}}}Amount#-|default=0}}<!--
+
     -->{{#show:{{{1}}}|?Component{{{2}}}Amount|default=0}}<!--
 
COMPONENT AMOUNT END
 
COMPONENT AMOUNT END
 
   --></div><!--
 
   --></div><!--
Line 42: Line 39:
 
-->}}<!--
 
-->}}<!--
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
{{Under Construction}}
 
 
<pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre>
 
<pre>{{SimpleItembox/ComponentRow|Page|Index}}</pre>
  
 
<div style="max-width: 320px">{{SimpleItembox/ComponentRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|1}}</div></noinclude>
 
<div style="max-width: 320px">{{SimpleItembox/ComponentRow|Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|1}}</div></noinclude>

Latest revision as of 18:15, 18 May 2020

{{SimpleItembox/ComponentRow|Page|Index}}
Steel Plate Icon.pngSteel Plate1