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]] | {{#if: {{{2|}}} | &#124; [[{{{2}}}|Page 2]] | }}  
+
[[{{{1}}}|Page 1]] &#124; [[{{{2}}}|Page 2]] &#124; }}  
 
{{#if: {{{3|}}} | &#124; [[{{{3}}}|Page 3]] | }}  
 
{{#if: {{{3|}}} | &#124; [[{{{3}}}|Page 3]] | }}  
 
{{#if: {{{4|}}} | &#124; [[{{{4}}}|Page 4]] | }}  
 
{{#if: {{{4|}}} | &#124; [[{{{4}}}|Page 4]] | }}  
{{#if: {{{5|}}} | &#124; [[{{{5}}}|Page 5]] | }}  
+
{{#if: {{{5|}}} | &#124; [[{{{5}}}|Page 5]] }}  
 
</span>
 
</span>
  

Revision as of 19:12, 31 May 2012

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



Usage:

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

Works up to 5 pages.