Sjabloon:Template doc Geschiedenis weergeven

(Create redirect)
 
(Created page with "== Syntax == <pre> {{Collapsible list |title = |frame_style = <!-- (optional) --> |title_style = <!-- (optional) --> |list_style = <!-- (optional) --> |1 = Fi...")
Regel 1: Regel 1:
#REDIRECT [[Creating and editing road segments#Alternate_street_names]]
== Syntax ==
<pre>
{{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
|...
}}
</pre>
 
===Syntax for an always collapsed list===
<pre>
{{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
|...
}}
</pre>
 
===Syntax for an always collapsed list without borders (for use within an infobox)===
<pre>
{{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
|...
}}
</pre>
 
== Examples ==
<pre>
{{Collapsible list
|title=[[European Free Trade Association]] Members
|[[Iceland]]
|[[Liechtenstein]]
|[[Norway]]
|[[Switzerland]]}}
</pre>
{{Collapsible list |title=[[European Free Trade Association]] Members |[[Iceland]] |[[Liechtenstein]] |[[Norway]] |[[Switzerland]]}}
 
===Example of a list that's always collapsed===
<pre>
{{Collapsible list
|title=[[Great Lakes]] States
|frame_style=border:1px solid #aaa; padding: 1;
|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]]
}}
</pre>
{{Collapsible list
|title=[[Great Lakes]] States
|frame_style=border:1px solid #aaa; padding: 1;
|list_style  = text-align:left;display:none;
|1=[[Michigan]]
|2=[[Ohio]]
|3=[[Indiana]]
|4=[[Illinois]]
|5= [[Minnesota]]
|6= [[Wisconsin]]
|7= [[Pennsylvania]]
|8= [[New York]]
}}
 
===Example of a list that's always collapsed and without borders because it's within an infobox===
In these examples, the fields leader_name2 and leader_name3 have been changed to use collapsible list.
<pre>
{{Infobox City
|official_name          = City of Hamilton
...Truncated for display reasons...
 
|leader_title          = [[Mayor]]
|leader_name            = [[Fred Eisenberger]]
|leader_title1          = [[City Council]]
|leader_name1          = [[Hamilton City Council]]
 
 
|leader_title2          = [[Member of Parliament (Canada)|MPs]]
|leader_name2          = {{Collapsible list
|title      = List of MPs
|frame_style=border:none; padding: 0; <!--NOTICE: This will hide the borders and make rows closer (padding)-->
|title_style =
|list_style  = text-align:left;display:none; <!-- NOTICE: This will always collapse the list-->
|1=[[Dean Allison]]
|2=[[Chris Charlton]]
|3=[[David Christopherson]]
|4=[[Wayne Marston]]
|5=[[David Sweet]]
}}
|leader_title3          = [[Member of Provincial Parliament|MPPs]]
 
|leader_name3          = {{Collapsible list
|title      = List of MPPs
|frame_style=border:none; padding: 0; <!--NOTICE: This will hide the borders and make rows closer (padding)-->
|title_style =
|list_style  = text-align:left;display:none;
|1=[[Marie Bountrogianni]]
|2=[[Andrea Horwath]]
|3=[[Judy Marsales]]
|4=[[Ted McMeekin]]
|5=[[Jennifer Mossop]]
}}
 
|established_title      = [[Municipal corporation|Incorporated]]
|established_date      = [[June 9]] [[1846]]<ref name=1846est>Provincial Statutes of Canada 1846 9° vict. pg 981 Chapter ...}} </pre>
 
