Difference between revisions of "Template:MapInfoBox"
From Dungeon Defenders 2 Wiki
(Changing the text alignment again, and fixing the example provided.) |
(Small formatting change to the example) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
| {{#ifexist: File:Minimap_{{{MapName}}}.png | | {{#ifexist: File:Minimap_{{{MapName}}}.png | ||
| [[File:Minimap_{{{MapName}}}.png|250px]] | | [[File:Minimap_{{{MapName}}}.png|250px]] | ||
| − | | [[File: | + | | [[File:Default_Minimap.png|250px]] |
}} | }} | ||
}} | }} | ||
| Line 76: | Line 76: | ||
{{MapInfoBox | {{MapInfoBox | ||
| − | | Minimap=File: | + | | Minimap = File:Minimap The Gates of Dragonfall.png |
| − | | MapName=The Gates of Dragonfall | + | | MapName = The Gates of Dragonfall |
| − | | Description=Squire, put a description here! | + | | Description = Squire, put a description here! |
| − | | MCores=1 | + | | MCores = 1 |
| − | | SCores=0 | + | | SCores = 0 |
| − | | GLanes=3 | + | | GLanes = 3 |
| − | | ALanes=2 | + | | ALanes = 2 |
| − | | DU=600 | + | | DU = 600 |
| − | | Region=Dragonfall Town | + | | Region = Dragonfall Town |
}} | }} | ||
| Line 92: | Line 92: | ||
|<div style="display: flex; justify-content: center; flex-direction: row-reverse;"> | |<div style="display: flex; justify-content: center; flex-direction: row-reverse;"> | ||
{{MapInfoBox | {{MapInfoBox | ||
| − | | Minimap=File: | + | | Minimap = File:Minimap The Gates of Dragonfall.png |
| − | | MapName=The Gates of Dragonfall | + | | MapName = The Gates of Dragonfall |
| − | | Description=Squire, put a description here! | + | | Description = Squire, put a description here! |
| − | | MCores=1 | + | | MCores = 1 |
| − | | SCores=0 | + | | SCores = 0 |
| − | | GLanes=3 | + | | GLanes = 3 |
| − | | ALanes=2 | + | | ALanes = 2 |
| − | | DU=600 | + | | DU = 600 |
| − | | Region=Dragonfall Town | + | | Region = Dragonfall Town |
}} | }} | ||
</div> | </div> | ||
| Line 106: | Line 106: | ||
</noinclude> | </noinclude> | ||
| + | __NOEDITSECTION__ | ||
Latest revision as of 15:38, 12 February 2023
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 | In-game 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. |
| Region | The region the map belongs to. |
Example
| Wiki Text | Result |
|---|---|
{{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 = 600
| Region = Dragonfall Town
}}
|

