Difference between revisions of "Template:Succession box"

From Rebel Alliance Wiki
Jump to: navigation, search
(Created page with "<center> {| style="position: relative; padding: 0px; width: 70%; padding: 5px; margin: 5px; border-collapse:collapse; text-align: center;" border="1" bordercolor="#C0C0C0" |...")
 
(Delete page)
Tag: Blanking
 
Line 1: Line 1:
<center>
 
{|  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>'''{{{position}}}'''</font>
 
|-
 
|  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: 30%; text-align: center;" | {{#if:{{{successor title|}}}|<b>{{{successor title}}}</b>|<b>Succeeded By:</b>}}<br />{{{successor}}}
 
|-
 
|}
 
</center>
 
  
<noinclude>
 
== Description ==
 
 
===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:
 
 
<pre><nowiki>
 
{{Succession Box
 
| position =
 
| predecessor =
 
| name =
 
| time =
 
| successor =
 
}}
 
</nowiki></pre>
 
 
===Optional Fields===
 
You can alter the name of the predecessor / successor titles by using these optional fields:
 
 
<pre><nowiki>
 
| predecessor title =
 
| successor title =
 
</nowiki></pre>
 
 
 
== Examples ==
 
{{Succession Box
 
| position = Supreme Commander
 
| predecessor = Dan Russ
 
| name = Orion Chran
 
| time = Y21 Day 16
 
| successor = Luke Skywalker
 
}}
 
 
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 

Latest revision as of 17:38, 6 March 2024