Difference between revisions of "Template:Paging"

From BroaDWcast
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="border-style:solid; border-width:5px;">
+
<span style="border-style:solid; border-width:1px; padding:5px 5px 5px 5px; background-color:#f8f8f8;">
[[{{{1}}}|Page 1]]  
+
[[{{{1}}}|Page 1]] | [[{{{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>
  
Line 11: Line 10:
  
 
<nowiki>
 
<nowiki>
{{Paging|[[First Page]][[Second Page]]}}
+
{{Paging|[[First Page]]|[[Second Page]]}}
 
</nowiki>
 
</nowiki>
  
 
Works up to 5 pages.
 
Works up to 5 pages.
 
</noinclude>
 
</noinclude>

Latest revision as of 19:22, 31 May 2012

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



Usage:

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

Works up to 5 pages.