Template:DPL3: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
| rows |
| rows |
||
| rowsize |
| rowsize |
||
| rowcolformat = Controlling output format |
| rowcolformat = Parameters: Controlling output format |
||
<!-- Controlling output order --> |
<!-- Controlling output order --> |
||
| ordermethod |
| ordermethod |
||
| order |
| order |
||
| ordercollation = Controlling output order |
| ordercollation = Parameters: Controlling output order |
||
<!-- Controlling output volume --> |
<!-- Controlling output volume --> |
||
Line 63: | Line 63: | ||
| includepage |
| includepage |
||
| includemaxlength |
| includemaxlength |
||
| includetrim = Controlling output volume |
| includetrim = Parameters: Controlling output volume |
||
<!-- Criteria for page selection --> |
<!-- Criteria for page selection --> |
||
Line 122: | Line 122: | ||
| distinct |
| distinct |
||
| ignorecase |
| ignorecase |
||
| skipthispage = Criteria for page selection |
| skipthispage = Parameters: Criteria for page selection |
||
<!-- Other parameters --> |
<!-- Other parameters --> |
||
Line 135: | Line 135: | ||
| execandexit |
| execandexit |
||
| dplcache |
| dplcache |
||
| dplcacheperiod = Other parameters |
| dplcacheperiod = Parameters: Other parameters |
||
| #default = |
| #default = |
||
Line 150: | Line 150: | ||
| DPL Security = Source and Installation |
| DPL Security = Source and Installation |
||
| VARIABLES = Controlling output format |
| VARIABLES = Parameters: Controlling output format |
||
| #default = |
| #default = |
||
}}}} |
}}}} |
||
|<span class=dpl3><!-- Those found in the first list will be formatted differently than those found in the second list |
|||
|<span class=dpl3><!-- |
|||
-->}}<!--{{#forargs:|p|v|}}{{#if:{{#var:p}}|{{{1|}}}|{{{1|}}}={{#var:v}}}} |
-->}}<!--{{#forargs:|p|v|}}{{#if:{{#var:p}}|{{{1|}}}|{{{1|}}}={{#var:v}}}} |
||
Line 170: | Line 170: | ||
-->|{{#if:{{#pos:{{{1}}}|#dpl}}<!-- |
-->|{{#if:{{#pos:{{{1}}}|#dpl}}<!-- |
||
-->|[[Extension:DPL3/{{#var:page}}|{{{2|{{{text|{{{1}}}}}}}}}]]<!-- DPL functions |
-->|[[Extension:DPL3/{{#var:page}}|{{{2|{{{text|{{{1}}}}}}}}}]]<!-- DPL functions |
||
-->|[[Extension:DPL3/ |
-->|[[Extension:DPL3/{{#var:page}}{{#var:page_}}#{{{1}}}|<!-- |
||
-->{{#forargs:|p|v|}}{{#if:{{#var:p}}<!-- |
-->{{#forargs:|p|v|}}{{#if:{{#var:p}}<!-- |
||
-->|{{{2|{{{text|{{{1}}}}}}}}}<!-- |
-->|{{{2|{{{text|{{{1}}}}}}}}}<!-- |
Revision as of 02:39, 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]]