Difference between revisions of "Template:InfoboxTurret"

From BTAWiki
Jump to navigation Jump to search
(Template creation)
 
m
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<tr>
 
<tr>
 
<th style="text-align:center;" colspan=2>
 
<th style="text-align:center;" colspan=2>
<div class="infobox-turret">{{{variantname|{{PAGENAME}}}}}</div>
+
<div class="infobox-turretname">{{{turretname|{{PAGENAME}}}}}</div>
 
</th>
 
</th>
 
</tr>
 
</tr>
Line 56: Line 56:
 
    
 
    
 
</table>
 
</table>
 +
 +
<noinclude>Basic template to create Infoboxes for Turrets. Example below. Note that you can specify up to 12 equipment per location (weapons/ammo). You MUST use #1 though for the row to not be hidden. Any unused info is automatically hidden, so exclude it if you want it hidden.
 +
<pre>
 +
{{InfoboxTurret
 +
|turretname =
 +
|image = TurretName.png
 +
|class =
 +
|maxdamage =
 +
|maxstability =
 +
|maxheat =
 +
|armor =
 +
|structure =
 +
|weapon1 =
 +
|weapon2 =
 +
|weapon3 =
 +
|weapon4 =
 +
|weapon5 =
 +
|weapon6 =
 +
|weapon7 =
 +
|weapon8 =
 +
|weapon9 =
 +
|weapon10 =
 +
|weapon11 =
 +
|weapon12 =
 +
|ammo1 =
 +
|ammo2 =
 +
|ammo3 =
 +
|ammo4 =
 +
|ammo5 =
 +
|ammo6 =
 +
|ammo7 =
 +
|ammo8 =
 +
|ammo9 =
 +
|ammo10 =
 +
|ammo11 =
 +
|ammo12 =
 +
}}
 +
</pre>
 +
</noinclude>

Latest revision as of 23:35, 17 February 2021

InfoboxTurret
Specifications
Equipment

Basic template to create Infoboxes for Turrets. Example below. Note that you can specify up to 12 equipment per location (weapons/ammo). You MUST use #1 though for the row to not be hidden. Any unused info is automatically hidden, so exclude it if you want it hidden.

{{InfoboxTurret
|turretname = 
|image = TurretName.png
|class = 
|maxdamage = 
|maxstability = 
|maxheat = 
|armor = 
|structure = 
|weapon1 = 
|weapon2 = 
|weapon3 = 
|weapon4 = 
|weapon5 = 
|weapon6 = 
|weapon7 = 
|weapon8 = 
|weapon9 = 
|weapon10 = 
|weapon11 = 
|weapon12 = 
|ammo1 = 
|ammo2 = 
|ammo3 = 
|ammo4 = 
|ammo5 = 
|ammo6 = 
|ammo7 = 
|ammo8 = 
|ammo9 = 
|ammo10 = 
|ammo11 = 
|ammo12 = 
}}