Šablonas:S-start-collapsible
Išvaizda
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.[reikalingas vertimas]
Panaudojimas
[redaguoti vikitekstą]Replace {{s-start}} or {{start box}} 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 succesion box headers.
Example
[redaguoti vikitekstą]{{s-start-collapsible|header={{s-ach}}}} {{succession box | title = [[List of Major League Baseball batting champions|National League Batting Champion]] | before = [[Richie Ashburn]] | years = 1956 | after = [[Stan Musial]] }} {{succession box | title = [[List of Major League Baseball home run champions|National League Home Run Champion]] | before = [[Duke Snider]] | years = 1957 | after = [[Ernie Banks]] }} {{succession box | title = [[List of Major League Baseball RBI champions|National League RBI Champion]] | before = [[Stan Musial]] | years = [[1957]] | after = [[Ernie Banks]] }} {{s-end}}
Will generate:
Apdovanojimai ir pasiekimai | ||
---|---|---|
Prieš tai: Richie Ashburn |
National League Batting Champion 1956 |
Po to: Stan Musial |
Prieš tai: Duke Snider |
National League Home Run Champion 1957 |
Po to: Ernie Banks |
Prieš tai: Stan Musial |
National League RBI Champion 1957 |
Po to: Ernie Banks |
Nuorodos
[redaguoti vikitekstą] Viršuje esanti dokumentacija yra iškelta iš Šablonas:S-start-collapsible/doc puslapio. (redaguoti | istorija) Redaguotojai gali eksperimentuoti šio šablono smėlio dėžėje sandbox (sukurti | klonuoti) ir testiniuose (sukurti) puslapiuose. Prašome pridėti kategorijas /doc subpuslapyje. Šio šablono subpuslapiai. |