Difference between revisions of "Template:Turret"

From MechWarrior: Living Legends Wiki
Jump to: navigation, search
m (set armament section height)
m
 
Line 5: Line 5:
 
| colspan="3" style="text-align:center; padding:0" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]  
 
| colspan="3" style="text-align:center; padding:0" | [[{{{Image}}} | {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]]  
 
|-
 
|-
| style="background:#33333; width:150px; height:75px" | Armament: || colspan="2" style="background:#383838" | {{{Weapons}}}
+
| style="background:#33333; width:150px; height:65px" | Armament: || colspan="2" style="background:#383838" | {{{Weapons}}}
 
|-
 
|-
 
| Armor || colspan="2" style="background:#383838" | {{{Armor}}}
 
| Armor || colspan="2" style="background:#383838" | {{{Armor}}}

Latest revision as of 15:41, 19 November 2019

Documentation icon Template documentation[view] [edit] [history] [purge]

This infobox template is for Turrets.

Usage

Calliope
Calliope.jpg
Armament:
Armor 4500
Detection Ranges
Battle Armor:
Mechs:
Vehicles:
VTOLs:
Aerospace Fighters:
250 meters
500 meters
500 meters
700 meters
700 meters

Blank Template

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Some parameters are not required and will not be displayed when left blank or omitted.

{{Turret
| Image = 
| ImageSize = 
| Name = 
| Weapons = <ul>
<li> 
<li> 
<li> 
<li> 
</ul>
| Armor = 
| Range BA = 
| Range Mech = 
| Range Vehicle = 
| Range ASF = 
| Range VTOL = 
}}

Parameters

Parameter Required Function
Image Yes Image name: File:abc.jpg, File:xpz.png, Image:123.gif; Image name must be prefixed with Image: or File: to function.
ImageSize No Image size is the width of the image. Will also determine the width of the infobox. Defaults to 350px when omitted.
Name Yes The name of the turret.
Weapons Yes Weapons used by the turret. Weapons require <ul> and <li> to function properly as unordered lists.
Armor Yes Armor at full health
Range BA Yes Detection range for Battle Armor in meters.
Range Mech Yes Detection range for Mechs in meters.
Range Vehicle Yes Detection range for Vehicles in meters.
Range VTOL Yes Detection range for VTOLs in meters.
Range ASF Yes Detection range for Aerospace Fighters in meters.