Template:Delete3

From DynamicPageList3 Manual
Revision as of 05:09, 4 April 2022 by imported>FrozenPlum (Update to move docs here)

This template can be used in a DPL3 statement to scroll through DPL result pages. The parameters set in this template, must have their URL parameter values set in the corresponding DPL3 statement per the usage example below.

Usage

The count and offset parameter are required to use this template in a DPL3 invocation:

|count = {%DPL_count:10%}
|offset = {%DPL_offset:0%}
|resultsheader = ²{DPL scroll¦total={{formatnum:{{PAGESINCATEGORY:category name}}¦R}}¦offset={%DPL_offset:0%}¦count={%DPL_count:10%}¦page={{FULLPAGENAME}}}²\n
|resultsfooter = ²{DPL scroll¦total={{formatnum:{{PAGESINCATEGORY:category name}}¦R}}¦offset={%DPL_offset:0%}¦count={%DPL_count:10%}¦page={{FULLPAGENAME}}}²\n
Note: %TOTALPAGES% when used in resultsheader or resultsfooter, may cause both to intermittently appear/disappear. Currently, this template is only usable when there's a set number of expected results, such as pages in a category. {{formatnum:{{PAGESINCATEGORY:category name}}¦R}} is used to adjust for this.


The output of the URL link generated, is equivalent to putting the following in a browser (for the page name that has the above required parameters):

https://mywiki.com/wiki/Pagename&DPL_count=10&DPL_offset=10