Difference between revisions of "Template:MapInfoBox"
From Dungeon Defenders 2 Wiki
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_{{{name | + | [[{{#ifexist:{{{icon|File:Minimap_{{{name}}}.jpg}}}|{{{icon|File:Minimap_{{{name}}}.jpg}}}|File:Minimap_default.jpg}}|200px]] |
− | <h3 style="text-align:center; margin:4px;">{{{name | + | <h3 style="text-align:center; margin:4px;">{{{name}}}</h3> |
{| cellpadding="2" style="border-collapse:collapse;" width="100%" | {| cellpadding="2" style="border-collapse:collapse;" width="100%" | ||
|- | |- | ||
Line 46: | Line 46: | ||
| DU || Defense Unit Limit. | | DU || Defense Unit Limit. | ||
|- | |- | ||
− | | description || | + | | description || Description of the map. |
|- | |- | ||
− | | | + | | MapName || Name of the map. |
− | |||
− | |||
|} | |} | ||
Line 56: | 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: | ||
− | {{MapInfoBox | | + | {{{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.}} | ||
</noinclude> | </noinclude> |
Revision as of 10:55, 1 April 2016
{{{name}}}
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:
{{{MapName}}}
The Gates of DragonFall
Main Cores: | 1 |
Sub Cores: | 1 |
Ground Lanes: | 2 |
Air Lanes: | 3 |
Defense Units: | 50 |
Region: | ? |