Template:Delete3: Difference between revisions

Update to be correct now that it's working
imported>FrozenPlum
No edit summary
imported>FrozenPlum
(Update to be correct now that it's working)
Line 22:
|count = {%DPL_count:10%}
|offset = {%DPL_offset:0%}
|resultsheader = ²{Extension DPL scroll¦total={{formatnum:{{PAGESINCATEGORY:categoryCategory name}}¦|R}}¦offset={%DPL_offset:0%}¦count={%DPL_count:10%}¦page={{FULLPAGENAME}}}²\n
|resultsfooter = ²{Extension DPL scroll¦total={{formatnum:{{PAGESINCATEGORY:categoryCategory name}}¦|R}}¦offset={%DPL_offset:0%}¦count={%DPL_count:10%}¦page={{FULLPAGENAME}}}²\n
|allowcachedresults = false
</pre>
{{note|'''Note:''' <code>%TOTALPAGES%</code> when used in <code>resultsheader</code> or <code>resultsfooter</code>, 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. <code><nowiki>{{formatnum:{{PAGESINCATEGORY:categoryCategory name}}¦|R}}</nowiki></code> is used to adjust for this.|warn}}
 
<!-- The old working example, prior to (much needed) cache changes to drastically improve the performance of DPL3:
Line 31 ⟶ 32:
 
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):
<pre>https://mywiki.commiraheze.org/wikiw/Pagenameindex.php?title=Mypage&DPL_count=103&DPL_offset=103
</pre>
 
Anonymous user