Difference between revisions of "Template:Factorylist"

From StarMade Wiki
Line 4: Line 4:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
  <td style="text-align: center; border-bottom: solid 1px #383838; border-right: solid 1px"> <b>Product</b></td>
+
  <td style="text-align: center; border-bottom: solid 1px #383838; border-right: solid 1px"> <b>Products</b></td>
 
  <td colspan="3" style="text-align: center; border-bottom: solid 1px #383838;> <b>Resource(s)</b> </td>
 
  <td colspan="3" style="text-align: center; border-bottom: solid 1px #383838;> <b>Resource(s)</b> </td>
 
<tr>
 
<tr>
 
<th rowspan="3" style="text-align:center; border-right: solid 1px">{{{image|[[File:{{{type1|}}}.png|150px]]}}}<br/>[[{{{type1|}}}]]</th>
 
<th rowspan="3" style="text-align:center; border-right: solid 1px">{{{image|[[File:{{{type1|}}}.png|150px]]}}}<br/>[[{{{type1|}}}]]</th>
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{pt1}}}]]</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{p1t1}}}]]</td>
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{pr1|1}}}</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{p1r1|1}}}</td>
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{pt1|}}}.png|50px]]</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{p1t1|}}}.png|50px]]</td>
 +
</tr>
 +
{{#if: {{{p1t2|}}}{{{p1r2|}}} |
 +
<tr rowspan="2">
 +
    {{#if: {{{p1t2|}}} |
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{p1t2}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{p1r2|1}}}</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{p1t2|}}}.png|50px]]</td>
 +
}}}}
 +
{{#if: {{{p1t3|}}}{{{p1r3|}}} |
 +
<tr>
 +
    {{#if: {{{p1t2|}}} |
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{p1t3}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{p1r3|1}}}</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{p1t3|}}}.png|50px]]</td>
 +
}}}}
 +
</tr>
 +
 
 +
{{#if: {{{type2}}}|
 +
<tr>
 +
{{#if: {{{p2t1|}}} |
 +
<th rowspan="3" style="text-align:center; border-right: solid 1px">{{{image|[[File:{{{type2|}}}.png|150px]]}}}<br/>[[{{{type2|}}}]]</th>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{p2t1}}}]]</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{p2r1|1}}}</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{p2t1|}}}.png|50px]]</td>
 
</tr>
 
</tr>
 
{{#if: {{{pt2|}}}{{{pr2|}}} |
 
{{#if: {{{pt2|}}}{{{pr2|}}} |
 
<tr rowspan="2">
 
<tr rowspan="2">
 
     {{#if: {{{pt2|}}} |  
 
     {{#if: {{{pt2|}}} |  
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{pt2}}}]]</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{p2t2}}}]]</td>
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{pr2|1}}}</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{p2r2|1}}}</td>
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{pt2|}}}.png|50px]]</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{p2t2|}}}.png|50px]]</td>
 
}}}}
 
}}}}
 
{{#if: {{{pt3|}}}{{{pr3|}}} |
 
{{#if: {{{pt3|}}}{{{pr3|}}} |
 
<tr>
 
<tr>
 
     {{#if: {{{pt2|}}} |  
 
     {{#if: {{{pt2|}}} |  
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{pt3}}}]]</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[{{{p2t3}}}]]</td>
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{pr3|1}}}</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{p2r3|1}}}</td>
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{pt3|}}}.png|50px]]</td>
+
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{p2t3|}}}.png|50px]]</td>
}}}}
+
}}}}}}}}
 
</table>
 
</table>

Revision as of 20:33, 9 February 2019

Manufacturing Info
Products Resource(s)
150px
[[]]
[[{{{p1t1}}}]] x1 50px