Difference between revisions of "Template:GameMode"
From MechWarrior: Living Legends Wiki
DragonGod004 (talk | contribs) m (Added 10px margin to left side of infobox to prevent crowding with fluff text.) |
DragonGod004 (talk | contribs) (Infobox corrections, add doc page) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{| class="GameMode" style="border:1px solid #250b2d; 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:1px solid #250b2d; text-align:left; font-size:9pt; width:{{#if: {{{ImageSize|}}}|{{{ImageSize}}}px|350px}}; margin | ||
! 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 14: | Line 13: | ||
|- | |- | ||
{{#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> |
− | [[Category:Game Modes]] | + | <noinclude>[[Category:Infoboxes]] {{Documentation}}</noinclude> |
− | </includeonly> | ||
− | |||
− | <noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | </noinclude> |
Revision as of 23:13, 14 November 2017
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. |