Difference between revisions of "Template:Factorylist"

From StarMade Wiki
Line 7: Line 7:
 
  <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="2" 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;>[[{{{pt1}}}]]</td>
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>x{{{pr1}}}</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;>[[File:{{{pt1|}}}.png|75px]]</td>
 
   <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{pt1|}}}.png|75px]]</td>
 
</tr>
 
</tr>
 +
{{#if: {{{pt2|}}}{{{pr2|}}} |
 +
<tr rowspan="2">
 +
    {{#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;>x{{{pr2|1}}}</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{pt2|}}}.png|75px]]</td>
 +
}}}}
 +
{{#if: {{{pt2|}}}{{{pr2|}}}{{{pt3|}}}{{{pr3|}}} |
 +
<tr>
 +
    {{#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;>x{{{pr3|1}}}</td>
 +
  <td style="padding-left: 1em; padding-right: 1em; text-align: center; border-right: solid 1px #383838;>[[File:{{{pt3|}}}.png|75px]]</td>
 +
}}}}
 
</table>
 
</table>

Revision as of 20:18, 9 February 2019

Manufacturing Info
Product Resource(s)
150px
[[]]
[[{{{pt1}}}]] x1 75px