Template:Succession box: Difference between revisions

Template page
No edit summary
Line 29: Line 29:
</includeonly><noinclude>
</includeonly><noinclude>
= Documentation =
= Documentation =
Use a single block of succession boxes per article. Begin each succession box block with {{tl|start box}} and end it with {{tl|end box}}. In between, you may place as many instances of <code><nowiki>{{succession box}}</nowiki></code> as is necessary.
Use a single block of succession boxes per article. Begin each succession box block with {{tl|start box}} and end it with {{tl|end box}}. In between, you may place as many instances of <code><nowiki>{{succession box}}</nowiki></code> as is necessary. {{tl|start}} and {{tl|end}} are only ''needed'' once. See [[#Example|example]] below.


== Usage ==
== Usage ==

Revision as of 05:39, 28 October 2006

Documentation

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. {{start}} and {{end}} are only needed once. See example below.

Usage

{{succession box
  | before=
  | title=
  | after=
  | fullspolier=
  | beforespolier=
  | afterspolier=
}}

Example

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

Required parameters

  • before: Can be wikilined or non-wikilinked. Any formating allowed.
  • title : Can be wikilined or non-wikilinked. Any formating allowed.
  • after : Can be wikilined or non-wikilinked. Any formating allowed.
    • Note: The {{spoiltext}} template will not work within succession boxes. Please look at the optional parameters below.

Optional parameter

  • fullspolier: If true, it will hide the entire section behind a spolier tag.
  • OR: beforespolier: If true, it will hide the before section behind a spolier tag.
  • OR: afterspolier: If true, it will hide the after section behind a spolier tag.