Template:DPL: Difference between revisions
Content added Content deleted
imported>FrozenPlum No edit summary |
imported>FrozenPlum m (Name has since changed for desired section) |
||
(One intermediate revision by the same user not shown) | |||
Line 211: | Line 211: | ||
| scrolling |
| scrolling |
||
| syntax |
| syntax |
||
| URL parameters |
|||
| DPL_count |
| DPL_count |
||
| DPL_offset |
| DPL_offset |
||
Line 316: | Line 317: | ||
<!-- URL params, link to #URL parameters --> |
<!-- URL params, link to #URL parameters --> |
||
| URL parameters |
|||
| DPL_count |
| DPL_count |
||
| DPL_offset |
| DPL_offset |
||
Line 325: | Line 327: | ||
| DPL_arg3 |
| DPL_arg3 |
||
| DPL_arg4 |
| DPL_arg4 |
||
| DPL_arg5 = #URL parameters |
| DPL_arg5 = #Scroll/URL parameters |
||
<!-- default is #{{{1}}} --> |
<!-- default is #{{{1}}} --> |
Latest revision as of 07:13, 21 April 2023
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.
Example:
{{DPL|mode}}
gives mode{{DPL|mode|alternate label}}
gives alternate label{{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
[view | edit | purge]The above documentation is transcluded from Template:DPL/doc.