1,150
edits
Changes
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..."
<div style="float:right; border:1px solid; margin:5px; text-align:center">
[[{{#ifexist:{{{icon|File:Minimap_{{lcns|{{{name|{{PAGENAME}}}}}}}.png}}}|{{{icon|File:Minimap_{{lcns|{{{name|{{PAGENAME}}}}}}}.png}}}|File:Minimap_default.jpg}}|200px]]
<h3 style="text-align:center; margin:4px;">{{{name|{{PAGENAME}}}}}</h3>
{| cellpadding="2" style="border-collapse:collapse;" width="100%"
|-
| style="padding:4px; text-align:right; border-right:3px solid;"| Main Cores
| style="padding:4px; text-align:left;" | {{{MCores}}}
|-
| style="padding:4px; text-align:right; border-right:3px solid;"| Sub Cores
| style="padding:4px; text-align:left;" | {{{SCores}}}
|-
| style="padding:4px; text-align:right; border-right:3px solid;"| Ground Lanes
| style="padding:4px; text-align:left;" | {{{GLanes}}}
|-
| style="padding:4px; text-align:right; border-right:3px solid;"| Air Lanes
| style="padding:4px; text-align:left;" | {{{ALanes}}}
|}
</div>
{{#if:{{{description|}}}|<div style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em 4em; border-left: 1px solid silver;">
<div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">“</div>
{{{description}}}
<p style="text-align: right; font-size: 0.9em; font-style:italic; margin-top:0;">— Tavern Keeper</p>
</div>|}}
<noinclude>
===Parameters===
{| border="1" style="border-collapse:collapse;"
|-
! 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.
|-
| description || ''(optional)'' Description of the map.
|-
| name || ''(optional)'' Name of the map. Defaults to <nowiki>{{PAGENAME}}</nowiki>.
|-
| minimap || ''(optional)'' MiniMap to display. Defaults to <nowiki>File:Minimap_{{lcns|{{{name}}}}}.png</nowiki>. If the file doesn't exist, it falls back to File:Wares_default.png.
|}
===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:
{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | description=Squire, put a description here.}}
</noinclude>
[[{{#ifexist:{{{icon|File:Minimap_{{lcns|{{{name|{{PAGENAME}}}}}}}.png}}}|{{{icon|File:Minimap_{{lcns|{{{name|{{PAGENAME}}}}}}}.png}}}|File:Minimap_default.jpg}}|200px]]
<h3 style="text-align:center; margin:4px;">{{{name|{{PAGENAME}}}}}</h3>
{| cellpadding="2" style="border-collapse:collapse;" width="100%"
|-
| style="padding:4px; text-align:right; border-right:3px solid;"| Main Cores
| style="padding:4px; text-align:left;" | {{{MCores}}}
|-
| style="padding:4px; text-align:right; border-right:3px solid;"| Sub Cores
| style="padding:4px; text-align:left;" | {{{SCores}}}
|-
| style="padding:4px; text-align:right; border-right:3px solid;"| Ground Lanes
| style="padding:4px; text-align:left;" | {{{GLanes}}}
|-
| style="padding:4px; text-align:right; border-right:3px solid;"| Air Lanes
| style="padding:4px; text-align:left;" | {{{ALanes}}}
|}
</div>
{{#if:{{{description|}}}|<div style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em 4em; border-left: 1px solid silver;">
<div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">“</div>
{{{description}}}
<p style="text-align: right; font-size: 0.9em; font-style:italic; margin-top:0;">— Tavern Keeper</p>
</div>|}}
<noinclude>
===Parameters===
{| border="1" style="border-collapse:collapse;"
|-
! 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.
|-
| description || ''(optional)'' Description of the map.
|-
| name || ''(optional)'' Name of the map. Defaults to <nowiki>{{PAGENAME}}</nowiki>.
|-
| minimap || ''(optional)'' MiniMap to display. Defaults to <nowiki>File:Minimap_{{lcns|{{{name}}}}}.png</nowiki>. If the file doesn't exist, it falls back to File:Wares_default.png.
|}
===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:
{{MapInfoBox | name=The Gates of DragonFall | MCores=1 | SCores=1 | GLanes=2 | ALanes=3 | description=Squire, put a description here.}}
</noinclude>