{{Infobox City
|official_name          = City of Hamilton
<!--|nickname              = Ambitious City,<ref name=HAMBIO2>{{cite book|title=Dictionary of Hamilton Biography (Vol II, 1876-1924)|first=Thomas Melville |last=Bailey|publisher=W.L. Griffin Ltd|year=[[1991]]}}</ref> Steeltown,<ref name=memproj2>{{cite press release| title = "Tigertown Triumphs"| publisher =The Hamilton Spectator - Memory Project (Souvenir Edition) page MP56-MP68| date =[[2006-06-10]]| accessdate = 2006-12-30}}</ref> The Hammer<ref>"Don't put The Hammer down; Hamilton's had lots of nicknames, but this one's like the city -- no pretence," Paul Wilson, ''[[Hamilton Spectator]]'', December 6, 2006, p. G2.</ref>-->
|motto                  = Together Aspire - Together Achieve
|image_skyline          = HamiltonOntarioSkylineC.JPG
|imagesize              = 250px
|image_caption          =
|image_map              = Map of Ontario HAMILTON.svg
|mapsize                = 200px
|map_caption            = Location in the province of Ontario, Canada
|image_flag            =
|image_shield          =
|subdivision_type      = Country
|subdivision_name      = [[Canada]]
|subdivision_type1      = [[Provinces of Canada|Province]]
|subdivision_name1      = [[Ontario]]
|leader_title          = [[Mayor]]
|leader_name            = [[Fred Eisenberger]]
|leader_title1          = [[City Council]]
|leader_name1          = [[Hamilton City Council]]
|leader_title2          = [[Member of Parliament (Canada)|MPs]]
|leader_name2          = {{Collapsible list
|title      = List of MPs
|frame_style=border:none; padding: 0; <!--NOTICE: This will hide the borders and make rows closer (padding)-->
|title_style =
|list_style  = text-align:left;display:none;
|1=[[Dean Allison]]
|2=[[Chris Charlton]]
|3=[[David Christopherson]]
|4=[[Wayne Marston]]
|5=[[David Sweet]]
}}
|leader_title3          = [[Member of Provincial Parliament|MPPs]]
|leader_name3          = {{Collapsible list
|title      = List of MPPs
|frame_style=border:none; padding: 0; <!--NOTICE: This will hide the borders and make rows closer (padding)-->
|title_style =
|list_style  = text-align:left;display:none;
|1=[[Marie Bountrogianni]]
|2=[[Andrea Horwath]]
|3=[[Judy Marsales]]
|4=[[Ted McMeekin]]
|5=[[Jennifer Mossop]]
}}
|established_title      = [[Municipal corporation|Incorporated]]
|established_date      = [[June 9]] [[1846]]<ref name=1846est>Provincial Statutes of Canada 1846 9° vict. pg 981 Chapter LXXIII.  An Act to ammend the Act incorporating the Town of Hamilton, and to erect the same into a City.</ref>
</ref> }}
 
==References==
{{reflist}}

Versie van 23 feb 2016 21:32

Syntax

{{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

{{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)

{{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

{{Collapsible list 
|title=[[European Free Trade Association]] Members 
|[[Iceland]] 
|[[Liechtenstein]] 
|[[Norway]] 
|[[Switzerland]]}}


Example of a list that's always collapsed

{{Collapsible list
|title=[[Great Lakes]] States
|frame_style=border:1px solid #aaa; padding: 1;
|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]]
}}


Example of a list that's always collapsed and without borders because it's within an infobox

In these examples, the fields leader_name2 and leader_name3 have been changed to use collapsible list.

{{Infobox City
|official_name          = City of Hamilton
...Truncated for display reasons...

|leader_title           = [[Mayor]]
|leader_name            = [[Fred Eisenberger]]
|leader_title1          = [[City Council]]
|leader_name1           = [[Hamilton City Council]]


|leader_title2          = [[Member of Parliament (Canada)|MPs]]
|leader_name2           = {{Collapsible list
|title       = List of MPs
|frame_style=border:none; padding: 0; <!--NOTICE: This will hide the borders and make rows closer (padding)-->
|title_style =
|list_style  = text-align:left;display:none; <!-- NOTICE: This will always collapse the list-->
|1=[[Dean Allison]]
|2=[[Chris Charlton]]
|3=[[David Christopherson]]
|4=[[Wayne Marston]]
|5=[[David Sweet]]
}}
|leader_title3          = [[Member of Provincial Parliament|MPPs]]

|leader_name3           = {{Collapsible list
|title       = List of MPPs
|frame_style=border:none; padding: 0; <!--NOTICE: This will hide the borders and make rows closer (padding)-->
|title_style =
|list_style  = text-align:left;display:none;
|1=[[Marie Bountrogianni]]
|2=[[Andrea Horwath]]
|3=[[Judy Marsales]]
|4=[[Ted McMeekin]]
|5=[[Jennifer Mossop]]
}}

|established_title      = [[Municipal corporation|Incorporated]]
|established_date       = [[June 9]] [[1846]]<ref name=1846est>Provincial Statutes of Canada 1846 9° vict. pg 981 Chapter ...}} 

Sjabloon:Infobox City

References