Template:DragonBox.TOD AwokenComparison-DPL3
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) |
Example(s)
{{DragonBox.TOD AwokenComparison-DPL3|%PAGE%=Aphrodite Dragon|%TITLE%=Athena Dragon|type=Divine|base=Divine|second=Fire|third=Water}}
gives:
| Athena Dragon |data-sort-value="13.130104"| |data-sort-value="13.30104"| |242 |236 |background-color:#f8fff6;"|246 |74 |77 |background-color:#f8f2f5;"|77 |800 |-
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 ¶¦-,¶,,¶¦} }}
{{TOD Cargo Awoken-CargoRow}}
, the Cargo version of this template.{{TOD Cargo Awoken}}
, the template that is equivilent to the inline DPL3 query on this page that calls the above template (this .- Table of Dragons/Awoken Elements Comparison table, the page where the inline DPL3 query and the formatting template were used together to create similar output as the Cargo version.
{{TOD-DPL3}}
, a similar template.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
%TITLE% | %TITLE% | Title DPL3 variable passed from DPL3 query that calls this surrogate. Displays (Page) title without namespace. | String | required |
%PAGE% | %PAGE% | Page DPL3 variable passed from DPL3 query that calls this surrogate. Displays full page name WITH namespace. | String | required |
type | type | "type" parameter value passed from DPL3 query that calls this surrogate. | String | required |
base | base | "base" parameter value passed from DPL3 template that calls this surrogate. | String | required |
second | second | "second" parameter value passed from DPL3 query that calls this surrogate. | String | required |
third | third | "third" parameter value passed from DPL3 query that calls this surrogate. | String | required |
health | health | "health" parameter value passed from DPL3 query that calls this surrogate. | Number | required |
health2 | health2 | "health2" parameter value passed from DPL3 query that calls this surrogate. | Number | required |
health3 | health3 | "health3" parameter value passed from DPL3 query that calls this surrogate. | Number | required |
attack | attack | "attack" parameter value passed from DPL3 query that calls this surrogate. | Number | required |
attack2 | attack2 | "attack2" parameter value passed from DPL3 query that calls this surrogate. | Number | required |
attack3 | attack3 | "attack3" parameter value passed from DPL3 query that calls this surrogate. | Number | required |
gold | gold | "gold" parameter value passed from DPL3 query that calls this surrogate. | Number | required |