Template talk:Succession box: Difference between revisions

Discussion page of Template:Succession box
No edit summary
 
No edit summary
Line 7: Line 7:


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

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[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)