Anonymous user
Template:DPL: Difference between revisions
m
Retest a swap to DPLvar, the underscore was problematic before
imported>FrozenPlum mNo edit summary |
imported>FrozenPlum m (Retest a swap to DPLvar, the underscore was problematic before) |
||
Line 1:
<onlyinclude><includeonly>
-->{{#vardefine:page|
| #dplvar = Dplvar
| #dplnum = Dplnum
Line 135 ⟶ 137:
| dplcacheperiod = Other parameters
<!-- General use and invocation syntax -->▼
}}}}<!--
-->{{#ifeq:{{#dplvar:page}}|<!--
▲| #default = {{{1}}}
-->|{{#dplvar:set|page2|
▲}}{{#switch: {{{1|test}}}
{{#switch: {{{1}}}
<!-- Other pages These links will have a different formatting than the links in the list above-->
| Characters with special meaning
| Scrolling
| userformat
}}|{{{1}}}]]</includeonly></onlyinclude>▼
| VARIABLES = Controlling output format
| Select articles based on REVISION dates
| REVISION
| Criteria for page selection
| selection criteria = Criteria for page selection
| #default =
}}}}
|<span class=dpl3><!-- Those found in the first list (dpl parameters and functions) will be formatted differently than those found in the second list
-->}}<!--
-->{{#ifeq:{{#dplvar:page}}{{#dplvar:page2}}|<!-- 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|Example:_{{{1}}} <!-- calls a dpl which may be slower? than the previous {{#if:{{#pos statement
-->|[[Example:_{{{1}}}|{{{2|{{{text|{{{1}}}}}}}}}]]<!-- only if the page exists
-->|{{#tag:span|{{{1}}} not found|style=color:red}} <!-- <-if {{{1}}} isn't on the list, and the page doesn't exist.
-->}}<!--
-->|{{ifexists|{{{1}}} <!-- calls a dpl which may be slower? than the previous {{#if:{{#pos statement
-->|[[{{{1}}}|{{{2|{{{text|{{{1}}}}}}}}}]]<!-- only if the page exists
-->|{{#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}}<!--
-->|[[{{#dplvar:page}}|{{{2|{{{text|{{{1}}}}}}}}}]]<!-- DPL functions
-->|[[{{#dplvar:page}}{{#dplvar:page2}}#{{{1}}}|<!--
-->{{#forargs:|p|v|}}{{#if:{{#dplvar:p}}<!-- check for usage of "=" in parameters
-->|{{{2|{{{text|{{{1}}}}}}}}}<!--
-->|{{{1|}}}={{#dplvar:v}}}}<!--
-->]]<!--
-->}}<!--
-->}}<!--
{{Documentation}}
|