Difference between revisions of "Template:MapInfoBox"
From Dungeon Defenders 2 Wiki
(Removing coercion of minimap image to 200px) |
(Coercing minimap images to be 250px, setting the default minimap to the gates of dragonfall minimap) |
||
Line 4: | Line 4: | ||
|{{#ifexist:File:Minimap_{{{MapName}}}.png | |{{#ifexist:File:Minimap_{{{MapName}}}.png | ||
|File:Minimap_{{{MapName}}}.png | |File:Minimap_{{{MapName}}}.png | ||
− | |File: | + | |File:Minimap_The_Gates_Of_Dragonfall.png |
}} | }} | ||
− | }}]] | + | }}|250px]] |
<p style="text-align:center; margin:4px; font-size: 1.25em"><b>{{{MapName}}}</b></p> | <p style="text-align:center; margin:4px; font-size: 1.25em"><b>{{{MapName}}}</b></p> | ||
<hr> | <hr> | ||
Line 56: | Line 56: | ||
===Example=== | ===Example=== | ||
<nowiki>{{MapInfoBox | <nowiki>{{MapInfoBox | ||
− | | MapName=The Gates of | + | | Minimap=File:Minimap_The_Gates_Of_Dragonfall.png |
+ | | MapName=The Gates of Dragonfall | ||
| Description=Squire, put a description here! | | Description=Squire, put a description here! | ||
| MCores=1 | | MCores=1 | ||
Line 65: | Line 66: | ||
}}</nowiki> produces the following: | }}</nowiki> produces the following: | ||
− | {{MapInfoBox | + | {{MapInfoBox |
− | | MapName=The Gates of | + | | Minimap=File:Minimap_The_Gates_Of_Dragonfall.png |
+ | | MapName=The Gates of Dragonfall | ||
| Description=Squire, put a description here! | | Description=Squire, put a description here! | ||
| MCores=1 | | MCores=1 |
Revision as of 16:26, 15 January 2023
{{{MapName}}}
Main Cores: | {{{MCores}}} |
Sub Cores: | {{{SCores}}} |
Ground Lanes: | {{{GLanes}}} |
Air Lanes: | {{{ALanes}}} |
Defense Units: | {{{DU}}} |
Parameters
Parameter | Description |
---|---|
Minimap | File reference to the Minimap image. File:Minimap_{{{MapName}}}.png will be used if this parameter is not set.
|
MapName | Name of the map. |
Description | Description of the map. |
MCores | Total amount of Main Cores. |
SCores | Total amount of Sub Cores. |
GLanes | Total amount of Ground Lanes. |
ALanes | Total amount of Air Lanes. |
DU | Defense Unit Limit. |
Example
{{MapInfoBox | Minimap=File:Minimap_The_Gates_Of_Dragonfall.png | MapName=The Gates of Dragonfall | Description=Squire, put a description here! | MCores=1 | SCores=0 | GLanes=3 | ALanes=2 | DU=800 }} produces the following:
The Gates of Dragonfall
Main Cores: | 1 |
Sub Cores: | 0 |
Ground Lanes: | 3 |
Air Lanes: | 2 |
Defense Units: | 800 |
Region: | ? |
“
Squire, put a description here!