Difference between revisions of "Template:InfoboxTurret"
Jump to navigation
Jump to search
(Template creation) |
(Template example? Maybe?) |
||
Line 2: | Line 2: | ||
<tr> | <tr> | ||
<th style="text-align:center;" colspan=2> | <th style="text-align:center;" colspan=2> | ||
− | <div class="infobox-turret">{{{ | + | <div class="infobox-turret">{{{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> |
Revision as of 22:59, 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 = }}