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_ | + | [[{{#ifexist:{{{icon|File:Minimap_{{{name|{{PAGENAME}}}}}.png}}}|{{{icon|File:Minimap_{{{name|{{PAGENAME}}}}}.png}}}|File:Minimap_default.jpg}}|200px]] |
<h3 style="text-align:center; margin:4px;">{{{name|{{PAGENAME}}}}}</h3> | <h3 style="text-align:center; margin:4px;">{{{name|{{PAGENAME}}}}}</h3> | ||
{| cellpadding="2" style="border-collapse:collapse;" width="100%" | {| cellpadding="2" style="border-collapse:collapse;" width="100%" | ||
Line 50: | Line 50: | ||
| name || ''(optional)'' Name of the map. Defaults to <nowiki>{{PAGENAME}}</nowiki>. | | name || ''(optional)'' Name of the map. Defaults to <nowiki>{{PAGENAME}}</nowiki>. | ||
|- | |- | ||
− | | minimap || ''(optional)'' MiniMap to display. Defaults to <nowiki>File:Minimap_ | + | | minimap || ''(optional)'' MiniMap to display. Defaults to <nowiki>File:Minimap_{{{name}}}.png</nowiki>. If the file doesn't exist, it falls back to File:Minimap_default.png. |
|} | |} | ||
Revision as of 10:28, 1 April 2016
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_{{{name}}}.png. If the file doesn't exist, it falls back to File:Minimap_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: