Difference between revisions of "Template:MapInfoBox"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Created page with "<div style="float:right; border:1px solid; margin:5px; text-align:center"> {{#ifexist:{{{icon|File:Minimap_{{lcns|{{{name|{{PAGENAME}}}}}}}.png}}}|{{{icon|File:Minimap_{{lcn...")
 
Line 15: Line 15:
 
| style="padding:4px; text-align:right; border-right:3px solid;"| Air Lanes
 
| style="padding:4px; text-align:right; border-right:3px solid;"| Air Lanes
 
| style="padding:4px; text-align:left;" | {{{ALanes}}}
 
| style="padding:4px; text-align:left;" | {{{ALanes}}}
 +
|-
 +
| style="padding:4px; text-align:right; border-right:3px solid;"| Mana Chests
 +
| style="padding:4px; text-align:left;" | {{{MChests}}}
 
|}
 
|}
 
</div>
 
</div>
Line 35: Line 38:
 
|-
 
|-
 
| ALanes || Total amount of Air Lanes.
 
| ALanes || Total amount of Air Lanes.
 +
|-
 +
| MChests|| Total amount of Chests on the map.
 
|-
 
|-
 
| description || ''(optional)'' Description of the map.
 
| description || ''(optional)'' Description of the map.
Line 44: Line 49:
  
 
===Example===
 
===Example===
<nowiki>{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | 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 | description=Squire, put a description here.}}</nowiki> produces the following:
  
{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | description=Squire, put a description here.}}
+
{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | MChests=1 | description=Squire, put a description here.}}
 
</noinclude>
 
</noinclude>

Revision as of 14:48, 31 March 2016

Minimap default.jpg

MapInfoBox

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


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.
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 | 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:  ?
Region:  ?