Template:DPL: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (Forgot to add a text override, plus I need added page edits to test if 502s/503s still trigger with both vars and loops extensions disabled.) |
imported>FrozenPlum m (Silly me, should have been 2 (plus test edits needed to see if 502/3 instances drop after disabling loops/vars extensions)) |
||
Line 147: | Line 147: | ||
| syntax = |
| syntax = |
||
| #default = #{{{1}}} |
| #default = #{{{1}}} |
||
}}|{{#if:{{{ |
}}|{{#if:{{{2|}}}|{{{2}}}|{{{2}}}}}]]</includeonly></onlyinclude> |
||
{{Documentation}} |
{{Documentation}} |
Revision as of 01:42, 2 April 2022
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.
Example:
{{DPL|mode}}
gives {{{2}}}{{DPL|mode|alternate label}}
gives alternate label{{DPL|mode|DPL format statement}}
gives DPL format statement{{DPL|#dplnum}}
gives {{{2}}}{{DPL|non-existing page}}
gives {{{2}}}
To include parameter values:
{{DPL|mode}}
followed by[[=userformat]]
gives {{{2}}}=userformat (with redirect created from =userformat to mode)- Just doing
{{DPL|mode}}=userformat
is also fine, resulting in {{{2}}}=userformat
[view | edit | purge]The above documentation is transcluded from Template:DPL/doc.