Шаблон:S-start-collapsible/док
{{#ifeq:док |док
|
{{#ifeq:show |show
|
| Ово је документациона подстраница за Шаблон:S-start-collapsible. Садржи информације о коришћењу, категоријама и другом садржају који није део оригиналне странице. |
}}{{#if: |
| {{#ifexist:Шаблон:S-start-collapsible
| [[Категорија:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
|
}}
}}
|
}}
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 {{{{#if: |замени:}}s-start{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}} 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 annual home run leaders|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 annual runs batted in leaders|National League RBI Champion]]|years = 1957}}
{{s-aft|after = [[Ernie Banks]]}}
{{s-end}}
Will generate:
{{#if:|-| {{#if:{{{1}}} | Освојене награде и постигнућа}}{{#switch:{{{1}}} | Награде и постигнућа}} | rec=Рекорди | aw=Награде | ach=Постигнућа | awards=Награде | records=Рекорди | achievements=Постигнућа
}}||- |
{{#if:{{{1}}} | Освојене награде и постигнућа}}{{#switch:{{{1}}} | Награде и постигнућа}} | rec=Рекорди | aw=Награде | ach=Постигнућа | awards=Награде | records=Рекорди | achievements=Постигнућа
}}|{{#if:|-| | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This template requires you to use a title as the title parameter and one of the succession box headers as its header parameter.}}}}
| |||||||||||||||||||||||||
| Претходник: Richie Ashburn{{#if:| {{{before2}}}|}}{{#if:| {{{before3}}}|}}{{#if:| {{{before4}}}|}}{{#if:| {{{before5}}}|}}{{#if:| као }} |
National League Batting Champion{{#if:| Представник за {{{district}}}|}}{{#if:| |
Нас{{#ifeq:{{safesubst:#switch: | no | n | false | не | ne | н | нетачно | ne | netačno | 0 = no | = | ¬ = | yes | y | true | да | д | тачно | da | d | tačno | 1 = yes | #default = yes
}}|yes|љ|л}}едник: |
| Претходник: Duke Snider{{#if:| {{{before2}}}|}}{{#if:| {{{before3}}}|}}{{#if:| {{{before4}}}|}}{{#if:| {{{before5}}}|}}{{#if:| као }} |
National League Home Run Champion{{#if:| Представник за {{{district}}}|}}{{#if:| |
Нас{{#ifeq:{{safesubst:#switch: | no | n | false | не | ne | н | нетачно | ne | netačno | 0 = no | = | ¬ = | yes | y | true | да | д | тачно | da | d | tačno | 1 = yes | #default = yes
}}|yes|љ|л}}едник: |
| Претходник: Stan Musial{{#if:| {{{before2}}}|}}{{#if:| {{{before3}}}|}}{{#if:| {{{before4}}}|}}{{#if:| {{{before5}}}|}}{{#if:| као }} |
National League RBI Champion{{#if:| Представник за {{{district}}}|}}{{#if:| |
Нас{{#ifeq:{{safesubst:#switch: | no | n | false | не | ne | н | нетачно | ne | netačno | 0 = no | = | ¬ = | yes | y | true | да | д | тачно | da | d | tačno | 1 = yes | #default = yes
}}|yes|љ|л}}едник: |