Difference between revisions of "Template:MapInfoBox"
From Dungeon Defenders 2 Wiki
(Changing text alignment) |
(Changing the text alignment again, and fixing the example provided.) |
||
| Line 14: | Line 14: | ||
| style="width:55%" | <!--Sets the width for the 2nd column--> | | style="width:55%" | <!--Sets the width for the 2nd column--> | ||
|- | |- | ||
| − | | style="font-size: 105%; text-align: | + | | style="font-size: 105%; text-align: right;" | '''Main Cores:''' |
| − | | style="text-align: left;" | + | | style="padding-left: 10px; text-align: left;" | {{{MCores|?}}} |
|- | |- | ||
| − | | style="font-size: 105%; text-align: | + | | style="font-size: 105%; text-align: right;" | '''Sub Cores:''' |
| − | | style="text-align: left;" | + | | style="padding-left: 10px; text-align: left;" | {{{SCores|?}}} |
|- | |- | ||
| − | | style="font-size: 105%; text-align: | + | | style="font-size: 105%; text-align: right;" | '''Ground Lanes:''' |
| − | | style="text-align: left;" | + | | style="padding-left: 10px; text-align: left;" | {{{GLanes|?}}} |
|- | |- | ||
| − | | style="font-size: 105%; text-align: | + | | style="font-size: 105%; text-align: right;" | '''Air Lanes:''' |
| − | | style="text-align: left;" | + | | style="padding-left: 10px; text-align: left;" | {{{ALanes|?}}} |
|- | |- | ||
| − | | style="font-size: 105%; text-align: | + | | style="font-size: 105%; text-align: right;" | '''Defense Units:''' |
| − | | style="text-align: left;" | + | | style="padding-left: 10px; text-align: left;" | {{{DU|?}}} |
|- | |- | ||
| − | | style="font-size: 105%; text-align: | + | | style="font-size: 105%; text-align: right;" | '''Region:''' |
| − | | style="text-align: left;" | + | | style="padding-left: 10px; text-align: left;" | {{{Region|?}}} |
|} | |} | ||
</div> | </div> | ||
| Line 90: | Line 90: | ||
---></code> | ---></code> | ||
</div> | </div> | ||
| − | |<div style="display: flex; justify-content: center;"> | + | |<div style="display: flex; justify-content: center; flex-direction: row-reverse;"> |
{{MapInfoBox | {{MapInfoBox | ||
| Minimap=File:Minimap_The_Gates_Of_Dragonfall.png | | Minimap=File:Minimap_The_Gates_Of_Dragonfall.png | ||
Revision as of 17:54, 9 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
}}
|
