Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Succession box: Difference between revisions

Template page
No edit summary
Shane (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
|-
|-
| {{s-bef|before={{{before}}}}}
| {{s-bef|before={{{before}}}}}
Line 4: Line 5:
| {{s-aft|after={{{after}}}}}
| {{s-aft|after={{{after}}}}}
|-
|-
</includeonly>
<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>
{{start 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}}
{{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>

Revision as of 18:31, 22 April 2006


Usage instructions

Use a single block of succession boxes per article. Begin each succession box block with {{start box}} and end it with {{end box}}. In between, you may place as many instances of {{succession box}} as is necessary. Use the following syntax:

{{succession box|before=PREDECESSOR|title=TITLE|after=SUCCESSOR}}, 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.

{{start 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}}
{{end box}}

The {{spoiltext}} template will not work within succession boxes. Instead, three other templates are available which may be used in place of {{succession box}}. These are:

  • {{succession box (spoiler)}} hides the entire section behind a spoiler tag.
  • {{succession box (spoiler-bef)}} hides the predecessor.
  • {{succession box (spoiler-aft)}} hides the successor.

The syntax for these is identical to the standard {{succession box}} template.