Template:DPL: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
m (A silly test, perhaps, that will likely be reversed because I don't think it will work (plus test edits needed to see if 502/3 instances drop after disabling loops/vars extensions))
Line 5: Line 5:
| #dplmatrix = Dplmatrix
| #dplmatrix = Dplmatrix
| #dplchapter = Dplchapter
| #dplchapter = Dplchapter
| =userformat = userformat


<!-- Controlling output format -->
<!-- Controlling output format -->
Line 146: Line 147:
| #dplchapter
| #dplchapter
| syntax =
| syntax =
| &#61;userformat = &#61;userformat
| #default = &#35;{{{1}}}
| #default = &#35;{{{1}}}
}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]</includeonly></onlyinclude>
}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]</includeonly></onlyinclude>{{Documentation}}
{{Documentation}}

Revision as of 01:48, 2 April 2022

[view | edit | purge]Template Documentation
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.

Example:

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
[view | edit | purge]The above documentation is transcluded from Template:DPL/doc.