Template:Previous-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)
{{previous-DPL3}}
gives{{previous}}
(see that template page for example output).
See Also
{{Previous}}
, the Cargo version of this template.{{DragonSwitch}}
, the template that formerly used this one.{{next-DPL3}}
, the counterpart to this template.
Notes
The #titleparts
section of the ParserFunctions page explains that Magic Words like {{PAGENAME}}
(and others) return strings as needlessly HTML-encoded, this caused DPL3 to not return results when page names contain '
and other special characters.
Use of {{#titleparts:{{PAGENAME}}}}
HTML-decodes converting it to plain text. This eliminated the need for the former "previous" and "next" overrides and reduced maintenance burden; manual overrides are not updated when a Dragon page is created whose title alphabetically falls between the override source and the new page, causing unnecessary maintenance.
Creates the "next" dragon text, image, and button for use in {DragonSwitch} template. Used by the {DragonBox} template to create automatic navigation between Dragons.
Parameter | Description | Type | Status | |
---|---|---|---|---|
(Override, next) page | 1 previous | no description | String | optional |
(Override) debug | debug | When set to 5, outputs wikitext instead
| Number | optional |