Difference between revisions of "Template:MapInfoBox"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
m (Protected "Template:MapInfoBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Line 18: Line 18:
 
| style="padding:4px; text-align:right; border-right:3px solid;"| Mana Chests
 
| style="padding:4px; text-align:right; border-right:3px solid;"| Mana Chests
 
| style="padding:4px; text-align:left;" | {{{MChests}}}
 
| style="padding:4px; text-align:left;" | {{{MChests}}}
 +
|-
 +
| style="padding:4px; text-align:right; border-right:3px solid;"| Defense Units
 +
| style="padding:4px; text-align:left;" | {{{DU}}}
 
|}
 
|}
 
</div>
 
</div>
Line 40: Line 43:
 
|-
 
|-
 
| MChests|| Total amount of Chests on the map.
 
| MChests|| Total amount of Chests on the map.
 +
|-
 +
| DU || Defense Unit Limit.
 
|-
 
|-
 
| description || ''(optional)'' Description of the map.
 
| description || ''(optional)'' Description of the map.
Line 49: Line 54:
  
 
===Example===
 
===Example===
<nowiki>{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | MChests=1 | description=Squire, put a description here.}}</nowiki> produces the following:
+
<nowiki>{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | MChests=1 | DU=50 | description=Squire, put a description here.}}</nowiki> produces the following:
  
{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | MChests=1 | description=Squire, put a description here.}}
+
{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | MChests=1 | DU=50 | description=Squire, put a description here.}}
 
</noinclude>
 
</noinclude>

Revision as of 09:47, 1 April 2016

Minimap default.jpg

MapInfoBox

Main Cores {{{MCores}}}
Sub Cores {{{SCores}}}
Ground Lanes {{{GLanes}}}
Air Lanes {{{ALanes}}}
Mana Chests {{{MChests}}}
Defense Units {{{DU}}}


Parameters

Parameter Description
MCores Total amount of Main Cores.
SCores Total amount of Sub Cores.
GLanes Total amount of Ground Lanes.
ALanes Total amount of Air Lanes.
MChests Total amount of Chests on the map.
DU Defense Unit Limit.
description (optional) Description of the map.
name (optional) Name of the map. Defaults to {{PAGENAME}}.
minimap (optional) MiniMap to display. Defaults to File:Minimap_{{lcns|{{{name}}}}}.png. If the file doesn't exist, it falls back to File:Wares_default.png.

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:

Default Minimap.png

Map Name


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