Template:DPL3: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
No edit summary
No edit summary
Line 146: Line 146:
| Characters with special meaning
| Characters with special meaning
| Scrolling
| Scrolling
| URL parameters = General usage and invocation syntax
| URL parameters = General usage and invocation syntax


| Configuration
| Configuration
| DPL Security = Source and installation
| DPL Security = Source and installation


| userformat
| userformat
| VARIABLES = Parameters: Controlling output format
| VARIABLES = Parameters: Controlling output format


| Select articles based on REVISION dates
| #default =
| REVISION
| Criteria for page selection
| selection criteria = Parameters: Criteria for page selection

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

Revision as of 02:00, 21 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]]