Help:DPL Examples/DPL Example 020
Jump to navigation
Jump to search
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. It requires the Variables extension (with that bugfix).
{{#dpl: | namespace = Issue | uses = Template:Issue | include = {Issue}:Description | table = class="wikitable sortable",Issue,Description | count = {%DPL_count:5%} | resultsheader = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:5%}¦page={{FULLPAGENAME}} }²\n | resultsfooter = ²{Extension DPL scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:5%}¦page={{FULLPAGENAME}} }²\n }}