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.)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<center>
+
{{-}}<center>
 
{|  style="position: relative; padding: 0px; width: 70%; padding: 5px; margin: 5px; border-collapse:collapse; text-align: center;" border="1" bordercolor="#C0C0C0"
 
{|  style="position: relative; padding: 0px; width: 70%; padding: 5px; margin: 5px; border-collapse:collapse; text-align: center;" border="1" bordercolor="#C0C0C0"
|  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|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><i>Preceding Year</i><br />[[{{{previous}}}|&#8592; {{{previous}}}]]</b>}}
|  style="width: 40%; text-align: center;" | '''Current Year'''<br />{{{current}}}
+
|  style="width: 40%; text-align: center;" | {{#if:{{{current|}}}|<b><i>Current Year</i><br />{{{current}}}</b>}}
|  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><i>Following Year</i><br />[[{{{next}}}|{{{next}}} &#8594;]]</b>}}
 
|-
 
|-
 
|}
 
|}

Latest revision as of 12:58, 27 December 2017

Timeline Navigation


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 =
}}