Difference between revisions of "Template:PageFlipper"
Jump to navigation
Jump to search
Morbus Iff (talk | contribs) |
Morbus Iff (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="pageflipper"> | <div class="pageflipper"> | ||
− | <div class="prev">{{#if:{{{first|}}}|-|<div class="glyph">[[{{BASEPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}|←]]</div><div class="text">[[{{BASEPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}]] | + | <div class="prev">{{#if:{{{first|}}}|-|<div class="glyph">[[{{BASEPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}|←]]</div><div class="text">[[{{BASEPAGENAME}}/{{#expr:{{SUBPAGENAME}}-1}}]]</div></div>}} |
− | <div class="next">{{#if:{{{last|}}}|-|<div class="glyph">[[{{BASEPAGENAME}}/{{{next|{{#expr:{{SUBPAGENAME}}+1}}}}}|→]]</div><div class="text">[[{{BASEPAGENAME}}/{{{next|{{#expr:{{SUBPAGENAME}}+1}}}}}]] | + | <div class="next">{{#if:{{{last|}}}|-|<div class="glyph">[[{{BASEPAGENAME}}/{{{next|{{#expr:{{SUBPAGENAME}}+1}}}}}|→]]</div><div class="text">[[{{BASEPAGENAME}}/{{{next|{{#expr:{{SUBPAGENAME}}+1}}}}}]]</div></div></div>}} |
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 12:02, 22 April 2010
Use this template to place next and previous links on a page.
If the SUBPAGENAME is a number, then we'll +/- automatically.
Usage
{{PageFlipper | prev = Unlinked page name for the previous entry. | next = Unlinked page name for the next entry. | first = If defined, no previous entry link will be shown. | last = If defined, no next entry link will be shown. }}