Changes

Jump to: navigation, search

Template:MapInfoBox

304 bytes removed, 15:55, 1 April 2016
no edit summary
<div style="float:right; border:1px solid; margin:5px; text-align:center">
[[{{#ifexist:{{{icon|File:Minimap_{{{name|{{PAGENAME}}}}}.jpg}}}|{{{icon|File:Minimap_{{{name|{{PAGENAME}}}}}.jpg}}}|File:Minimap_default.jpg}}|200px]]<h3 style="text-align:center; margin:4px;">{{{name|{{PAGENAME}}}}}</h3>
{| cellpadding="2" style="border-collapse:collapse;" width="100%"
|-
| DU || Defense Unit Limit.
|-
| description || ''(optional)'' Description of the map.
|-
| name MapName || ''(optional)'' Name of the map. Defaults to <nowiki>{{PAGENAME}}</nowiki>.|-| minimap || ''(optional)'' MiniMap to display. Defaults to <nowiki>File:Minimap_{{{name}}}.jpg</nowiki>. If the file doesn't exist, it falls back to File:Minimap_default.jpg.
|}
<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 | nameMapName=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | MChests=1 | DU=50 | minimap=The_Gates_Of_DragonFall | description=Squire, put a description here.}}
</noinclude>

Navigation menu