Template:BuildingsTable-CargoRow/doc
From Dragon Mania Legends (DML) Wiki
< Template:BuildingsTable-CargoRowDocumentation subpage |
---|
View this documentation's related template: Template:BuildingsTable-CargoRow |
Example(s)
{{BuildingsTable-CargoRow|Page=Breeding Den|image=Breeding Den - Level 1.png|function=Enables [[Breeding]] to obtain new Dragons, and [[Enchanted Breeding]] when upgraded. |description=Place two adult dragons in the breeding den to get new baby dragons.|cost=Free initially, variable to upgrade.|prereqs=None|upgrade=Yes|size=6}}
gives:
|style="text-align:center;"|
Breeding Den
(edit)
|
|Enables Breeding to obtain new Dragons, and Enchanted Breeding when upgraded. |Place two adult dragons in the breeding den to get new baby dragons. |Free initially, variable to upgrade. |None |Yes |-
See Also
{{BuildingsTable}}
, the template that uses this one to format a row of output that is reapplied to subsequent rows.{{BuildingsTable-DPL3}}
, the DPL3 version of this template (there is no equivalent row formatting template, formatting was done inline).
Formats a row of Cargo table template output, and then reapplies it to each row. It is a Cargo formatting template for the {BuildingsTable} template.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | Page | BuildingInfos Cargo table "_pageName" column label/alias applied in the Cargo query (different case on purpose). | Page name | required |
image | image | BuildingInfos "image" Cargo table column name. | String | required |
size | size | BuildingInfos "size" Cargo table column name. | Number | optional |
function | function | BuildingInfos "function" Cargo table column name. | String | optional |
description | description | BuildingInfos "description" Cargo table column name. | String | optional |
cost | cost | BuildingInfos "cost" Cargo table column name. | String | optional |
prereqs | prereqs | BuildingInfos "prereqs" Cargo table column name. | String | optional |
upgrade | upgrade | BuildingInfos "upgrade" Cargo table column name. | String | optional |