Difference between revisions of "Template:Turret"
From MechWarrior: Living Legends Wiki
(non required detection ranges and missile range) |
m (minor fix) |
||
Line 11: | Line 11: | ||
| colspan="3" style="background:#2a2a2a;text-align:center" | '''Detection Ranges''' | | colspan="3" style="background:#2a2a2a;text-align:center" | '''Detection Ranges''' | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | |{{#if: {{{Range BA|}}}|[[Battle Armor]]: }}<!-- | + | |{{#if: {{{Range BA|}}}|[[Battle Armor]]:<br> |}}<!-- |
− | -->{{#if: {{{Range Mech|}}} | | + | -->{{#if: {{{Range Mech|}}} |[[Mechs]]:<br> |}}<!-- |
− | -->{{#if: {{{Range Vehicle|}}} | | + | -->{{#if: {{{Range Vehicle|}}} |[[Vehicles]]:<br> |}}<!-- |
− | -->{{#if: {{{Range VTOL|}}} | | + | -->{{#if: {{{Range VTOL|}}} |[[VTOLs]]:<br> |}}<!-- |
− | -->{{#if: {{{Range ASF|}}} | | + | -->{{#if: {{{Range ASF|}}} |[[Aerospace Fighters]]:<br> |}}<!-- |
− | -->{{#if: {{{Range Missile|}}} | | + | -->{{#if: {{{Range Missile|}}} |[[Missiles]]: |}} |
− | | colspan="2" style="vertical-align:top; background:#383838" |{{#if: {{{Range BA|}}}|{{{Range BA}}} meters }}<!-- | + | | colspan="2" style="vertical-align:top; background:#383838" |{{#if: {{{Range BA|}}}|{{{Range BA}}} meters<br>| }}<!-- |
− | -->{{#if: {{{Range Mech|}}} | | + | -->{{#if: {{{Range Mech|}}} |{{{Range Mech}}} meters<br>| }}<!-- |
− | -->{{#if: {{{Range Vehicle|}}} | | + | -->{{#if: {{{Range Vehicle|}}} |{{{Range Vehicle}}} meters<br>| }}<!-- |
− | -->{{#if: {{{Range VTOL|}}} | | + | -->{{#if: {{{Range VTOL|}}} |{{{Range VTOL}}} meters<br>| }}<!-- |
− | -->{{#if: {{{Range ASF|}}} | | + | -->{{#if: {{{Range ASF|}}} |{{{Range ASF}}} meters<br>| }}<!-- |
− | -->{{#if: {{{Range Missile|}}} | | + | -->{{#if: {{{Range Missile|}}} |{{{Range Missile}}} meters| }} |
|- | |- | ||
|}[[Category:Structures]]</includeonly> | |}[[Category:Structures]]</includeonly> | ||
<noinclude>{{Documentation}} [[Category:Infoboxes]]</noinclude> | <noinclude>{{Documentation}} [[Category:Infoboxes]]</noinclude> |
Revision as of 14:28, 7 August 2019
This infobox template is for Turrets.
Usage
Calliope | ||
---|---|---|
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. |
The above documentation is transcluded from Template:Turret/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |