Template:DPL/doc

From DynamicPageList3 Manual
Revision as of 21:19, 1 April 2022 by imported>FrozenPlum (Finish the docs for this)
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.

For formatting individual %VARIABLES% use Template:tt, for HTML tags, try Template:tag.


Example:

{{DPL|mode}} gives mode

{{DPL|mode|DPL format statement}} gives DPL format statement
{{DPL|#dplnum}} gives #dplnum
{{DPL|non-existing page}} gives non-existing page

To include parameter values:

  • {{DPL|mode}} followed by [[=userformat]] gives mode=userformat (with redirect created from =userformat to mode)
  • Just doing {{DPL|mode}}=userformat is also fine, resulting in mode=userformat