Template:DragonBox-ElemClassTable-CargoRow/doc
From Dragon Mania Legends (DML) Wiki
< Template:DragonBox-ElemClassTable-CargoRowDocumentation subpage |
---|
View this documentation's related template: Template:DragonBox-ElemClassTable-CargoRow |
Example(s)
{{DragonBox-ElemClassTable-CargoRow|Page=Fire Dragon|type=Common|base=Fire|cost=100 {{i|Gold|i}}|eventcount=?}}
gives:
| Fire Dragon (edit) |data-sort-value="{{{typesort}}}"| |data-sort-value="{{{elementsort}}}"| |data-sort-value="{{{costsort}}}"|100 |-
See Also
{{ElemClassTable}}
, which uses this template to format a row of output that is then reapplied to every subsequent row.
This template is only for use by Template Caretakers that know how to work with DPL3. It is used as a "surrogate" template to format a row of DragonBox table results into a TOD table. It then reapplies it to every row, reading its data from the DragonBox Template, it is used by both DPL3 and by Cargo on dragon type/rarity, element pages and Clan-Exclusive Dragons pages. To determine all pages used, visit Template:CargoDragonTypeElements and use 'What Links Here'.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | Page | DragonInfos Cargo table "_pageName" column label/alias applied in the Cargo query (different case on purpose). | String | required |
typesort | typesort | DragonInfos "typesort" Cargo table column name. | Number | required |
type | type | DragonInfos "type" Cargo table column name. | String | required |
elementsort | elementsort | DragonInfos "elementsort" Cargo table column name. | Number | required |
base | base | DragonInfos "base" Cargo table column name. | String | required |
second | second | DragonInfos "second" Cargo table column name. | String | optional |
third | third | DragonInfos "third" Cargo table column name. | String | optional |
costsort | costsort | DragonInfos "costsort" Cargo table column name. | Number | required |
cost | cost | DragonInfos "cost" Cargo table column name. | String | required |