BSG-WIKI SM.png
Share Your Thoughts!

Shape the future of Battlestar Wiki with this short survey!

There may be algae cookies and hydronic mushies. Mmm... Trick or Treat!

Difference between revisions of "Template talk:Succession box"

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
Line 14: Line 14:
 
<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.
 
<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.
  
<nowiki>
+
<nowiki><pre>
 
{{start box}}
 
{{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=[[Jackson Spencer|Jackson "Ripper" Spencer]]|title=Commander, Air Group of the [[Galactica type battlestar|battlestar]] ''[[Galactica (RDM)|Galactica]]''|after=[[George Birch|George "Catman" Birch]]}}
Line 20: Line 20:
 
{{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=''(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|before=[[Barry Garner]]|title=Commanding Officer of the [[Mercury class battlestar|battlestar]] ''[[Pegasus (RDM)|Pegasus]]''|after=Incumbent}}
{{end box}}</nowiki>
+
{{end box}}</pre></nowiki>
  
 
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:
 
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:

Revision as of 19:03, 27 March 2006

I have a plan to enable the use of spoiler tags within this system and still retain the consistancy offered by the s-bef, s-ttl and s-aft sub-templates. Essentially, four templates will be available for use in between {{start box}} and {{end box}}:

  • {{succession box}} behaves exactly as this template does currently.
  • {{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.

I will be implementing this presently, and will try to avoid disrupting existing operations. Please feel free to ask any questions below. --Peter Farago 11:19, 27 March 2006 (CST)


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.

<pre> {{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}}</pre>

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. --Peter Farago 13:03, 27 March 2006 (CST)