Template

Pager

From MusicTechWiki

This template adds a Prev and Next buttons wherever the template is placed in an article. Here is the code.

{{-}}
<div id="paging" class="panel" style="border: 0;border-top: 1px solid #ddd;padding: 0;background: linear-gradient(to bottom,#f3f3f3,#fff);margin-bottom: 1em;"><div class="paging-center" style="text-align: center;">{{#if:{{{1}}}|{{#widget:Paging Button|url={{localurl:{{{1}}}}}|text=Previous|previous}}||}}
{{#if:{{{2}}}|{{#widget:Paging Button|url={{localurl:{{{2}}}}}|text=Next|next}}||}}</div>
</div>
{{-}}

Use

This only works with full page name NAMESPACE:Pagename. Must use, previous and next in order. For example, add -

{{paging|Resources:Harmonics-Home|Resources:The_Harmonic_Overtone_Series_-_Intro}}


Example

Click through for an example of this template in use.

{{paging||Template:Paging}}

Shows this: