Difference between revisions of "Template:Chronology Box"

From Holocron - Star Wars Combine
Jump to: navigation, search
(Creating a standardized template in order to replace non-standardized code at the bottom of each year page.)
 
Line 3: Line 3:
 
|  style="width: 100%; background-color: #21314c;" colspan=3 | <font color=white>'''Timeline Navigation'''</font>
 
|  style="width: 100%; background-color: #21314c;" colspan=3 | <font color=white>'''Timeline Navigation'''</font>
 
|-  
 
|-  
|  style="width: 30%; text-align: center;" | {{#if:{{{previous|}}}|<b>Previous Year</b><br />[[{{{previous}}}|&#8592; {{{previous}}}]]}}
+
|  style="width: 30%; text-align: center;" | {{#if:{{{previous|}}}|<b>Preceding Year<br />[[{{{previous}}}|&#8592; {{{previous}}}]]</b>}}
|  style="width: 40%; text-align: center;" | '''Current Year'''<br />{{{current}}}
+
|  style="width: 40%; text-align: center;" | '''Current Year'''<br />'''{{{current}}}'''
|  style="width: 30%; text-align: center;" | {{#if:{{{next|}}}|<b>Next Year</b><br />[[{{{next}}}|{{{next}}} &#8594;]]}}
+
|  style="width: 30%; text-align: center;" | {{#if:{{{next|}}}|<b>Following Year<br />'''[[{{{next}}}|{{{next}}} &#8594;]]</b>}}
 
|-
 
|-
 
|}
 
|}

Revision as of 23:35, 20 May 2015

Timeline Navigation
Current Year
{{{current}}}


Usage

The Chronology Box template is used for Timeline sub-pages in order to more easily navigate the preceding and succeeding years. Paste the following code into the end of an article, completing all known fields:

{{Chronology Box
| previous =
| current = 
| next =
}}