Template:Succession box: Difference between revisions
Template page
More actions
mNo edit summary |
|||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#switch:{{#if:{{{fullspolier|}}}|1}}{{#if:{{{beforespolier|}}}|2}}{{#if:{{{afterspolier|}}}|3}} | {{#switch:{{#if:{{{fullspolier|}}}|1}}{{#if:{{{beforespolier|}}}|2}}{{#if:{{{afterspolier|}}}|3}} | ||
| 1= ! colspan="3" {{spoilerplate}} | | 1= ! colspan="3" {{spoilerplate}} | ||
Revision as of 18:42, 6 August 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.
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.