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
m (Text replacement - "Peter Farago" to "April Arcus")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
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 <nowiki>{{start box}}</nowiki> and <nowiki>{{end box}}</nowiki>:
 
 
*<nowiki>{{succession box}}</nowiki> behaves exactly as this template does currently.
 
*<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.
 
 
I will be implementing this presently, and will try to avoid disrupting existing operations. Please feel free to ask any questions below. --[[User:Peter Farago|Peter Farago]] 11:19, 27 March 2006 (CST)
 
 
 
 
==Usage instructions==
 
==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:
 
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:
Line 14: Line 4:
 
<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>
+
<pre><nowiki>
 
{{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 10:
 
{{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}}</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:
 
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:
Line 28: Line 18:
 
*<nowiki>{{succession box (spoiler-aft)}}</nowiki> hides the successor.
 
*<nowiki>{{succession box (spoiler-aft)}}</nowiki> hides the successor.
  
The syntax for these is identical to the standard <nowiki>{{succession box}}</nowiki> template. --[[User:Peter Farago|Peter Farago]] 13:03, 27 March 2006 (CST)
+
The syntax for these is identical to the standard <nowiki>{{succession box}}</nowiki> template. --[[User:April Arcus|April Arcus]] 13:03, 27 March 2006 (CST)

Latest revision as of 01:58, 11 April 2020

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