Difference between revisions of "Template:Position History Box Inline"

From Rebel Alliance Wiki
Jump to: navigation, search
(Created page with "<includeonly>|- style="text-align:center;vertical-align:center;" | style="border: 1px solid grey;padding:1ex 1em 1ex 1em;"|{{ProfileLink|{{{predecessor}}}}} | style="border: 1...")
 
m
 
Line 1: Line 1:
 
<includeonly>|- style="text-align:center;vertical-align:center;"
 
<includeonly>|- style="text-align:center;vertical-align:center;"
 
| style="border: 1px solid grey;padding:1ex 1em 1ex 1em;"|{{ProfileLink|{{{predecessor}}}}}
 
| style="border: 1px solid grey;padding:1ex 1em 1ex 1em;"|{{ProfileLink|{{{predecessor}}}}}
| style="border: 1px solid grey;padding:1ex 1em 1ex 1em;"|'''{{ProfileLink|{{{name}}}}}'''<br/>{{{duration}}}
+
| style="border: 1px solid grey;padding:1ex 1em 1ex 1em;"|'''{{ProfileLink|{{{name}}}}}'''<br/>{{#if: {{{from|}}}|{{{from|}}}|Unknown}} — {{#if: {{{to|}}}|{{{to|}}}|Unknown}}
| style="border: 1px solid grey;padding:1ex 1em 1ex 1em;"|{{ProfileLink|{{{successor}}}}}
+
| style="border: 1px solid grey;padding:1ex 1em 1ex 1em;"|{{{successor}}}
 
|-
 
|-
 
</includeonly><noinclude>
 
</includeonly><noinclude>
Line 13: Line 13:
 
| predecessor =  
 
| predecessor =  
 
| name =  
 
| name =  
| duration =  
+
| from =
 +
| to =  
 
| successor =  
 
| successor =  
 
}}</nowiki</pre>
 
}}</nowiki</pre>
  
 
== Example ==
 
== Example ==
<pre><nowiki>{{Position History Box
+
<pre><nowiki>
 +
</nowiki></pre>
 +
{{Position History Box  
 
| position = Chief Executive Officer
 
| position = Chief Executive Officer
 +
| predecessor = Eleonore Silvermoon
 +
| name = Jen Eyan
 +
| from = Year 17 Day 10
 +
| to = Present
 +
| successor = —
 +
 +
{{Position History Box Inline
 
| predecessor = Jahu Skyla
 
| predecessor = Jahu Skyla
 
| name = Eleonore Silvermoon
 
| name = Eleonore Silvermoon
| duration = Year 15 Day 278 Year 17 Day 10
+
| from = Year 15 Day 278
| successor = Jen Eyan
+
| to = Year 17 Day 10
 +
| successor = Jen Eyan }}
 +
 
 +
{{Position History Box Header
 +
| position= Chief Medical Officer
 +
}}
  
 
{{Position History Box Inline
 
{{Position History Box Inline
| predecessor = Eleonore Silvermoon
 
| name = Jen Eyan
 
| duration = Year 17 Day 10 - Present
 
| successor = - }}
 
}}</nowiki></pre>
 
{{Position History Box
 
| position = Chief Executive Officer
 
 
| predecessor = Jahu Skyla
 
| predecessor = Jahu Skyla
 
| name = Eleonore Silvermoon
 
| name = Eleonore Silvermoon
| duration = Year 15 Day 278 Year 17 Day 10
+
| from = Year 15 Day 278
| successor = Jen Eyan
+
| to = Year 17 Day 10
 +
| successor = Jen Eyan }}
  
{{Position History Box Inline
 
| predecessor = Eleonore Silvermoon
 
| name = Jen Eyan
 
| duration = Year 17 Day 10 - Present
 
| successor = - }}
 
 
}}
 
}}
 +
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 10:10, 9 June 2016

Description

This template can be used with Position History Box to create a timeline for a position.
Attention: the successor must be the last parameter of Position History Box for this to work.

Usage

<nowiki>
{{Position History Box Inline
| predecessor = 
| name = 
| from = 
| to = 
| successor = 
}}</nowiki

Example


Chief Executive Officer
Predecessor Held By Successor
Eleonore Silvermoon Jen Eyan
Year 17 Day 10 — Present
Jahu Skyla Eleonore Silvermoon
Year 15 Day 278 — Year 17 Day 10
Jen Eyan
Chief Medical Officer
Jahu Skyla Eleonore Silvermoon
Year 15 Day 278 — Year 17 Day 10
Jen Eyan