Template:S-start-collapsible/doc
This is a documentation subpage for Template:S-start-collapsible. It may contain usage information, categories and other content that is not part of the original template page. |
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
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
{{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 3050 – 3061 |
Succeeded by |