Template:MapInfoBox

Revision as of 15:27, 15 January 2023 by Hywell (talk | contribs) (Updating to remove dd2 planner parameter, actually adding documentation for how to set a minimap image, rearranging the parameters, and capitalizing "description" to conform with the rest of the parameters.)

Revision as of 15:27, 15 January 2023 by Hywell (talk | contribs) (Updating to remove dd2 planner parameter, actually adding documentation for how to set a minimap image, rearranging the parameters, and capitalizing "description" to conform with the rest of the parameters.)

[[

  1. ifexist:File:Minimap_{{{MapName}}}.png|200px]]

{{{MapName}}}


Main Cores: {{{MCores}}}
Sub Cores: {{{SCores}}}
Ground Lanes: {{{GLanes}}}
Air Lanes: {{{ALanes}}}
Defense Units: {{{DU}}}


Parameters

Parameter Description
Minimap File reference to the Minimap image. File:Minimap_{{{MapName}}}.png will be used if this parameter is not set.
MapName Name of the map.
Description Description of the map.
MCores Total amount of Main Cores.
SCores Total amount of Sub Cores.
GLanes Total amount of Ground Lanes.
ALanes Total amount of Air Lanes.
DU Defense Unit Limit.

Example

{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | MChests=1 | DU=50 | Description=Squire, put a description here.}} produces the following:

Minimap The Gates of Dragonfall.png

The Gates of Dragonfall


Main Cores: 1
Sub Cores: 1
Ground Lanes: 2
Air Lanes: 3
Defense Units: 50
Region:  ?

Squire, put a description here.