Jump to content
This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

Examples/Parameter: scroll (example 2): Difference between revisions

No, the example provided doesn't work regardless of params, so seems the template is required
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
(No, the example provided doesn't work regardless of params, so seems the template is required)
Line 10:
Adding <code>&DPL_offset=3</code> to the end of the ([[mw:Manual:Parameters_to_index.php|index.php]]-style) URL seen below, causes the contents of the DPL3 query displayed on-page to change; the next 3 results in the result set are displayed.
 
<code><nowiki>https://dpl3.miraheze.org/w/index.php?title=Criteria_for_page_selection/Parameter:_scroll_(example_1)&DPL_count=3&DPL_offset=3</nowiki></code>
 
<pre>
{{#dpl:execandexit=geturlargs}}
{{#dpl:
|category = Fruit examples
Line 18 ⟶ 19:
|offset = {%DPL_offset:0%}
|scroll = yes
|resultsheader = ²{Extension DPL scroll¦total={{formatnum:{{PAGESINCATEGORY:{{{category|Fruit examples}}} }}¦R}}¦offset={%DPL_offset:0%}¦count={%DPL_count:100%}¦page={{FULLPAGENAME}}}²\n
|resultsheader = Showing {%DPL_count:3%} pages starting from page ²{#expr:{%DPL_offset%} + 1}²:\n
}}
</pre>
Line 30 ⟶ 31:
|offset = {%DPL_offset:0%}
|scroll = yes
|resultsheader = ²{Extension DPL scroll¦total={{formatnum:{{PAGESINCATEGORY:{{{category|Fruit examples}}} }}¦R}}¦offset={%DPL_offset:0%}¦count={%DPL_count:100%}¦page={{FULLPAGENAME}}}²\n
|resultsheader = Showing {%DPL_count:3%} pages starting from page ²{#expr:{%DPL_offset%} + 1}²:\n
}}
<noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.