Difference between revisions of "DPL Example 020"
From FollowTheScore
Line 1: | Line 1: | ||
This is an improved version of result page scrolling. The example uses the header AND the footer to show links for scrolling; of course one of them may be enough in many cases. | This is an improved version of result page scrolling. The example uses the header AND the footer to show links for scrolling; of course one of them may be enough in many cases. | ||
− | |||
− | |||
− | |||
− | |||
{{#dpl: | {{#dpl: | ||
|namespace= | |namespace= | ||
Line 13: | Line 9: | ||
|resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}² | |resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}² | ||
}} | }} | ||
− | |||
+ | <pre><nowiki> | ||
{{#dpl: | {{#dpl: | ||
|namespace= | |namespace= | ||
Line 23: | Line 19: | ||
|resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}² | |resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}² | ||
}} | }} | ||
+ | </nowiki></pre> |
Revision as of 19:56, 26 May 2009
This is an improved version of result page scrolling. The example uses the header AND the footer to show links for scrolling; of course one of them may be enough in many cases.
Template:DPL scrollTemplate:DPL scroll{{#dpl: |namespace= |titlematch=C% |count=10 |offset=%DPL_offset% |resultsheader=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}² |resultsfooter=²{DPL scroll¦total=%TOTALPAGES%¦offset=%DPL_offset%¦count=10¦page={{PAGENAME}}}² }}