Difference between revisions of "Template:GameMode"
From MechWarrior: Living Legends Wiki
DragonGod004 (talk | contribs) (Create GameMode template) |
DragonGod004 (talk | contribs) m (Updated border color) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{| class="GameMode" style="border:2px solid #e69710; text-align:left; font-size:9pt; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; margin: 0px 0px 10px 10px;" cellpadding="4" cellspacing="1" rules="all" align="right" |
− | {| class="GameMode" style="border: | ||
! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; font-size:12pt" | {{PAGENAME}} | ! colspan="3" style="background:#2a2a2a; text-align:center; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; font-size:12pt" | {{PAGENAME}} | ||
|- | |- | ||
Line 9: | Line 8: | ||
| Winning Condition: || colspan="2" style="background:#383838" | {{{Winning}}} | | Winning Condition: || colspan="2" style="background:#383838" | {{{Winning}}} | ||
|- | |- | ||
− | | | + | | Recommended Players: || colspan="2" style="background:#383838" | {{{RecPlayers}}} |
|- | |- | ||
| Uses Maps: || colspan="2" style="background:#383838" | {{{Uses maps}}} | | Uses Maps: || colspan="2" style="background:#383838" | {{{Uses maps}}} | ||
|- | |- | ||
{{#if: {{{Image|}}} | | {{#if: {{{Image|}}} | | ||
− | {{!}} colspan="3" style="text-align:center" {{!}} [[{{{Image}}} {{!}} {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]] | + | {{!}} colspan="3" style="text-align:center; padding:0" {{!}} [[{{{Image}}} {{!}} {{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}]] |
|}} | |}} | ||
− | |} | + | |}[[Category:Game Modes]]</includeonly> |
− | + | <noinclude>[[Category:Infoboxes]] {{Documentation}}</noinclude> | |
− | [[Category:Game Modes]] | ||
− | </includeonly> | ||
− | |||
− | <noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | </noinclude> |
Latest revision as of 23:24, 1 March 2018
This infobox template is for Game Modes.
Usage
GameMode | ||
---|---|---|
Team Based: | Yes | |
CBills: | Rank | |
Winning Condition: | Score, Tickets | |
Recommended Players: | 6+ | |
Uses Maps: | TSA, TC | |
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
{{Game Mode| | Name = | Teams = | Money = | Winning = | RecPlayers = | Uses maps = | Image = }}
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 | No | 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 if included. Defaults to 350px when omitted. |
Teams | Yes | Whether this game mode has team play or is free-for-all. |
Money | Yes | How money is handled (eg: fixed, ranked) |
Winning | Yes | The conditions to win this Game Mode. |
RecPlayers | Yes | The recommended player count for this Game Mode. |
Uses maps | Yes | The map prefix or prefixes for maps that are compatible with this Game Mode. Multiple lines require <ul> and <li> to function properly as unordered lists. |
The above documentation is transcluded from Template:GameMode/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. |