Template:DPL: Difference between revisions
Content deleted Content added
imported>FrozenPlum cacheperiod proper name (was dplcacheperiod long, long ago) and remove dplcache (obsoleted long ago also) |
imported>FrozenPlum Needs to have both name variations for now (later without %) |
||
Line 34: | Line 34: | ||
| variable |
| variable |
||
| variables |
| variables |
||
| CATBULLETS |
|||
| %CATBULLETS% |
| %CATBULLETS% |
||
| CATLIST |
|||
| %CATLIST% |
| %CATLIST% |
||
| CATNAMES |
|||
| %CATNAMES% |
| %CATNAMES% |
||
| CONTRIB |
|||
| %CONTRIB% |
| %CONTRIB% |
||
| CONTRIBUTION |
|||
| %CONTRIBUTION% |
| %CONTRIBUTION% |
||
| CONTRIBUTOR |
|||
| %CONTRIBUTOR% |
| %CONTRIBUTOR% |
||
| COUNT |
|||
| %COUNT% |
| %COUNT% |
||
| COUNTFS |
|||
| %COUNTFS% |
| %COUNTFS% |
||
| COUNTFS2 |
|||
| %COUNTFS2% |
| %COUNTFS2% |
||
| DATE |
|||
| %DATE% |
| %DATE% |
||
| DPLTIME |
|||
| %DPLTIME% |
| %DPLTIME% |
||
| EXTERNALLINK |
|||
| %EXTERNALLINK% |
| %EXTERNALLINK% |
||
| FIRSTNAMESPACE |
|||
| %FIRSTNAMESPACE% |
| %FIRSTNAMESPACE% |
||
| FIRSTTITLE |
|||
| %FIRSTTITLE% |
| %FIRSTTITLE% |
||
| IMAGE |
|||
| %IMAGE% |
| %IMAGE% |
||
| IMAGESEL |
|||
| %IMAGESEL% |
| %IMAGESEL% |
||
| LASTNAMESPACE |
|||
| %LASTNAMESPACE% |
| %LASTNAMESPACE% |
||
| LASTTITLE |
|||
| %LASTTITLE% |
| %LASTTITLE% |
||
| NAMESPACE |
|||
| %NAMESPACE% |
| %NAMESPACE% |
||
| NR |
|||
| %NR% |
| %NR% |
||
| PAGE |
|||
| %PAGE% |
| %PAGE% |
||
| PAGEID |
|||
| %PAGEID% |
| %PAGEID% |
||
| PAGES |
|||
| %PAGES% |
| %PAGES% |
||
| PAGESEL |
|||
| %PAGESEL% |
| %PAGESEL% |
||
| PFUNC |
|||
| %PFUNC% |
| %PFUNC% |
||
| REVISION |
|||
| %REVISION% |
| %REVISION% |
||
| SCROLLDIR |
|||
| %SCROLLDIR% |
| %SCROLLDIR% |
||
| SECTION |
|||
| %SECTION% |
| %SECTION% |
||
| SIZE |
|||
| %SIZE% |
| %SIZE% |
||
| SIZEFS |
|||
| %SIZEFS% |
| %SIZEFS% |
||
| TAG |
|||
| %TAG% |
| %TAG% |
||
| TAGBODY |
|||
| %TAGBODY% |
| %TAGBODY% |
||
| TITLE |
|||
| %TITLE% |
| %TITLE% |
||
| TOTALPAGES |
|||
| %TOTALPAGES% |
| %TOTALPAGES% |
||
| USER |
|||
| %USER% |
| %USER% |
||
| VERSION |
|||
| %VERSION% = Controlling output format |
| %VERSION% = Controlling output format |
||
Revision as of 05:40, 1 April 2023
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 mode{{DPL|mode|alternate label}}
gives alternate label{{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}}
followed by[[=userformat]]
gives mode=userformat (with redirect created from =userformat to mode)- Just doing
{{DPL|mode}}=userformat
is also fine, resulting in mode=userformat
[view | edit | purge]The above documentation is transcluded from Template:DPL/doc.