Template:S-start-collapsible/doc

S-start-collapsible is an alternative to {{S-start}}, the initial component in a template series for succession boxes. As the name implies, it uses a collapsible table.

Usage[edit]

Replace {{s-start}} with {{s-start-collapsible|header=value}}.

A collapsible succession box always needs a header, otherwise it will break the page rendering. For this reason the template will force you to use the header parameter. The value of this header parameter is one of the succession box headers.

Example[edit]

{{s-start-collapsible|header={{s-other | [[:Category: Military Operations|Military Operations]]}}}}
{{S-bef | before= [[:Category:Fourth Succession War Era Military Operations|Fourth Succession War Era Military Operations]]}}
{{s-ttl | title= [[:Category:Clan Invasion Era Military Operations|Clan Invasion Era Military Operations]] | years=[[3050]] – [[3061]]}}
{{s-aft | after= [[:Category:Civil War Era Military Operations|Civil War Era Military Operations]]}}
{{s-end}}

Will generate:

Military Operations
Preceded by Clan Invasion Era Military Operations
30503061
Succeeded by