Template:DPL: Difference between revisions
Content deleted Content added
imported>FrozenPlum m Add the found missing vars |
imported>FrozenPlum m Name has since changed for desired section |
||
(6 intermediate revisions by the same user not shown) | |||
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 |
||
Line 170: | Line 206: | ||
| debug |
| debug |
||
| execandexit |
| execandexit |
||
⚫ | |||
| dplcache |
|||
⚫ | |||
<!-- General use and invocation syntax --> |
<!-- General use and invocation syntax --> |
||
| scrolling |
| scrolling |
||
| syntax |
| syntax |
||
| URL parameters |
|||
| DPL_count |
| DPL_count |
||
| DPL_offset |
| DPL_offset |
||
Line 205: | Line 241: | ||
<!-- variables, link to #variables --> |
<!-- variables, link to #variables --> |
||
| variable |
|||
| 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% = #variables |
| %VERSION% = #variables |
||
<!-- URL params, link to #URL parameters --> |
<!-- URL params, link to #URL parameters --> |
||
| URL parameters |
|||
| DPL_count |
| DPL_count |
||
| DPL_offset |
| DPL_offset |
||
Line 252: | Line 327: | ||
| DPL_arg3 |
| DPL_arg3 |
||
| DPL_arg4 |
| DPL_arg4 |
||
| DPL_arg5 = #URL parameters |
| DPL_arg5 = #Scroll/URL parameters |
||
<!-- default is #{{{1}}} --> |
<!-- default is #{{{1}}} --> |
Latest revision as of 07:13, 21 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.