Difference between revisions of "Template:Left right nav"

From QBWiki
Jump to navigation Jump to search
(Created page with "{| border=1 align="center" cellpadding=2 cellspacing=0 width=150 class="toccolours" style="margin-left: auto; margin-right: auto; center: 0 0 0.75em 0.75em; background: #f9f9f...")
 
 
Line 1: Line 1:
 
{| border=1 align="center" cellpadding=2 cellspacing=0 width=150 class="toccolours" style="margin-left: auto; margin-right: auto; center: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%;"
 
{| border=1 align="center" cellpadding=2 cellspacing=0 width=150 class="toccolours" style="margin-left: auto; margin-right: auto; center: 0 0 0.75em 0.75em; background: #f9f9f9; border: 1px #c6c6c6 solid; border-collapse: collapse; font-size: 85%;"
 
+
{{#if:{{{message|}}}|
| align="center" colspan="3"|
+
{{!}} align="center" colspan="3"{{!}}
{| border=0 align="center" cellpadding=4 cellspacing=4 width=510 style="background:#f9f9f9; text-align:center;"
+
{{{!}} border=0 align="center" cellpadding=4 cellspacing=4 width=510 style="background:#f9f9f9; text-align:center;"
| width="160px"| <font style="font-size:11pt" align="center">'''{{{message}}}'''</font>
+
{{!}} width="160px"{{!}} <font style="font-size:11pt" align="center">'''{{{message}}}'''</font>
 +
{{!-}}
 +
{{!}}}
 +
}}
 
|-
 
|-
|}
+
|style="min-width:100px"|<font style="font-size:10pt"><center>'''Previous'''</center></font> ||style="min-width:100px"| <font style="font-size:10pt"><center>'''Current'''</center></font>||style="min-width:100px"| <font style="font-size:10pt"><center>'''Next'''</center></font>
|-
 
|<font style="font-size:10pt"><center>'''Previous'''</center></font>|| <font style="font-size:10pt"><center>'''Current'''</center></font>|| <font style="font-size:10pt"><center>'''Next'''</center></font>
 
 
|-
 
|-
 
|<font style="font-size:10pt"><center>'''''{{{left}}}'''''</center></font>||<font style="font-size:10pt"> <center>'''{{{center}}}''' </center></font>||<font style="font-size:10pt"> <center>'''''{{{right}}}'''''</center></font>
 
|<font style="font-size:10pt"><center>'''''{{{left}}}'''''</center></font>||<font style="font-size:10pt"> <center>'''{{{center}}}''' </center></font>||<font style="font-size:10pt"> <center>'''''{{{right}}}'''''</center></font>

Latest revision as of 11:01, 31 October 2021

Previous
Current
Next
{{{left}}}
{{{center}}}
{{{right}}}

A generalization of the Template:Succession box.

Usage:

{{Left right nav|message=This is an example nav
|left=previous in series
|center=current in series
|right=next in series
}}
This is an example nav
Previous
Current
Next
previous in series
current in series
next in series