Difference between revisions of "Template:Moduletable"

From StarMade Wiki
(updated template)
(updated template)
Line 3: Line 3:
 
   <th style="font-size: 20px; text-align:center; padding:10px">
 
   <th style="font-size: 20px; text-align:center; padding:10px">
 
{{#if:{{{mod|}}}{{{comp|}}}| {{#if: {{{mod|}}}| Primary Module</th>|{{#if: {{{comp|}}}| Primary Computer</th>}} }} | }}
 
{{#if:{{{mod|}}}{{{comp|}}}| {{#if: {{{mod|}}}| Primary Module</th>|{{#if: {{{comp|}}}| Primary Computer</th>}} }} | }}
 +
{{#if:{{{inv|}}} |
 +
<th style="font-size: 20px; text-align:center; padding:10px">Inventory Module</th>| }}
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
 
   <th style="text-align:center">
 
   <th style="text-align:center">
 
{{#if:{{{mod|}}}{{{comp|}}}| {{#if: {{{mod|}}}| [[{{{mod|}}}]]</th>|{{#if: {{{comp|}}}| [[{{{comp|}}}]]</th>}} }} | }}
 
{{#if:{{{mod|}}}{{{comp|}}}| {{#if: {{{mod|}}}| [[{{{mod|}}}]]</th>|{{#if: {{{comp|}}}| [[{{{comp|}}}]]</th>}} }} | }}
 +
{{#if: {{{inv|}}}|
 +
  <th style="text-align:center"> [[Storage]]</th>| }}
 
  </tr>
 
  </tr>
 
   <td style="text-align:center">
 
   <td style="text-align:center">
 
{{#if:{{{mod|}}}{{{comp|}}}| {{#if: {{{mod|}}}|[[file:{{{mod|}}}.png|link={{{mod|}}}|150px]]</td>| {{#if: {{{comp|}}}| [[file:{{{comp|}}}.png|link={{{comp|}}}|150px]]</td>}} }} | }}
 
{{#if:{{{mod|}}}{{{comp|}}}| {{#if: {{{mod|}}}|[[file:{{{mod|}}}.png|link={{{mod|}}}|150px]]</td>| {{#if: {{{comp|}}}| [[file:{{{comp|}}}.png|link={{{comp|}}}|150px]]</td>}} }} | }}
 +
{{#if: {{{inv|}}}|
 +
  <td style="text-align:center">[[File:Storage.png|link=Storage|150px]]</td>| }}
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
   <th style="text-align:center">Connection Method</th>
+
{{#if: {{{inv|}}}|
 +
  <th colspan="2" style="text-align:center">Connection Method</th>|
 +
   <th style="text-align:center">Connection Method</th>}}
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
 +
{{#if:{{{inv|}}}|
 +
  <td colspan="2" style="text-align:center; font-size:12px; padding:5px">
 +
{{#if: {{{select|}}}{{{add|}}}| {{#if: {{{select|}}}| Select computer with {{k|select module}}<br/> and connect with {{K|cancel ship movement}}</td> | {{#if: {{{add|}}}| Place Adjacent to its computer.</td>}} }} | }}|
 
   <td style="text-align:center; font-size:12px; padding:5px">
 
   <td style="text-align:center; font-size:12px; padding:5px">
{{#if: {{{select|}}}{{{add|}}}| {{#if: {{{select|}}}| Select computer with {{k|select module}}<br/> and connect with {{K|cancel ship movement}}</td> | {{#if: {{{add|}}}| Place Adjacent to its computer.</td>}} }} | }}
+
{{#if: {{{select|}}}{{{add|}}}| {{#if: {{{select|}}}| Select computer with {{k|select module}}<br/> and connect with {{K|cancel ship movement}}</td> | {{#if: {{{add|}}}| Place Adjacent to its computer.</td>}} }} | }} }}
 
  </tr>
 
  </tr>
 
</table>
 
</table>

Revision as of 00:47, 28 March 2019




Connection Method
Primary Module
Cannon Barrel
Cannon Barrel.png
Connection Method
Select computer with C
and connect with V