Difference between revisions of "Template:MapInfoBox"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<div style="float:right; border:1px solid; margin:5px; text-align:center">
 
<div style="float:right; border:1px solid; margin:5px; text-align:center">
[[{{#ifexist:{{{icon|File:Minimap_{{{MapName}}}.jpg}}}|{{{icon|File:Minimap_{{{MapName}}}.jpg}}}|File:Minimap_default.jpg}}|200px]]
+
[[{{#ifexist:{{{File:Minimap_{{{MapName}}}.jpg}}}|{{{File:Minimap_{{{MapName}}}.jpg}}}|File:Minimap_default.jpg}}|200px]]
 
<h3 style="text-align:center; margin:4px;">{{{MapName}}}</h3>
 
<h3 style="text-align:center; margin:4px;">{{{MapName}}}</h3>
 
{| cellpadding="2" style="border-collapse:collapse;" width="100%"
 
{| cellpadding="2" style="border-collapse:collapse;" width="100%"
Line 54: Line 54:
 
<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:
 
<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:
  
{{{MapName}}}
+
{{MapInfoBox | MapName=The Gates of Dragonfall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | MChests=1 | DU=50 | description=Squire, put a description here.}}
 
 
{{MapInfoBox | MapName=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 11:01, 1 April 2016

Minimap default.jpg

{{{MapName}}}

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 Description of the map.
MapName Name of the map.

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