Template:DPL/doc: Difference between revisions
Content added Content deleted
imported>FrozenPlum (Interim save) |
imported>FrozenPlum m (Close enough) |
||
Line 12:
<code><nowiki>{{DPL|non-existing page}}</nowiki></code> gives {{DPL|non-existing page}}
To include parameter values
<code><nowiki>{{DPL|mode|{{eq|=}}userformat}}</nowiki></code> gives {{DPL|mode|{{=}}userformat}}<br/>
<code><nowiki>{{DPL|mode
<includeonly>
|
Revision as of 05:11, 31 March 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, for HTML tags, try Template:tag.
Example:
{{DPL|mode}}
gives mode
{{DPL|mode|DPL format statement}}
gives DPL format statement
{{DPL|#dplnum}}
gives
#dplnum
{{DPL|non-existing page}}
gives non-existing page
To include parameter values:
{{DPL|mode|{{eq|=}}userformat}}
gives =userformat
{{DPL|mode}}
followed by [[=userformat]]
gives mode=userformat