Template:DPL: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (Add the found missing vars) |
imported>FrozenPlum (Test html entity % for % to see what's going on. DPL3 handled this fine before, but now these are replaced on-page fine except when transcluded in "Parameter Quick Reference") |
||
Line 59: | Line 59: | ||
| %PAGESEL% |
| %PAGESEL% |
||
| %PFUNC% |
| %PFUNC% |
||
| |
| %REVISION% |
||
| %SCROLLDIR% |
| %SCROLLDIR% |
||
| %SECTION% |
| %SECTION% |
||
Line 230: | Line 230: | ||
| %PAGESEL% |
| %PAGESEL% |
||
| %PFUNC% |
| %PFUNC% |
||
| |
| %REVISION% |
||
| %SCROLLDIR% |
| %SCROLLDIR% |
||
| %SECTION% |
| %SECTION% |
Revision as of 22:52, 31 March 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.