Difference between revisions of "Template:BA"
From MechWarrior: Living Legends Wiki
DragonGod004 (talk | contribs) (Infobox corrections, add doc page) |
DragonGod004 (talk | contribs) (adjusted to match new infoboxs) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| | + | <includeonly>{| style="border:2px solid #e69710; text-align:left; font-size:9pt; width: 350px; margin: 0px 0px 10px 10px;" cellpadding="4" cellspacing="1" rules="all" align="right" |
− | ! colspan="3" style="background:#2a2a2a; text-align:center; width: | + | ! colspan="3" style="background:#2a2a2a; text-align:center; width: 350px; font-size:12pt" | {{PAGENAME}} |
|- | |- | ||
| 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}}]] |
Latest revision as of 05:36, 27 March 2018
This infobox template is for Battle Armor.
Usage
BA | ||
---|---|---|
Class: | Battle Armor | |
Faction | Clan | |
Ticket cost: | 1 upon destruction | |
Equipment | ||
Item | Price | |
Default: |
| |
Optional Weapons: |
|
|
Optional Deployables: |
|
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.
Blank template
{{BA | Image = | Name = | Class = | Faction = | Tickets = | Default = <ul> <li> <li> <li> <li> <li> </ul> | DefaultPrice = | Weapons = <ul> <li> <li> <li> <li> <li> <li> </ul> | WeaponsPrices = <ul> <li> <li> <li> <li> <li> <li> | Deployables = <ul> <li> <li> <li> </ul> | DeployablesPrices = <ul> <li> <li> <li> </ul> }}
Parameters
As noted before some parameters are optional, however some must be included. The following is a list of parameters, their functions, and whether or not they are required.
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 Asset. |
Faction | Yes | The Faction that the Asset Belongs to. |
Tickets | Yes | The number of tickets this asset gives on destruction in the TC gametype. |
Default | Yes | The default equipment that comes with this Asset. |
DefaultPrice | Yes | The default price of this Asset. |
Weapons | Yes | The weapons that are purchasable for this Asset. Multiple lines require <ul> and <li> to function properly as unordered lists. |
WeaponsPrices | Yes | The prices for purchasable weapons. Multiple lines require <ul> and <li> to function properly as unordered lists. Should match with Weapons parameter. |
Deployables | Yes | The deployable munitions (grenades) for this Asset. Multiple lines require <ul> and <li> to function properly as unordered lists. |
DeployablesPrices | Yes | The prices for deployables. Multiple lines require <ul> and <li> to function properly as unordered lists. Should match with Deployables parameter. |
The above documentation is transcluded from Template:BA/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |