Šablon:Collapsible list/doc
Izgled
Syntax
[uredi]{{Collapsible list
|title =
|frame_style = <!-- (optional) -->
|title_style = <!-- (optional) -->
|list_style = <!-- (optional) -->
|1 = First item of list
|2 = Second item of list
|3 = Third item of list
|...
}}
Syntax for an always collapsed list
[uredi]{{Collapsible list
|title =
|frame_style = <!-- (blank) -->
|title_style = <!-- (optional) -->
|list_style = text-align:left;display:none;
|1 = First item of list
|2 = Second item of list
|3 = Third item of list
|...
}}
Syntax for an always collapsed list without borders (for use within an infobox)
[uredi]{{Collapsible list
|title =
|frame_style = border:none; padding: 0;
|title_style = <!-- (optional) -->
|list_style = text-align:left;display:none;
|1 = First item of list
|2 = Second item of list
|3 = Third item of list
|...
}}
Examples
[uredi]{{Collapsible list
|title=[[European Free Trade Association]] Members
|[[Iceland]]
|[[Liechtenstein]]
|[[Norway]]
|[[Switzerland]]}}
Example of a list that's always collapsed
[uredi]{{Collapsible list
|title=[[Great Lakes]] States
|frame_style=
|list_style = text-align:left;display:none; <!--NOTICE: list_style makes the list stay collapsed-->
|1=[[Michigan]]
|2=[[Ohio]]
|3=[[Indiana]]
|4=[[Illinois]]
|5= [[Minnesota]]<!-- <!-- the #= is optional, but if used, then all entries must have it-->-->
|6= [[Wisconsin]]
|7= [[Pennsylvania]]
|8= [[New York]]
|}}
Great Lakes States