Template:GalleryDPL
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
{{GalleryDPL|category=Category:Images:Dragon of the Week Promotions|titlematch=Dragon of the Week|count=3}}
gives a gallery of 3 images.
Suppresses MediaWiki's automatically generated image gallery from appearing using __NOGALLERY__, and replaces it with a DPL3 gallery, which uses each image in the category, keeping the images out of [[Special:UnusedImages]]. Can also be used with "|debug=5" to output static text; DPL3 galleries should generally be converted to static text if the items in the category don't frequently change (reduces queries).
Parameter | Description | Type | Status | |
---|---|---|---|---|
debug | debug | For outputting regular, dynamic images vs wikitext output for infrequently changing category items.
| Number | optional |
(Override) namespace | namespace | no description
| String | optional |
category | category | To specify the category to select images for
| String | optional |
(Override) count | count | To change the output item count
| Number | optional |
(Override) nogallery | nogallery | To override the supression of auto-generated gallery
| String | optional |
titlematch | titlematch | Specify if you want to match items containing specific text
| String | optional |
(Override) DPL3 format parameter | format | To change or specify a different output format
| String | optional |