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

 Actions

Template

Template:BuildingBox

From Dragon Mania Legends (DML) Wiki

Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this template's documentation. (About template documentation)

Examples

Simple building with size
{{BuildingBox
|image=Breeding Den - Level 1
|description= In-game description quote
|location=beside that thing
|function= Function for auto-listing and linking to 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: Player Level 2
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}}, specify an image (with extension)

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
Can go in Inventory?inventory

Can this Building be stored in the inventory?

Default
No
Example
Yes / No
Stringoptional


This Wiki is created by players for other players and is not maintained by, or affiliated with, the game maker (Gameloft).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.