Difference between revisions of "Template:MapInfoBox"
From Dungeon Defenders 2 Wiki
(Formatting improvements to the template and improving documentation) |
(Reverting some previous changes and experimenting with different alignment of text) |
||
| Line 1: | Line 1: | ||
| − | + | <div style="float:right; border:1px solid; margin:5px; text-align:center; padding: 5px;"> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | <div style="float:right; border:1px solid; margin:5px; text-align:center | ||
{{#ifexist: {{{Minimap}}} | {{#ifexist: {{{Minimap}}} | ||
| [[{{{Minimap}}}|250px]] | | [[{{{Minimap}}}|250px]] | ||
| Line 21: | Line 15: | ||
|- | |- | ||
| style="font-size: 105%; text-align: right;" | '''Main Cores:''' | | style="font-size: 105%; text-align: right;" | '''Main Cores:''' | ||
| − | |{{{MCores|?}}} | + | | style="text-align: right;" | {{{MCores|?}}} |
|- | |- | ||
| style="font-size: 105%; text-align: right;" | '''Sub Cores:''' | | style="font-size: 105%; text-align: right;" | '''Sub Cores:''' | ||
| − | |{{{SCores|?}}} | + | | style="text-align: right;" | {{{SCores|?}}} |
|- | |- | ||
| style="font-size: 105%; text-align: right;" | '''Ground Lanes:''' | | style="font-size: 105%; text-align: right;" | '''Ground Lanes:''' | ||
| − | |{{{GLanes|?}}} | + | | style="text-align: right;" | {{{GLanes|?}}} |
|- | |- | ||
| style="font-size: 105%; text-align: right;" | '''Air Lanes:''' | | style="font-size: 105%; text-align: right;" | '''Air Lanes:''' | ||
| − | |{{{ALanes|?}}} | + | | style="text-align: right;" | {{{ALanes|?}}} |
|- | |- | ||
| style="font-size: 105%; text-align: right;" | '''Defense Units:''' | | style="font-size: 105%; text-align: right;" | '''Defense Units:''' | ||
| − | |{{{DU|?}}} | + | | style="text-align: right;" | {{{DU|?}}} |
|- | |- | ||
| style="font-size: 105%; text-align: right;" | '''Region:''' | | style="font-size: 105%; text-align: right;" | '''Region:''' | ||
| − | |{{{Region|?}}} | + | | style="text-align: right;" | {{{Region|?}}} |
|} | |} | ||
| − | </div><!-- | + | </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: -0.8em; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">“</div> | ||
| + | <p style="font-size:1.3em">{{{Description}}}</p> | ||
| + | </div> | ||
| + | }}<!-- | ||
--><noinclude> | --><noinclude> | ||
Revision as of 17:43, 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
}}
|
