Template:DPL3: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (Move docs to doc subpage) |
imported>FrozenPlum m (need to put back to working prior to making public) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 33:
| rows
| rowsize
| rowcolformat =
<!-- Controlling output order -->
| ordermethod
| order
| ordercollation =
<!-- Controlling output volume -->
Line 63:
| includepage
| includemaxlength
| includetrim =
<!-- Criteria for page selection -->
Line 122:
| distinct
| ignorecase
| skipthispage =
<!-- Other parameters -->
Line 135:
| execandexit
| dplcache
| dplcacheperiod =
| #default =
Line 149:
| userformat
| VARIABLES =
| Select articles based on REVISION dates
| REVISION
| Criteria for page selection
| selection criteria =
| #default =
Line 163:
-->{{#ifeq:{{#var:page}}{{#var:page_}}|<!-- if not on either list
-->|{{#if:{{#pos:{{lc:{{{1}}}}}|example}}{{#pos:{{lc:{{{1}}}}}|test}}<!-- if either an example or a test (on another page)
-->|{{ifexists|
-->|[[
-->|{{#tag:span|{{{1}}} not found|style=color:red}} <!-- <-if {{{1}}} isn't on the list, and the page doesn't exist.
-->}}<!--
-->|{{ifexists|
-->|[[
-->|{{#tag:span|'{{{1}}}' not found|style=color:red}} <!-- <-if {{{1}}} isn't on the list, and the page doesn't exist.
-->}}<!--
-->}}<!--
-->|{{#if:{{#pos:{{{1}}}|#dpl}}<!--
-->|[[
-->|[[
-->{{#forargs:|p|v|}}{{#if:{{#var:p}}<!-- check for usage of "=" in parameters
-->|{{{2|{{{text|{{{1}}}}}}}}}<!--
|
Latest revision as of 10:01, 29 March 2022
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.
Usage
{{DPL|format}}
gives format
{{DPL|format|DPL format statement}}
gives DPL format statement
{{DPL|#dplvar}}
gives
#dplvar
{{DPL|non-existing page}}
gives non-existing page
{{DPL|mode}}=userformat
gives mode=userformat
{{DPL|mode}}=
gives mode=
[view | edit | purge]The above documentation is transcluded from Template:DPL3/doc.