Editing Template:Succession box
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|- | |||
| | | {{s-bef|before={{{before}}}}} | ||
| {{s-ttl|title={{{title}}}}} | |||
| {{s-aft|after={{{after}}}}} | |||
|- | |||
</includeonly> | |||
| | |||
</includeonly | |||
= Documentation = | = Documentation = | ||
''Insert what this template is about.'' | |||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
''Insert full usage here.'' | |||
</pre> | </pre> | ||
=== | === Required parameters === | ||
''Insert Required parameters'' | |||
=== Optional parameters === | |||
''Insert Optional parameters'' | |||
<noinclude> | |||
==Usage instructions== | |||
Use a single block of succession boxes per article. Begin each succession box block with <nowiki>{{start box}}</nowiki> and end it with <nowiki>{{end box}}</nowiki>. In between, you may place as many instances of <nowiki>{{succession box}}</nowiki> as is necessary. Use the following syntax: | |||
<nowiki>{{succession box|before=PREDECESSOR|title=TITLE|after=SUCCESSOR}}</nowiki>, replacing "PREDECESSOR", "TITLE" and "SUCCESSOR" as appropriate. For example, this is [[Lee Adama]]'s succession box, which includes two non-contiguous stints as ''Galactica'''s CAG, and two subsequent positions. | |||
<pre><nowiki> | <pre><nowiki> | ||
{{start box}} | {{start box}} | ||
{{succession box | {{succession box|before=[[Jackson Spencer|Jackson "Ripper" Spencer]]|title=Commander, Air Group of the [[Galactica type battlestar|battlestar]] ''[[Galactica (RDM)|Galactica]]''|after=[[George Birch|George "Catman" Birch]]}} | ||
{{succession box|before=[[George Birch|George "Catman" Birch]]|title=Commander, Air Group of the [[Galactica type battlestar|battlestar]] ''[[Galactica (RDM)|Galactica]]''|after=[[Kara Thrace|Kara "Starbuck" Thrace]]}} | |||
{{succession box|before=''(unknown, eventually [[Jack Fisk]])''|title=Executive Officer of the [[Mercury class battlestar|battlestar]] ''[[Pegasus (RDM)|Pegasus]]''|after=''(unknown, eventually [[Anastasia Dualla]])}} | |||
{{succession box|before=[[Barry Garner]]|title=Commanding Officer of the [[Mercury class battlestar|battlestar]] ''[[Pegasus (RDM)|Pegasus]]''|after=Incumbent}} | |||
}} | |||
{{succession box | |||
}} | |||
{{succession box | |||
}} | |||
{{succession box | |||
}} | |||
{{end box}}</nowiki></pre> | {{end box}}</nowiki></pre> | ||
The <nowiki>{{spoiltext}}</nowiki> template will not work within succession boxes. Instead, three other templates are available which may be used in place of <nowiki>{{succession box}}</nowiki>. These are: | |||
*<nowiki>{{succession box (spoiler)}}</nowiki> hides the entire section behind a spoiler tag. | |||
* | *<nowiki>{{succession box (spoiler-bef)}}</nowiki> hides the predecessor. | ||
* | *<nowiki>{{succession box (spoiler-aft)}}</nowiki> hides the successor. | ||
* | |||
The syntax for these is identical to the standard <nowiki>{{succession box}}</nowiki> template.</noinclude> | |||