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

 Actions

Template

Template:DragonBox.TOD AwokenComparison-DPL3/doc

From Dragon Mania Legends (DML) Wiki

< Template:DragonBox.TOD AwokenComparison-DPL3
Documentation subpage
View this documentation's related template:
Template:DragonBox.TOD AwokenComparison-DPL3
Sticker - Meh.png
This is an intentionally unused template, it is used when specific Housekeeping tasks are needed. Instead of being called by a parent {TOD Awoken} template, a query was used on-page to call this formatting template and format results. See below for the example query that probably should have been templated at the time.

Example(s)

  • {{DragonBox.TOD AwokenComparison-DPL3|%PAGE%=Aphrodite Dragon|%TITLE%=Athena Dragon|type=Divine|base=Divine|second=Fire|third=Water}} gives:

|Athena Dragon Icon.png Athena Dragon |data-sort-value="13.130104"| Divine (classification) Icon.png |data-sort-value="13.30104"|Divine (Element) Icon.pngFire (Element) Icon.pngWater (Element) Icon.png |242 |236 |background-color:#f8fff6;"|246 |74 |77 |background-color:#f8f2f5;"|77 |800 Gold Icon.png |-

See Also

  • This template was used for an inline/on page query, rather than being called by a template. The former query used was:
{{#dpl:
|category=Divine (classification)¦Ancient (classification)
|namespace=
|notcategory=Clan Dragons
|uses=Template:DragonBox
|includepage={DragonBox}.AwokenComparison
|count=100
|allowcachedresults = true
|mode = userformat
|listseparators  = ¶{¦class="wikitable sortable" style="margin-top:0px; border:unset;" ¶¦- ¶! colspan="3" style="width:330px; min-width:330px;"¦<!-- empty --> ¶!colspan="3" style="background-color:#eaf4e7; width:150px; min-width:150px;"¦Health per # of<br>Awoken Elements ¶!colspan="3" style="background-color:#f1e6eb; width:150px; min-width:150px;"¦Attack per # of <br>Awoken Elements ¶!style="width:80px; min-width:80px;"¦ ¶¦- ¶!style="width:170px; min-width:170px;"¦Dragon ¶!style="width:65px; min-width:65px;" ¦Type ¶!style="width:95px; min-width:95px;"¦Elements ¶!style="background-color:#f8fff6; width:50px; min-width:50px;"¦1 ¶!style="background-color:#f8fff6; width:50px; min-width:50px;"¦2 ¶!style="background-color:#f8fff6; width:50px; min-width:50px;"¦3 ¶!style="background-color:#f8f2f5; width:50px; min-width:50px;"¦1 ¶!style="background-color:#f8f2f5; width:50px; min-width:50px;"¦2 ¶!style="background-color:#f8f2f5; width:50px; min-width:50px;"¦3 ¶!style="width:80px; min-width:80px;"¦Gold/hr ¶¦-,¶,,¶¦}
}}

A "surrogate" formatting template, used by a DPL3 query, to format a single (table) row of query results that is then reapplied to subsequent rows. It was used primarily by an inline query, though it should be been used in a {TOD Awoken-DPL3} template instead.

Template parameters

ParameterDescriptionTypeStatus
%TITLE%%TITLE%

Title DPL3 variable passed from DPL3 query that calls this surrogate. Displays (Page) title without namespace.

Stringrequired
%PAGE%%PAGE%

Page DPL3 variable passed from DPL3 query that calls this surrogate. Displays full page name WITH namespace.

Stringrequired
typetype

"type" parameter value passed from DPL3 query that calls this surrogate.

Stringrequired
basebase

"base" parameter value passed from DPL3 template that calls this surrogate.

Stringrequired
secondsecond

"second" parameter value passed from DPL3 query that calls this surrogate.

Stringrequired
thirdthird

"third" parameter value passed from DPL3 query that calls this surrogate.

Stringrequired
healthhealth

"health" parameter value passed from DPL3 query that calls this surrogate.

Numberrequired
health2health2

"health2" parameter value passed from DPL3 query that calls this surrogate.

Numberrequired
health3health3

"health3" parameter value passed from DPL3 query that calls this surrogate.

Numberrequired
attackattack

"attack" parameter value passed from DPL3 query that calls this surrogate.

Numberrequired
attack2attack2

"attack2" parameter value passed from DPL3 query that calls this surrogate.

Numberrequired
attack3attack3

"attack3" parameter value passed from DPL3 query that calls this surrogate.

Numberrequired
goldgold

"gold" parameter value passed from DPL3 query that calls this surrogate.

Numberrequired
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.