NewsUnrealEdForumsFilesModsFragBU

Skin

BeyondUnreal


Personal tools

Difference between revisions of "Template:Prevnext"

From Liandri Archives

Jump to: navigation, search
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|cellspacing="1" cellpadding="1" style="border:1px;width:100%;background-color: #c0c0c0"
+
<noinclude>Previous/Next page template for pages which need to be linked in a certain order.
!style="text-align:left;width:40%;" |{{#if:{{{prev|}}}|[[{{{prev}}}|'''&lt;&lt; Previous''']] ({{{prev|}}})}}
+
 
!style="text-align:center;width:20%;" |'''{{{list|}}}'''
+
Usage:
!style="text-align:right;width:40%;" |{{#if:{{{next|}}}|({{{next|}}}) [[{{{next}}}|'''Next &gt;&gt;''']]}}
 
|-
 
|}
 
<noinclude>Usage:
 
 
  <nowiki>{{prevnext|
 
  <nowiki>{{prevnext|
  prev=<Previous article>|
+
  <Previous article>|
  next=<Next article>|
+
  <Next article>|
  list=<Name of the list>|
+
  <Name of the list>|
 
  }}</nowiki>
 
  }}</nowiki>
 
Code for copy:
 
Code for copy:
 
  <nowiki>{{prevnext|
 
  <nowiki>{{prevnext|
  prev=|
+
  |
  next=|
+
  |
  list=|
+
  |
 
  }}</nowiki>
 
  }}</nowiki>
 
</noinclude>
 
</noinclude>
 +
<includeonly>{|cellspacing="1" cellpadding="1" style="border:1px;width:100%;background-color: #c0c0c0"
 +
!style="text-align:left;width:37%;"  |{{#if:{{{1|}}}|[[{{{1}}}|'''&lt;&lt; Previous''']] ({{{1|}}})}}
 +
!style="text-align:center;width:26%;"|{{#if:{{{3|}}}|[[{{{3}}}|'''{{{3}}}''']]}}
 +
!style="text-align:right;width:37%;" |{{#if:{{{2|}}}|({{{2|}}}) [[{{{2}}}|'''Next &gt;&gt;''']]}}
 +
|-
 +
|}</includeonly>

Latest revision as of 16:26, 2 March 2016

Previous/Next page template for pages which need to be linked in a certain order.

Usage:

{{prevnext|
 <Previous article>|
 <Next article>|
 <Name of the list>|
 }}

Code for copy:

{{prevnext|
 |
 |
 |
 }}