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

 Actions

Template

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).

Template parameters

ParameterDescriptionTypeStatus
debugdebug

For outputting regular, dynamic images vs wikitext output for infrequently changing category items.

Default
0
Example
5
Numberoptional
(Override) namespacenamespace

no description

Default
File
Example
Main
Stringoptional
categorycategory

To specify the category to select images for

Default
{{PAGENAME}}
Stringoptional
(Override) countcount

To change the output item count

Default
300
Example
200
Numberoptional
(Override) nogallerynogallery

To override the supression of auto-generated gallery

Default
__NOGALLERY__
Stringoptional
titlematchtitlematch

Specify if you want to match items containing specific text

Default
Dragon of the Week
Example
%my title%
Stringoptional
(Override) DPL3 format parameterformat

To change or specify a different output format

Default
«gallery widths{{=}}150px heights{{=}}150px»,%PAGE%\n,,«/gallery»
Example
\n* [[%PAGE%|%TITLE%]]
Stringoptional


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.