Difference between revisions of "Template:Resourcelist"

From StarMade Wiki
Line 6: Line 6:
 
   <th style="text-align:center; border-bottom:solid 1px #383838"> Amount used </th>
 
   <th style="text-align:center; border-bottom:solid 1px #383838"> Amount used </th>
 
</tr>
 
</tr>
 +
{{#if: {{{r1|}}} |
 +
<tr>
 +
{{#if: {{{r3|}}} {{{r3a|}}} |
 +
  <th rowspan="3" style="text-align:center">'''Inventory'''</br><small>''(Refine Raw Materials)''</small></th>
 +
  <td rowspan="3" width="10px" style="background-color:azure; border-right: solid 1px;"/>  |
 +
 +
{{#if: {{{r2|}}} {{{r2a|}}} |
 +
  <th rowspan="2" style="text-align:center">'''Inventory'''</br><small>''(Refine Raw Materials)''</small></th>
 +
  <td rowspan="2" width="10px" style="background-color:azure; border-right: solid 1px;"/>  |
 +
 +
  <th style="text-align:center">'''Inventory'''</br><small>''(Refine Raw Materials)''</small></th>
 +
  <td width="10px" style="background-color:azure; border-right: solid 1px;"/>
 +
}} }}
 +
{{#if: {{{r1|}}}{{{r1a|}}} |
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{r1|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{r1|}}}.png|50px|link={{{r1|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{r1a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{r2|}}}{{{r2a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{r2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{r2|}}}.png|50px|link={{{r2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{r2a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{r3|}}}{{{r3a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{r3|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{r3|}}}.png|50px|link={{{r3|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{r3a|1}}}'''</td>
 +
</tr>
 +
}}
 +
}}
 +
 +
{{#if: {{{g1|}}} |
 +
<tr>
 +
{{#if: {{{g3|}}} {{{g3a|}}} |
 +
  <th rowspan="3" style="text-align:center; border-top: solid 2px;">'''Inventory'''</br><small>''(Craft Generic Materials)''</small></th>
 +
  <td rowspan="3" width="10px" style="background-color:lavender; border-right: solid 1px; border-top: solid 2px;"/>  |
 +
 +
{{#if: {{{g2|}}} {{{g2a|}}} |
 +
  <th rowspan="2" style="text-align:center; border-top: solid 2px;">'''Inventory'''</br><small>''(Craft Generic Materials)''</small></th>
 +
  <td rowspan="2" width="10px" style="background-color:lavender; border-right: solid 1px; border-top: solid 2px;"/>  |
 +
 +
  <th style="text-align:center; border-top: solid 2px;">'''Inventory'''</br><small>''(Craft Generic Materials)''</small></th>
 +
  <td width="10px" style="background-color:lavender; border-right: solid 1px; border-top: solid 2px;"/>
 +
}} }}
 +
{{#if: {{{g1|}}}{{{g1a|}}} |
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838; border-top: solid 2px;">[[{{{g1|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838; border-top: solid 2px;">[[File:{{{g1|}}}.png|50px|link={{{g1|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838; border-top: solid 2px;">'''x{{{g1a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{g2|}}}{{{g2a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{g2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{g2|}}}.png|50px|link={{{g2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{g2a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{g3|}}}{{{g3a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{g3|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{g3|}}}.png|50px|link={{{g3|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{g3a|1}}}'''</td>
 +
</tr>
 +
}}
 +
}}
 +
 +
{{#if: {{{c1|}}} |
 +
<tr>
 +
{{#if: {{{c5|}}} {{{c5a|}}} |
 +
  <th rowspan="5" style="text-align:center">[[File:Capsule Refinery.png|50px|link=Capsule Refinery]]</br>[[Capsule Refinery]]</th>
 +
  <td rowspan="5" width="10px" style="background-color:blue; border-right: solid 1px;"/>  |
 +
 +
{{#if: {{{c4|}}} {{{c4a|}}} |
 +
  <th rowspan="4" style="text-align:center">[[File:Capsule Refinery.png|50px|link=Capsule Refinery]]</br>[[Capsule Refinery]]</th>
 +
  <td rowspan="4" width="10px" style="background-color:blue; border-right: solid 1px;"/>  |
 +
 +
{{#if: {{{c3|}}} {{{c3a|}}} |
 +
  <th rowspan="3" style="text-align:center">[[File:Capsule Refinery.png|50px|link=Capsule Refinery]]</br>[[Capsule Refinery]]</th>
 +
  <td rowspan="3" width="10px" style="background-color:blue; border-right: solid 1px;"/>  |
 +
 +
{{#if: {{{c2|}}} {{{c2a|}}} |
 +
  <th rowspan="2" style="text-align:center">[[File:Capsule Refinery.png|50px|link=Capsule Refinery]]</br>[[Capsule Refinery]]</th>
 +
  <td rowspan="2" width="10px" style="background-color:blue; border-right: solid 1px;"/>  |
 +
 +
  <th style="text-align:center">[[File:Capsule Refinery.png|50px|link=Capsule Refinery]]</br>[[Capsule Refinery]]</th>
 +
  <td width="10px" style="background-color:blue; border-right: solid 1px;"/>
 +
}} }} }} }}
 +
{{#if: {{{c1|}}}{{{c1a|}}} |
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{c1|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{c1|}}}.png|50px|link={{{c1|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{c1a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{c2|}}}{{{c2a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{c2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{c2|}}}.png|50px|link={{{c2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{c2a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{c3|}}}{{{c3a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{c3|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{c3|}}}.png|50px|link={{{c3|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{c3a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{c4|}}}{{{c4a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{c4|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{c4|}}}.png|50px|link={{{c4|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{c4a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{c5|}}}{{{c5a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{c5|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{c5|}}}.png|50px|link={{{c5|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{c5a|1}}}'''</td>
 +
</tr>
 +
}}
 +
}}
 +
 +
{{#if: {{{m1|}}} |
 +
<tr>
 +
{{#if: {{{m5|}}} {{{m5a|}}} |
 +
  <th rowspan="5" style="text-align:center; border-top: solid 2px;">[[File:Micro Assembler.png|50px|link=Micro Assembler]]</br>[[Micro Assembler]]</th>
 +
  <td rowspan="5" width="10px" style="background-color:cyan; border-right: solid 1px; border-top: solid 2px;"/>  |
 +
 +
{{#if: {{{m4|}}} {{{m4a|}}} |
 +
  <th rowspan="4" style="text-align:center; border-top: solid 2px;">[[File:Micro Assembler.png|50px|link=Micro Assembler]]</br>[[Micro Assembler]]</th>
 +
  <td rowspan="4" width="10px" style="background-color:cyan; border-right: solid 1px; border-top: solid 2px;"/>  |
 +
 +
{{#if: {{{m3|}}} {{{m3a|}}} |
 +
  <th rowspan="3" style="text-align:center; border-top: solid 2px;">[[File:Micro Assembler.png|50px|link=Micro Assembler]]</br>[[Micro Assembler]]</th>
 +
  <td rowspan="3" width="10px" style="background-color:cyan; border-right: solid 1px; border-top: solid 2px;"/>  |
 +
 +
{{#if: {{{m2|}}} {{{m2a|}}} |
 +
  <th rowspan="2" style="text-align:center; border-top: solid 2px;">[[File:Micro Assembler.png|50px|link=Micro Assembler]]</br>[[Micro Assembler]]</th>
 +
  <td rowspan="2" width="10px" style="background-color:cyan; border-right: solid 1px; border-top: solid 2px;"/>  |
 +
 +
  <th style="text-align:center; border-top: solid 2px;">[[File:Micro Assembler.png|50px|link=Micro Assembler]]</br>[[Micro Assembler]]</th>
 +
  <td width="10px" style="background-color:cyan; border-right: solid 1px; border-top: solid 2px;"/>
 +
}} }} }} }}
 +
{{#if: {{{m1|}}}{{{m1a|}}} |
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838; border-top: solid 2px;">[[{{{m1|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838; border-top: solid 2px;">[[File:{{{m1|}}}.png|50px|link={{{m1|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838; border-top: solid 2px;">'''x{{{m1a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{m2|}}}{{{m2a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{m2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{m2|}}}.png|50px|link={{{m2|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{m2a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{m3|}}}{{{m3a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{m3|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{m3|}}}.png|50px|link={{{m3|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{m3a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{m4|}}}{{{m4a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{m4|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{m4|}}}.png|50px|link={{{m4|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{m4a|1}}}'''</td>
 +
</tr>
 +
}}
 +
{{#if: {{{m5|}}}{{{m5a|}}} |
 +
<tr>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">[[{{{m5|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px; border-top: solid 1px #383838;">[[File:{{{m5|}}}.png|50px|link={{{m5|}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838; border-top: solid 1px #383838;">'''x{{{m5a|1}}}'''</td>
 +
</tr>
 +
}}
 +
}}
 +
 
{{#if: {{{b1|}}} |
 
{{#if: {{{b1|}}} |
 
<tr>
 
<tr>
Line 1,228: Line 1,412:
 
test
 
test
 
{{resourcelist
 
{{resourcelist
|b1=Grey Hull
 
|b1a=2
 
|b2=Grey Hull
 
|b2a=2
 
|s1=Grey Standard Armor
 
|s1a=1
 
|s2=Grey Standard Armor
 
|s2a=1
 
|s3=Grey Standard Armor
 
|s3a=1
 
|s4=Grey Standard Armor
 
|s4a=1
 
 
|a1=Grey Advanced Armor
 
|a1=Grey Advanced Armor
|a1a=1
+
|a1a=3
|a2=Grey Advanced Armor
 
|a2a=1
 
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 01:12, 9 April 2019

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


test

This element is used in the production of:
Factory Creates Amount used
Advanced Factory.png
Advanced Factory
Grey Advanced Armor Grey Advanced Armor.png x3