Difference between revisions of "Template:PageFlipper"

From Disobiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><div class="pageflipper"><div class="prev">{{#if:{{{prev|}}} | '''[[{{{prev}}}|&#x2190;]]'''<br />[[{{{prev}}}]] | '''&#x2190;'''<br />- }}</div><div class="next">{{#if:{{{next|}}} | '''[[{{{next}}}|&#x2192;]]'''<br />[[{{{next}}}]] | '''&#x2192;'''<br />- }}</div></div></includeonly><noinclude>
+
<includeonly><div class="pageflipper"><div class="prev">{{#if:{{{prev|{{#expr:{{SUBPAGENAME}}-1}}}}} | '''[[{{{prev}}}|&#x2190;]]'''<br />[[{{{prev}}}]] | '''&#x2190;'''<br />- }}</div><div class="next">{{#if:{{{next|{{#expr:{{SUBPAGENAME}}+1}}}}} | '''[[{{{next}}}|&#x2192;]]'''<br />[[{{{next}}}]] | '''&#x2192;'''<br />- }}</div></div></includeonly><noinclude>
 
Use this template to place next and previous links on a page.
 
Use this template to place next and previous links on a page.
  
Line 5: Line 5:
  
 
<pre>
 
<pre>
{{Fiction
+
{{PageFlipper
| name           =  
+
| prev           =  
| author        =
+
| next          =  
| genre          =
 
| rating        =
 
| frequency      =
 
| image          =
 
| image_link    =
 
| image_size    =
 
| image_caption  =
 
| recap          =
 
 
}}</pre>
 
}}</pre>
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 11:32, 22 April 2010

Use this template to place next and previous links on a page.

Usage

{{PageFlipper
| prev           = 
| next           = 
}}