Difference between revisions of "Template:Moduletable"

From StarMade Wiki
(updated template)
Line 1: Line 1:
 
<table class="wikitable>
 
<table class="wikitable>
{{#if:{{{mod}}}|
 
 
  <tr>
 
  <tr>
   <th style="font-size: 20px; text-align:center">Primary Module</th>
+
   <th style="font-size: 20px; text-align:center; padding:10px">
 +
{{#if:{{{mod|}}}{{{comp|}}}| {{#if: {{{mod|}}}| Primary Module</th>|{{#if: {{{comp|}}}| Primary Computer</th>}} }} | }}
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
   <th style="text-align:center">[[{{{mod|}}}]]</th>
+
   <th style="text-align:center">
 +
{{#if:{{{mod|}}}{{{comp|}}}| {{#if: {{{mod|}}}| [[{{{mod|}}}]]</th>|{{#if: {{{comp|}}}| [[{{{comp|}}}]]</th>}} }} | }}
 
  </tr>
 
  </tr>
   <td style="text-align:center">[[file:{{{mod|}}}.png|link={{{mod|}}}|150px]]</td>
+
   <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>}} }} | }}
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
Line 13: Line 15:
 
  </tr>
 
  </tr>
 
  <tr>
 
  <tr>
   <td style="text-align:center; font-size:12px">Select computer with {{k|select module}}<br/> and connect with {{K|cancel ship movement}}</td>
+
   <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>}} }} | }}
 
  </tr>
 
  </tr>
}}
 
 
</table>
 
</table>
 
<noinclude>
 
<noinclude>
{{computertable
+
{{moduletable
 
|mod=Cannon Barrel
 
|mod=Cannon Barrel
 +
|select=true
 
}}
 
}}
 +
</noinclude>

Revision as of 00:26, 28 March 2019

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