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

 Actions

Template

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)
Sticker - Meh.png
This is an intentionally unused template, kept for Housekeeping purposes. Primarily it is kept as it's an only working example of automatically paginated DPL3 results.

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 Submarine Dragon Icon.png Rare (classification) Icon.png Water (Element) Icon.pngShadow (Element) Icon.png 1,080 Gems Icon.png
Treater Dragon Treater Dragon Icon.png Rare (classification) Icon.png Void (Element) Icon.pngShadow (Element) Icon.png 1,875 Gems Icon.png
Mech Dragon Mech Dragon Icon.png Rare (classification) Icon.png Metal (Element) Icon.pngLight (Element) Icon.png 1,150 Gems Icon.png
Mystic Dragon Mystic Dragon Icon.png Rare (classification) Icon.png Fire (Element) Icon.pngWind (Element) Icon.pngEarth (Element) Icon.png 962 Gems Icon.png
Pilgrim Dragon Pilgrim Dragon Icon.png Rare (classification) Icon.png Earth (Element) Icon.pngLight (Element) Icon.png 1,200 Gems Icon.png
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 the resultsheader and resultsfooter 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.

Template parameters

ParameterDescriptionTypeStatus
debugdebug

When set to 5, outputs results as wikitext instead of query. Useful for debugging and swapping content to static wikitext content.

Default
0
Example
5
Numberoptional
categorycategory

Enter a category to create the table for.

Default
Common (classification)
Example
Epic (classification)
Stringoptional
notnot

Enter a category to exclude, or leave blank.

Stringoptional
not1not1

Enter a category to exclude, or leave blank.

Stringoptional
not2not2

Enter a category to exclude, or leave blank.

Stringoptional
not3not3

Enter a category to exclude, or leave blank.

Stringoptional
not4not4

Enter a category to exclude, or leave blank.

Stringoptional
not5not5

Enter a category to exclude, or leave blank.

Stringoptional
(Override) countcount

Overrides the default number of results to display, by the number set.

Default
5
Example
10
Numberoptional
offsetoffset

Accepts the offset value automatically fed to it by the "count" parameter.

Default
0
Numberoptional


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.