Template:DPL3: Difference between revisions
m (category) |
No edit summary |
||
Line 143:
-->|{{#vardefine:page_|
{{#switch: {{{1}}}
<!-- Other pages These links will have a different formatting than the links in the list above-->
| Characters with special meaning
| Scrolling
Line 150:
| DPL Security = Source and installation
| userformat
| VARIABLES = Parameters: Controlling output format
| #default =
}}}}
|<span class=dpl3><!-- Those found in the first list (dpl paramaters and functions) will be formatted differently than those found in the second list
-->}}<!--{{#forargs:|p|v|}}{{#if:{{#var:p}}|{{{1|}}}|{{{1|}}}={{#var:v}}}}
|
Revision as of 23:27, 19 July 2019
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.
For formatting %VARIABLES% and HTML tags, use Template:tt.
Example:
{{dpl3|format}}
gives {{#vardefine:page_}}{{#vardefine:page|
Parameters: Controlling output format}}[[Extension:DPL3/{{#var:page}}|format]]
{{dpl3|format|DPL format statement}}
gives {{#vardefine:page_}}{{#vardefine:page|
Parameters: Controlling output format}}[[Extension:DPL3/{{#var:page}}|DPL format statement]]
{{dpl3|DPL Security}}
gives {{#vardefine:page_}}{{#vardefine:page|
}}[[Extension:DPL3/{{#var:page}}|DPL Security]]
{{dpl3|#dplvar}}
gives {{#vardefine:page_}}{{#vardefine:page|
Dplvar}}[[Extension:DPL3/{{#var:page}}|#dplvar]]
{{dpl3|nonono}}
gives {{#vardefine:page_}}{{#vardefine:page|
}}[[Extension:DPL3/{{#var:page}}|nonono]]
Parameter values may be included as well (in lieu of a 2nd parameter):
{{dpl3|mode|=userformat}}
gives {{#vardefine:page_}}{{#vardefine:page|
Parameters: Controlling output format}}[[Extension:DPL3/{{#var:page}}|mode]]
{{dpl3|mode|=}}
gives {{#vardefine:page_}}{{#vardefine:page|
Parameters: Controlling output format}}[[Extension:DPL3/{{#var:page}}|mode]]