Anonymous user
Examples/Parameter: scroll (example 1): Difference between revisions
Examples/Parameter: scroll (example 1) (view source)
Revision as of 07:24, 21 April 2023
, 1 year agoUpdate categories and example text slightly
imported>FrozenPlum (Removed redirect to Criteria for page selection/Parameter: scroll (example 2)) |
imported>FrozenPlum m (Update categories and example text slightly) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 6:
==Example==
This selects pages from [[:Category:Fruit examples]]
The result is a static display of the first 3 pages, but their display offset (page to start at) and count can be ''overwritten'' just by adding two DPL3-specific URL parameters <code>&DPL_count=
* <code><nowiki>https://dpl3.miraheze.org/w/index.php?title=Criteria_for_page_selection/Parameter:_scroll_(example_1)&DPL_count=
<pre>
Line 17:
{{#dpl:
|category = Fruit examples
|count = {%DPL_count:
|offset = {%DPL_offset:0%}
|scroll = yes
|resultsheader = Showing {%DPL_count:
|allowcachedresults = false
}}
Line 29:
{{#dpl:
|category = Fruit examples
|count = {%DPL_count:
|offset = {%DPL_offset:0%}
|scroll = yes
|resultsheader = Showing {%DPL_count:
|allowcachedresults = false
}}
<noinclude>
[[Category:Select by category-related criteria]]
[[Category:Uses execandexit parameter]]
[[Category:Uses category parameter]]
[[Category:Uses count
[[Category:Uses offset
[[Category:Uses scroll parameter]]
[[Category:Uses resultsheader parameter]]
[[Category:Uses URL parameter]]
[[Category:Uses resultsfooter parameter]]
[[Category:Uses allowcachedresults parameter]]
</noinclude>
|