Template:DPL3/doc: Difference between revisions
Content added Content deleted
imported>FrozenPlum m (FrozenPlum moved page Template:Dpl3/doc to Template:DPL3/doc: Nope, now I understand why this was named as such) |
imported>FrozenPlum m (update docs, forgot to apply new template) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.<p></p> |
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.<p></p> |
||
For formatting individual %VARIABLES% use [[Template:tt |
For formatting individual %VARIABLES% use [[Template:tt]]. |
||
==Usage== |
|||
⚫ | |||
Example:<p></p> |
|||
<code><nowiki>{{ |
<code><nowiki>{{DPL|format|DPL format statement}}</nowiki></code> gives {{DPL|format|DPL format statement}}<br/> |
||
<code><nowiki>{{ |
<code><nowiki>{{DPL|#dplvar}}</nowiki></code> gives {{DPL|#dplvar}}<br/> |
||
<code><nowiki>{{ |
<code><nowiki>{{DPL|non-existing page}}</nowiki></code> gives {{DPL|non-existing page}} |
||
⚫ | |||
Parameter values may be included as well (in lieu of a 2nd parameter):<p></p> |
Parameter values may be included as well (in lieu of a 2nd parameter):<p></p> |
||
<code><nowiki>{{ |
<code><nowiki>{{DPL|mode}}=userformat</nowiki></code> gives {{DPL|mode}}=userformat<br/> |
||
<code><nowiki>{{ |
<code><nowiki>{{DPL|mode}}=</nowiki></code> gives {{DPL|mode}}=<br/> |
||
<includeonly> |
<includeonly> |
Latest revision as of 05:35, 2 April 2022
[purge]
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more informationFormats, 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
Parameter values may be included as well (in lieu of a 2nd parameter):
{{DPL|mode}}=userformat
gives mode=userformat
{{DPL|mode}}=
gives mode=