Difference between revisions of "Template:MapInfoBox"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Changing the text alignment again, and fixing the example provided.)
(Changing the default minimap image to a custom one, draws more attention to the editor if they made an error.)
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:Minimap_The_Gates_Of_Dragonfall.png|250px]]
+
         | [[File:Default_Minimap.png|250px]]
 
     }}
 
     }}
 
}}
 
}}
Line 106: Line 106:
  
 
</noinclude>
 
</noinclude>
 +
__NOEDITSECTION__

Revision as of 19:20, 9 February 2023

Default Minimap.png

Map Name


Main Cores:  ?
Sub Cores:  ?
Ground Lanes:  ?
Air Lanes:  ?
Defense Units:  ?
Region:  ?


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 }}

Minimap The Gates of Dragonfall.png

The Gates of Dragonfall


Main Cores: 1
Sub Cores: 0
Ground Lanes: 3
Air Lanes: 2
Defense Units: 600
Region: Dragonfall Town

Squire, put a description here!