Difference between revisions of "Template:Succession Box"

From Holocron - Star Wars Combine
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|  style="width: 100%; background-color: #21314c;" colspan=3 | <font color=white>'''{{{position}}}'''</font>
 
|  style="width: 100%; background-color: #21314c;" colspan=3 | <font color=white>'''{{{position}}}'''</font>
 
|-  
 
|-  
|  style="width: 30%; text-align: center;" | {{#if:{{{predecessor title|}}}|<b>predecessor field</b>|<b>Preceded By:</b>}}<br />{{{predecessor}}}
+
|  style="width: 30%; text-align: center;" | {{#if:{{{predecessor title|}}}|<b>{{{predecessor title}}}</b>|<b>Preceded By:</b>}}<br />{{{predecessor}}}
 
|  style="width: 40%; text-align: center;" | '''{{{name}}}'''<br />{{{time}}}
 
|  style="width: 40%; text-align: center;" | '''{{{name}}}'''<br />{{{time}}}
|  style="width: 30%; text-align: center;" | {{#if:{{{successor title|}}}|<b>predecessor field</b>|<b>Succeeded By:</b>}}<br />{{{predecessor}}}
+
|  style="width: 30%; text-align: center;" | {{#if:{{{successor title|}}}|<b>{{{successor title}}}</b>|<b>Succeeded By:</b>}}<br />{{{successor}}}
 
 
''':'''<br />{{{}}}
 
 
|-
 
|-
 
|}
 
|}
Line 28: Line 26:
  
 
===Optional Fields===
 
===Optional Fields===
You may change the name of the predecessor and successor fields by using these optional entries:
+
You can alter the name of the predecessor / successor titles by using these optional fields:
  
 
<pre><nowiki>
 
<pre><nowiki>

Latest revision as of 17:57, 11 December 2013

{{{position}}}
Preceded By:
{{{predecessor}}}
{{{name}}}
{{{time}}}
Succeeded By:
{{{successor}}}


Usage

The Succession Box template is used for Character pages only, to describe the succeeding / predecessing characters in a position. Paste the following code into the end of an article, filling all known fields:

{{Succession Box
| position =
| predecessor = 
| name =
| time =
| successor =
}}

Optional Fields

You can alter the name of the predecessor / successor titles by using these optional fields:

| predecessor title = 
| successor title =