Help:DPL

This page documents the usage of DynamicPageList3 (DPL) on Inkipedia.

Only information that is currently useful to Inkipedia editors is included here, but there is much more to the DPL extension. View the full manual for more help.

Galleries
Inkipedia uses DPL to auto-generate image galleries. This has several benefits:
 * Eliminates the need to update gallery filenames if files are moved
 * Reduces chance that a gallery is missing a relevant image
 * Reduces the effort required to add new images to the wiki
 * Encourages editors to categorize images


 * Example
 * Parameters used
 * category &mdash; chooses what category to pull images from.
 * namespace &mdash; chooses what namespace to pull images from.
 * ordermethod &mdash; chooses how to sort the images. Sortkey was used in the example.
 * include &mdash; selects the section from the pages to transclude. Here, a section from the file's page called "caption" is transcluded. It becomes the caption under each image in the gallery.
 * format &mdash; customizes the output format. This sets the up the necessary wikicode that will surround the transcluded text. In the example, there is an opening and closing gallery tag to create the gallery, %PAGE% to add the filename, and \n to create a new line.
 * secseparators &mdash; customizes the output format of included sections. Used in the example to put a pipe (¦) between the images and included sections.
 * includetrim &mdash; removes all leading and trailing whitespace from transcluded contents. The example needs this to prevent unwanted new lines from being created.

Debugging
Setting  will show the wikicode that DPL is outputting.