Difference between revisions of "Template:Paging"

From BroaDWcast
Jump to navigationJump to search
Line 1: Line 1:
 
<span style="border-style:solid; border-width:1px; padding:5px 5px 5px 5px; background-color:#f8f8f8;">
 
<span style="border-style:solid; border-width:1px; padding:5px 5px 5px 5px; background-color:#f8f8f8;">
[[{{{1}}}|Page 1]]  
+
[[{{{1}}}|Page 1]] | {{#if: {{{2|}}} | &#124; [[{{{2}}}|Page 2]] | }}  
{{#if: {{{2|}}} | <nowiki>|</nowiki> [[{{{2}}}|Page 2]] | }}  
+
{{#if: {{{3|}}} | &#124; [[{{{3}}}|Page 3]] | }}  
{{#if: {{{3|}}} | <nowiki>|</nowiki> [[{{{3}}}|Page 3]] | }}  
+
{{#if: {{{4|}}} | &#124; [[{{{4}}}|Page 4]] | }}  
{{#if: {{{4|}}} | <nowiki>|</nowiki> [[{{{4}}}|Page 4]] | }}  
+
{{#if: {{{5|}}} | &#124; [[{{{5}}}|Page 5]] | }}  
{{#if: {{{5|}}} | <nowiki>|</nowiki> [[{{{5}}}|Page 5]] | }}  
 
 
</span>
 
</span>
  

Revision as of 19:07, 31 May 2012

[[{{{1}}}|Page 1]] |



Usage:

{{Paging|[[First Page]][[Second Page]]}}

Works up to 5 pages.