Template:Pagination-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)
{{Pagination-DPL3|type=Rare (classification)}}
gives results like (this is not a live query/working example):
1 - 56 - 10 (284 total) |
Dragon | Icon | Type | Elements | Cost |
---|---|---|---|---|
Submarine Dragon | 1,080 | |||
Treater Dragon | 1,875 | |||
Mech Dragon | 1,150 | |||
Mystic Dragon | 962 | |||
Pilgrim Dragon | 1,200 |
1 - 56 - 10 (284 total) |
Notes
- Results are affected by
cacheperiod
parameter and will cache depending on how it is specified.- Cargo automatically paginates results.
See Also
{{DPL scroll}}
, the template this one feeds values to, to create theresultsheader
andresultsfooter
pagination number/range entries using DPL3 variables. This template is an example of how to use/create DPL3-based navigation only.{{DragonBox.DragonTypeElementsCost-DPL3}}
, the surrogate template used by this one to format a row of output, which is reapplied to subsequent rows.{{ElemClassTable}}
, the Cargo version of this template (that automatically paginates when results hit the page result limit).{{TOD-DPL3}}
, the DPL3 version of this template that does not auto-paginate.
Creates a DPL3 table of TOD results that demonstrates DPL3 auto-pagination. Uses advanced DPL3 functionality such as URL parameters and ''execandexit'', in combination with "count" and "offset". Supplies pagination via template and counts in the "resultsheader" and "resultsfooter". Uses DPL3's to set/change URL args.
Parameter | Description | Type | Status | |
---|---|---|---|---|
debug | debug | When set to 5, outputs results as wikitext instead of query. Useful for debugging and swapping content to static wikitext content.
| Number | optional |
category | category | Enter a category to create the table for.
| String | optional |
not | not | Enter a category to exclude, or leave blank. | String | optional |
not1 | not1 | Enter a category to exclude, or leave blank. | String | optional |
not2 | not2 | Enter a category to exclude, or leave blank. | String | optional |
not3 | not3 | Enter a category to exclude, or leave blank. | String | optional |
not4 | not4 | Enter a category to exclude, or leave blank. | String | optional |
not5 | not5 | Enter a category to exclude, or leave blank. | String | optional |
(Override) count | count | Overrides the default number of results to display, by the number set.
| Number | optional |
offset | offset | Accepts the offset value automatically fed to it by the "count" parameter.
| Number | optional |