Template:DPL3: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
No edit summary
(removed linkage for page "Source and installation")
Line 147: Line 147:
| Scrolling
| Scrolling
| URL parameters = General usage and invocation syntax
| URL parameters = General usage and invocation syntax

| Configuration
| DPL Security = Source and installation


| userformat
| userformat
Line 162: Line 159:
}}}}
}}}}
|<span class=dpl3><!-- Those found in the first list (dpl paramaters and functions) will be formatted differently than those found in the second list
|<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}}}}


-->{{#ifeq:{{#var:page}}{{#var:page_}}|<!-- if not on either list
-->{{#ifeq:{{#var:page}}{{#var:page_}}|<!-- if not on either list
Line 188: Line 185:
--></includeonly><noinclude>
--></includeonly><noinclude>
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.<p></p>
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.<p></p>
For formatting %VARIABLES% and HTML tags, use Template:tt.
For formatting individual %VARIABLES% use [[Template:tt]], for HTML tags, try [[Template:tag]].





Revision as of 02:44, 3 August 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 individual %VARIABLES% use Template:tt, for HTML tags, try Template:tag.


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|#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]]