Please remember to make use of the Manual of Style and Code of Conduct during your stay.

 Actions

Template

BuildingBox

From Dragon Mania Legends (DML) Wiki

Examples

Simple building with size
{{BuildingBox
|description= In-game description quote
|location=beside that thing
|function= Function for auto-listing and linking other places
|cost=10,000 {{i|Gold|i}}
|upgrade=Yes
|size=7
}}
Result
Breeding Den - Level 1.png
In-game description quote
Function for auto-listing and linking other places

Cost: 10,000 Gold Icon.png
Requirements: None
Upgradable: Yes
Can go in Inventory: No

7 x 7


Generates a right-infobox for use on Building pages, with the ability to auto-generate square grids for building size.

Template parameters

ParameterDescriptionTypeStatus
Override Imageimage

If no image matching {{PAGENAME}}}.png, specify an image

Stringoptional
In-Game Descriptiondescription

no description

Example
Place two adult dragons in the breeding den to get new baby dragons.
Stringoptional
Functionfunction

Enter a basic function description for inclusion in tables and other pages

Example
Required for [[Breeding]] to obtain new Dragons.
Stringoptional
Cost (if applicable)cost

Enter a cost (with icons) or leave parameter off

Example
10,000 {{i|Gold|i}}
Stringoptional
Prerequisitesprereqs

Enter any Prerequisites

Default
None
Example
Trainer Level 5
Stringoptional
Upgradeable?upgrade

no description

Default
No
Example
Yes
Stringoptional
Size (Single Digit)size

Enter a single digit to generate a square B x B size.

Default
6
Example
5
Stringoptional
Override Icon Sizeicon

Used to control icon size when auto-listing buildings in tables.

Example
30px
Stringoptional