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

m
Update category links and a few other things
imported>FrozenPlum
m (Minor update)
imported>FrozenPlum
m (Update category links and a few other things)
 
Line 6:
==Example==
 
The <code>{{DPL|count}}</code> and empty <code>{{DPL|offset}}</code> displays the first 3 articles from [[:Category:Fruit examples]] using [[General usage and invocation syntax#Scroll/URL syntax|Scroll/URL syntax]], and <code>scroll</code> fills the scroll/url parameter values. The <code>{{DPL|resultsheader}}</code>/footer usesuse a helper template ([[Template:DPL3 scroll]]) to create scroll navigation, composed of [[mw:Help:Magic_words#Statistics|magic word]] (<code><nowiki>{{PAGESINCATEGORY:Category}}</nowiki>''Category''}}</code>) and some parameters are fed to that template, so it can determine total pages, count, and amount of offset. <code>{{DPL|allowcachedresults}}</code> prevents caching, to prevent the need for manual purge.
 
<pre>
Line 35:
<noinclude>
[[Category:Select by category-related criteria‎]]
[[Category:Uses execandexit parameter]]
[[Category:Uses category parameter]]
[[Category:Uses count parameter]]
[[Category:Uses offset parameter]]
[[Category:Uses scroll parameter]]
[[Category:Uses resultsheader parameter]]
[[Category:Uses URL parameter]]
[[Category:Uses resultsfooter parameter]]
[[Category:Uses allowcachedresults parameter]]
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.