Template talk:Succession box: Difference between revisions

Discussion page of Template:Succession box
(Implemented)
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:

Revision as of 19:04, 27 March 2006

Usage instructions[edit]

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