Difference between revisions of "Template:Resourcelist"

From StarMade Wiki
Line 165: Line 165:
  
 
   <th style="text-align:center">[[File:Basic Factory.png|50px|link=Basic Factory]]</br>[[Basic Factory]]</th>
 
   <th style="text-align:center">[[File:Basic Factory.png|50px|link=Basic Factory]]</br>[[Basic Factory]]</th>
   <td width="10px" style="background-color:yellow; border-right: solid 1px;"/> }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }}<!--Should have one less pair than the max number of "if" lines-->
+
   <td width="10px" style="background-color:yellow; border-right: solid 1px;"/>  
 +
}} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }} }}  }} }} }} }}<!--Should have one less pair than the max number of "if" lines-->
 
{{#if: {{{b1|}}}{{{b1a|}}} |
 
{{#if: {{{b1|}}}{{{b1a|}}} |
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{b1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{b1|}}}]]</td>
Line 448: Line 449:
  
 
{{#if: {{{s1|}}} |
 
{{#if: {{{s1|}}} |
{{#if: {{{s1|}}}{{{s1a|}}} |
+
<tr>
<tr style="text-align:center">
+
{{#if: {{{s2|}}}{{{s2a|}}} |
 +
  <th rowspan="2" style="text-align:center; border-top: solid 2px;">[[File:Standard Factory.png|50px|link=Standard Factory]]</br>[[Standard Factory]]</th>
 +
  <td rowspan="2" width="10px" style="background-color:orange; border-right: solid 1px; border-top: solid 2px;"/>|
 +
 
 
   <th style="text-align:center; border-top: solid 2px;">[[File:Standard Factory.png|50px|link=Standard Factory]]</br>[[Standard Factory]]</th>
 
   <th style="text-align:center; border-top: solid 2px;">[[File:Standard Factory.png|50px|link=Standard Factory]]</br>[[Standard Factory]]</th>
 
   <td width="10px" style="background-color:orange; border-right: solid 1px; border-top: solid 2px;"/>
 
   <td width="10px" style="background-color:orange; border-right: solid 1px; border-top: solid 2px;"/>
}}
+
}}<!--Should have one less pair than the max number of "if" lines-->
 
{{#if: {{{s1|}}}{{{s1a|}}} |
 
{{#if: {{{s1|}}}{{{s1a|}}} |
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 2px">[[{{{s1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 2px">[[{{{s1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 2px">[[File:{{{s1|}}}.png|50px|link={{{s1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 2px">[[File:{{{s1|}}}.png|50px|link={{{s1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 2px">'''x{{{s1a|1}}}'''</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 2px">'''x{{{s1a|1}}}'''</td>
}}}}
+
</tr>
 +
}}
 +
{{#if: {{{s2|}}}{{{s2a|}}} |
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{s2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{s2|}}}.png|50px|link={{{s2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{s2a|1}}}'''</td>
 +
</tr>
 +
}}
 +
}}
 
</tr>
 
</tr>
  
 
{{#if: {{{a1|}}} |
 
{{#if: {{{a1|}}} |
{{#if: {{{a1|}}}{{{a1a|}}} |
+
<tr>
<tr style="text-align:center">
+
{{#if: {{{a2|}}}{{{a2a|}}} |
 +
  <th rowspan="2" style="text-align:center; border-top: solid 2px;">[[File:Advanced Factory.png|50px|link=Advanced Factory]]</br>[[Advanced Factory]]</th>
 +
  <td rowspan="2" width="10px" style="background-color:red; border-right: solid 1px; border-top: solid 2px;"/>|
 +
 
 
   <th style="text-align:center; border-top: solid 2px;">[[File:Advanced Factory.png|50px|link=Advanced Factory]]</br>[[Advanced Factory]]</th>
 
   <th style="text-align:center; border-top: solid 2px;">[[File:Advanced Factory.png|50px|link=Advanced Factory]]</br>[[Advanced Factory]]</th>
 
   <td width="10px" style="background-color:red; border-right: solid 1px; border-top: solid 2px;"/>
 
   <td width="10px" style="background-color:red; border-right: solid 1px; border-top: solid 2px;"/>
}}
+
}}<!--Should have one less pair than the max number of "if" lines-->
 
{{#if: {{{a1|}}}{{{a1a|}}} |
 
{{#if: {{{a1|}}}{{{a1a|}}} |
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 2px">[[{{{a1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 2px">[[{{{a1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 2px">[[File:{{{a1|}}}.png|50px|link={{{a1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 2px">[[File:{{{a1|}}}.png|50px|link={{{a1|}}}]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 2px">'''x{{{a1a|1}}}'''</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 2px">'''x{{{a1a|1}}}'''</td>
}}}}
 
 
</tr>
 
</tr>
 +
}}
 +
{{#if: {{{a2|}}}{{{a2a|}}} |
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{a2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{a2|}}}.png|50px|link={{{a2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{a2a|1}}}'''</td>
 +
</tr>
 +
}}
 +
}}
 
</table>
 
</table>
  
Line 493: Line 515:
 
|s1=Grey Standard Armor
 
|s1=Grey Standard Armor
 
|s1a=1
 
|s1a=1
 +
|s2=Grey Standard Armor
 +
|s2a=1
 +
|a1=Grey Advanced Armor
 +
|a1a=1
 +
|a2=Grey Advanced Armor
 +
|a2a=1
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 23:39, 7 April 2019

This element is used in the production of:
Factory Creates Amount used


test