Editing Template:Succession box
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#switch:{{#if:{{{ | |||
{{#switch:{{#if:{{{fullspolier|}}}|1}}{{#if:{{{beforespolier|}}}|2}}{{#if:{{{afterspolier|}}}|3}} | |||
| 1= ! colspan="3" {{spoilerplate}} | | 1= ! colspan="3" {{spoilerplate}} | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} class="spoiltext_box" {{s-bef|before={{{before}}}}} | ||
{{!}} | {{!}} class="spoiltext_box" {{s-ttl|title={{{title}}}}} | ||
{{!}} | {{!}} class="spoiltext_box" {{s-aft|after={{{after}}}}} | ||
{{!}}- | {{!}}- | ||
| 2= ! {{spoilerplate}} | | 2= ! {{spoilerplate}} | ||
! colspan="2" {{!}} | ! colspan="2" {{!}} | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} class="spoiltext_box" {{s-bef|before={{{before}}}}} | ||
{{!}} {{s-ttl|title={{{title}}}}} | {{!}} {{s-ttl|title={{{title}}}}} | ||
{{!}} {{s-aft|after={{{after}}}}} | {{!}} {{s-aft|after={{{after}}}}} | ||
| Line 19: | Line 20: | ||
{{!}} {{s-bef|before={{{before}}}}} | {{!}} {{s-bef|before={{{before}}}}} | ||
{{!}} {{s-ttl|title={{{title}}}}} | {{!}} {{s-ttl|title={{{title}}}}} | ||
{{!}} | {{!}} class="spoiltext_box" {{s-aft|after={{{after}}}}} | ||
{{!}}- | {{!}}- | ||
| #default= {{!}}- | | #default= {{!}}- | ||
| Line 29: | Line 30: | ||
</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. | ||
== Usage == | == Usage == | ||
| Line 37: | Line 38: | ||
| title= | | title= | ||
| after= | | after= | ||
| | | fullspolier= | ||
| | | beforespolier= | ||
| | | afterspolier= | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 49: | Line 50: | ||
{{succession box | {{succession box | ||
| before= [[Jackson Spencer|Jackson "Ripper" Spencer]] | | before= [[Jackson Spencer|Jackson "Ripper" Spencer]] | ||
| title= Commander, Air Group | | title= Commander, Air Group of the [[Galactica type battlestar|battlestar]] ''[[Galactica (RDM)|Galactica]]'' | ||
| after= [[George Birch|George "Catman" Birch]] | | after= [[George Birch|George "Catman" Birch]] | ||
}} | }} | ||
{{succession box | {{succession box | ||
| before= [[George Birch|George "Catman" Birch]] | | before= [[George Birch|George "Catman" Birch]] | ||
| title= Commander, Air Group | | title= Commander, Air Group of the [[Galactica type battlestar|battlestar]] ''[[Galactica (RDM)|Galactica]]'' | ||
| after= [[Kara Thrace|Kara "Starbuck" Thrace]] | | after= [[Kara Thrace|Kara "Starbuck" Thrace]] | ||
}} | }} | ||
{{succession box | {{succession box | ||
| before= ''(unknown, eventually [[Jack Fisk]])'' | | before= ''(unknown, eventually [[Jack Fisk]])'' | ||
| title= Executive Officer | | title= Executive Officer of the [[Mercury class battlestar|battlestar]] ''[[Pegasus (RDM)|Pegasus]]'' | ||
| after= ''(unknown, eventually [[Anastasia Dualla]]) | | after= ''(unknown, eventually [[Anastasia Dualla]]) | ||
}} | }} | ||
{{succession box | {{succession box | ||
| before= [[Barry Garner]] | | before= [[Barry Garner]] | ||
| title= Commanding Officer | | title= Commanding Officer of the [[Mercury class battlestar|battlestar]] ''[[Pegasus (RDM)|Pegasus]]'' | ||
| after= Incumbent | | after= Incumbent | ||
}} | }} | ||
| Line 73: | Line 74: | ||
* '''title ''': 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. | * '''after ''': Can be wikilined or non-wikilinked. Any formating allowed. | ||
**'''Note''': The {{tl|spoiltext}} template will not work within succession boxes. | **'''Note''': The {{tl|spoiltext}} template will not work within succession boxes. Instead, three other templates are available which may be used in place of {{tl|succession box}}. | ||
=== Optional parameter === | === Optional parameter === | ||
* ''' | * '''fullspolier''': If true, it will hide the entire section behind a spolier tag. | ||
* OR: ''' | * OR: '''beforespolier''': If true, it will hide the ''before'' section behind a spolier tag. | ||
* OR: ''' | * OR: '''afterspolier''': If true, it will hide the ''after'' section behind a spolier tag. | ||
[[Category:Special Formating Templates|{{PAGENAME}}]][[Category:Templates using ParserFunctions|{{PAGENAME}} | [[Category:Special Formating Templates|{{PAGENAME}}]][[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude> | ||