साँचा:S-start-collapsible/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
S-start-collapsible is an alternative to साँचा:tl, the initial component in a template series for succession boxes. As the name implies, it uses a collapsible table.
Usage
Replace साँचा:tlx 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-ach}}}} {{s-bef|before = [[Richie Ashburn]]}} {{s-ttl|title = [[List of Major League Baseball batting champions|National League Batting Champion]]|years = 1956}} {{s-aft|after = [[Stan Musial]]}} {{s-bef|before = [[Duke Snider]]}} {{s-ttl|title = [[List of Major League Baseball home run champions|National League Home Run Champion]]|years = 1957}} {{s-aft|after = [[Ernie Banks]]}} {{s-bef|before = [[Stan Musial]]}} {{s-ttl|title = [[List of Major League Baseball RBI champions|National League RBI Champion]]|years = 1957}} {{s-aft|after = [[Ernie Banks]]}} {{s-end}}
Will generate:
साँचा:s-start-collapsible साँचा:s-bef साँचा:s-ttl साँचा:s-aft
साँचा:s-bef साँचा:s-ttl साँचा:s-aft
साँचा:s-bef साँचा:s-ttl साँचा:s-aft साँचा:s-end