Template:DPL: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (add scrolling and fix syntax link)
imported>FrozenPlum
m (Name has since changed for desired section)
 
(20 intermediate revisions by the same user not shown)
Line 31: Line 31:
| rows
| rows
| rowsize
| rowsize
| rowcolformat = Controlling output format
| rowcolformat
| variable
| variables
| CATBULLETS
| %CATBULLETS%
| CATLIST
| %CATLIST%
| CATNAMES
| %CATNAMES%
| CONTRIB
| %CONTRIB%
| CONTRIBUTION
| %CONTRIBUTION%
| CONTRIBUTOR
| %CONTRIBUTOR%
| COUNT
| %COUNT%
| COUNTFS
| %COUNTFS%
| COUNTFS2
| %COUNTFS2%
| DATE
| %DATE%
| DPLTIME
| %DPLTIME%
| EXTERNALLINK
| %EXTERNALLINK%
| FIRSTNAMESPACE
| %FIRSTNAMESPACE%
| FIRSTTITLE
| %FIRSTTITLE%
| IMAGE
| %IMAGE%
| IMAGESEL
| %IMAGESEL%
| LASTNAMESPACE
| %LASTNAMESPACE%
| LASTTITLE
| %LASTTITLE%
| NAMESPACE
| %NAMESPACE%
| NR
| %NR%
| PAGE
| %PAGE%
| PAGEID
| %PAGEID%
| PAGES
| %PAGES%
| PAGESEL
| %PAGESEL%
| PFUNC
| %PFUNC%
| REVISION
| %REVISION%
| SCROLLDIR
| %SCROLLDIR%
| SECTION
| %SECTION%
| SIZE
| %SIZE%
| SIZEFS
| %SIZEFS%
| TAG
| %TAG%
| TAGBODY
| %TAGBODY%
| TITLE
| %TITLE%
| TOTALPAGES
| %TOTALPAGES%
| USER
| %USER%
| VERSION
| %VERSION% = Controlling output format


<!-- Controlling output order -->
<!-- Controlling output order -->
Line 91: Line 165:
| notlastmodifiedby
| notlastmodifiedby
| title
| title
| title<
| titlelt
| title>
| titlegt
| scroll
| scroll
| titlematch
| titlematch
Line 132: Line 206:
| debug
| debug
| execandexit
| execandexit
| cacheperiod = Other parameters
| dplcache
| dplcacheperiod = Other parameters


<!-- General use and invocation syntax -->
<!-- General use and invocation syntax -->
| scrolling =
| scrolling
| syntax
| syntax = General usage and invocation syntax
| URL parameters
| DPL_count
| DPL_offset
| DPL_refresh
| DPL_fromTitle
| DPL_toTitle
| DPL_arg1
| DPL_arg2
| DPL_arg3
| DPL_arg4
| DPL_arg5 = General usage and invocation syntax
| #default = {{{1}}}
| #default = {{{1}}}
}}<!--
}}{{#switch: {{{1|test}}}

---- Second half of the URL (the anchor or no anchor)
---- Note: # is replaced by &#35; the HTML entity for #
-->{{#switch: {{{1|}}}

<!-- other DPL modules and syntax, link to respective pages, no anchor -->
| #dplvar
| #dplvar
| #dplnum
| #dplnum
Line 146: Line 236:
| #dplchapter
| #dplchapter
| syntax =
| syntax =

<!-- scrolling, link to #Scrolling -->
| scrolling = &#35;scrolling

<!-- variables, link to #variables -->
| variable
| variables
| CATBULLETS
| %CATBULLETS%
| CATLIST
| %CATLIST%
| CATNAMES
| %CATNAMES%
| CONTRIB
| %CONTRIB%
| CONTRIBUTION
| %CONTRIBUTION%
| CONTRIBUTOR
| %CONTRIBUTOR%
| COUNT
| %COUNT%
| COUNTFS
| %COUNTFS%
| COUNTFS2
| %COUNTFS2%
| DATE
| %DATE%
| DPLTIME
| %DPLTIME%
| EXTERNALLINK
| %EXTERNALLINK%
| FIRSTNAMESPACE
| %FIRSTNAMESPACE%
| FIRSTTITLE
| %FIRSTTITLE%
| IMAGE
| %IMAGE%
| IMAGESEL
| %IMAGESEL%
| LASTNAMESPACE
| %LASTNAMESPACE%
| LASTTITLE
| %LASTTITLE%
| NAMESPACE
| %NAMESPACE%
| NR
| %NR%
| PAGE
| %PAGE%
| PAGEID
| %PAGEID%
| PAGES
| %PAGES%
| PAGESEL
| %PAGESEL%
| PFUNC
| %PFUNC%
| REVISION
| %REVISION%
| SCROLLDIR
| %SCROLLDIR%
| SECTION
| %SECTION%
| SIZE
| %SIZE%
| SIZEFS
| %SIZEFS%
| TAG
| %TAG%
| TAGBODY
| %TAGBODY%
| TITLE
| %TITLE%
| TOTALPAGES
| %TOTALPAGES%
| USER
| %USER%
| VERSION
| %VERSION% = &#35;variables

<!-- URL params, link to #URL parameters -->
| URL parameters
| DPL_count
| DPL_offset
| DPL_refresh
| DPL_fromTitle
| DPL_toTitle
| DPL_arg1
| DPL_arg2
| DPL_arg3
| DPL_arg4
| DPL_arg5 = &#35;Scroll/URL parameters

<!-- default is #{{{1}}} -->
| #default = &#35;{{{1}}}
| #default = &#35;{{{1}}}
}}|<!--
}}|{{{1}}}]]</includeonly></onlyinclude>
-- Link display text
-->{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]</includeonly></onlyinclude>
{{Documentation}}
{{Documentation}}

Latest revision as of 07:13, 21 April 2023

[view | edit | purge]Template Documentation
Formats, and where appropriate, creates a link to the proper dpl parameter, help page, or dpl parser function in the DPL Manual.

Example:

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.