Template:Collapsible list/doc: Difference between revisions
(Created page with '{{documentation subpage}} == Syntax == <pre style="font-size:95%; overflow:auto;"> {{Collapsible list |framestyle = <!--(optional)--> |title = |titlestyle = <!--(optional)--> |…') |
m (update data) |
||
Line 26: | Line 26: | ||
|official_name = City of Hamilton | |official_name = City of Hamilton | ||
|motto = Together Aspire - Together Achieve | |motto = Together Aspire - Together Achieve | ||
|image_skyline = | |image_skyline = Hanover, Ontario, Canada Collage.JPG | ||
|imagesize = 250px | |imagesize = 250px | ||
|image_caption = | |image_caption = | ||
|image_map = Map | |image_map = Northern Ontario Districts Map.jpg | ||
|mapsize = 200px | |mapsize = 200px | ||
|map_caption = Location in the province of Ontario, Canada | |map_caption = Location in the province of Ontario, Canada | ||
|subdivision_type = Country | |subdivision_type = Country | ||
|subdivision_name = [[Canada]] | |subdivision_name = [[Canada]] | ||
|subdivision_type1 = | |subdivision_type1 = | ||
|subdivision_name1 = [[Ontario]] | |subdivision_name1 = [[Ontario]] | ||
|leader_title = | |leader_title = Mayor | ||
|leader_name = | |leader_name = Fred Eisenberger | ||
|leader_title1 = | |leader_title1 = City Council | ||
|leader_name1 = | |leader_name1 = Hamilton City Council | ||
|leader_title2 = | |leader_title2 = Member of Parliament (Canada)|MPs | ||
|leader_name2 = | |leader_name2 = | ||
{{Collapsible list | {{Collapsible list | ||
Line 47: | Line 47: | ||
|1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]] | |1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]] | ||
}} | }} | ||
|leader_title3 = | |leader_title3 = Member of Provincial Parliament (Ontario)|MPPs | ||
|leader_name3 = | |leader_name3 = | ||
{{Collapsible list | {{Collapsible list | ||
Line 54: | Line 54: | ||
|1=[[Marie Bountrogianni]] |2=[[Andrea Horwath]] |3=[[Judy Marsales]] |4=[[Ted McMeekin]] |5=[[Jennifer Mossop]] | |1=[[Marie Bountrogianni]] |2=[[Andrea Horwath]] |3=[[Judy Marsales]] |4=[[Ted McMeekin]] |5=[[Jennifer Mossop]] | ||
}} | }} | ||
|established_title = | |established_title = Municipal corporation|Incorporated | ||
|established_date = June 9, 1846 | |established_date = June 9, 1846 | ||
}} | }} | ||
Line 61: | Line 61: | ||
|official_name = City of Hamilton | |official_name = City of Hamilton | ||
...truncated... | ...truncated... | ||
|leader_title = | |leader_title = Mayor | ||
|leader_name = | |leader_name = Fred Eisenberger | ||
|leader_title1 = | |leader_title1 = City Council | ||
|leader_name1 = | |leader_name1 = Hamilton City Council | ||
|leader_title2 = | |leader_title2 = Member of Parliament (Canada)|MPs | ||
|leader_name2 = | |leader_name2 = | ||
{{Collapsible list | {{Collapsible list | ||
Line 72: | Line 72: | ||
|1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]] | |1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]] | ||
}} | }} | ||
|leader_title3 = | |leader_title3 = Member of Provincial Parliament (Ontario)|MPPs | ||
|leader_name3 = | |leader_name3 = | ||
{{Collapsible list | {{Collapsible list |
Latest revision as of 12:22, 7 August 2019
![]() |
This is a documentation subpage for Template:Collapsible list (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Syntax[edit source]
{{Collapsible list |framestyle = <!--(optional)--> |title = |titlestyle = <!--(optional)--> |liststyle = <!--(optional)--> |1 = <!--(First item in list)---> |2 = <!--(Second item in list)--> |3 = <!--(Third item in list)---> |... }}
Examples[edit source]
{{Collapsible list |title=[[European Free Trade Association]] Members |[[Iceland]] |[[Liechtenstein]] |[[Norway]] |[[Switzerland]]}}
Example of a list without borders because it's within an infobox[edit source]
In these examples, the fields leader_name2 and leader_name3 have been changed to use collapsible list.
City of Hamilton | |
---|---|
Motto: Together Aspire - Together Achieve | |
Location in the province of Ontario, Canada | |
Country | Canada |
Municipal corporation | June 9, 1846 |
Government | |
- Mayor | Fred Eisenberger |
- City Council | Hamilton City Council |
- Member of Parliament (Canada) | |
- Member of Provincial Parliament (Ontario) |
{{Infobox settlement |official_name = City of Hamilton ...truncated... |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 |framestyle=border:none; padding:0; <!--Hides borders and improves row spacing--> |title=List of MPs |1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]] }} |leader_title3 = Member of Provincial Parliament (Ontario)|MPPs |leader_name3 = {{Collapsible list |framestyle=border:none; padding:0; <!--as above--> |title=List of MPPs |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 (...etc...) }}