Difference between revisions of "Template:Greater Toronto Area"

From blackwiki
Jump to navigation Jump to search
imported>Blackjays1
m
 
(61 intermediate revisions by 30 users not shown)
Line 1: Line 1:
{| class="toccolours" style="margin:0.5em auto; font-size:95%; text-align:center; width: {{{width|100}}}%;"
+
{{Navbox
|-
+
|name = Greater Toronto Area
!colspan="4" style="background: #639ACE;" |
+
|title = [[Greater Toronto Area]]
{| style="background: transparent; border: 0; padding: 1px 0 1px 0; spacing: 0; width: 100%;"
+
|listclass = hlist
| width="10%"|
+
|image = [[Image:Greater toronto area map.svg|100px|Toronto]]
| width="80%" style="color: white;"|[[Greater Toronto Area]]  
+
|state = <noinclude>expanded</noinclude><includeonly>{{{state|autocollapse}}}</includeonly>
| width="10%" style="text-align:right"| {{Tnavbar|Municipalities and |plain=1}}
+
 
|}
+
|above = '''Largest city: [[Toronto]]'''
|-
+
 
|style="width: 95px;"|&nbsp;
+
|group1 = Regions
|
+
|list1  =
{|style="font-size:90%;" colspan=2|
+
* [[Regional Municipality of Durham|Durham]]
|-
+
* [[Regional Municipality of Halton|Halton]]
|'''Largest City:''' '''[[Toronto]]'''<br>'''Regions:''' [[Regional Municipality of Durham|Durham Region]] [[Regional Municipality of Halton|Halton Region]] [[Regional Municipality of Peel|Peel Region]] [[Regional Municipality of York|York Region]]<br>'''Cities:''' [[Brampton,  Ontario|Brampton]] [[Burlington, Ontario|Burlington]] [[Mississauga, Ontario|Mississauga]] [[Oshawa, Ontario|Oshawa]] [[Pickering, Ontario|Pickering]] [[Vaughan, Ontario|Vaughan]]<br>'''Towns and villages:''' [[Ajax, Ontario|Ajax]] [[Aurora, Ontario|Aurora]] [[Bowmanville]] • [[Brock, Ontario|Brock]] [[Buttonville, Ontario|Buttonville]] [[Caledon, Ontario|Caledon]] [[Clarington, Ontario|Clarington]] • [[Concord, Ontario|Concord]] • [[East Gwillimbury, Ontario|East Gwillimbury]] [[Georgina, Ontario|Georgina]] [[Halton Hills, Ontario|Halton Hills]] • [[Keswick, Ontario|Keswick]] • [[King, Ontario|King]] • [[Kleinburg, Ontario|Kleinburg]] • [[Maple, Ontario|Maple]] • [[Markham, Ontario|Markham]] • [[Milton, Ontario|Milton]] [[Newmarket, Ontario|Newmarket]] [[Oakville, Ontario|Oakville]] [[Oak Ridges, Ontario|Oak Ridges]] [[Oshawa, Ontario|Oshawa]] • [[Pickering, Ontario|Pickering]] • [[Richmond Hill, Ontario|Richmond Hill]] • [[Scugog, Ontario|Scugog]] [[Sutton, Ontario|Sutton]] [[Thornhill, Ontario|Thornhill]] • [[Unionville, Ontario|Unionville]] • [[Uxbridge, Ontario|Uxbridge]] • [[Whitby, Ontario|Whitby]] • [[Whitchurch-Stouffville]] • [[Woodbridge, Ontario|Woodbridge]]
+
* [[Regional Municipality of Peel|Peel]]
|}
+
* [[Regional Municipality of York|York]]
|style="width: 75px; padding: 10px;" valign="middle" align="center"|[[Image:Toronto Location.png|100px|Toronto]]
+
 
|}
+
|group2 = Cities
 +
|list2  =
 +
* [[Brampton]]
 +
* [[Burlington, Ontario|Burlington]]
 +
* [[Markham, Ontario|Markham]]
 +
* [[Mississauga]]
 +
* [[Oshawa]]
 +
* [[Pickering, Ontario|Pickering]]
 +
* [[Richmond Hill, Ontario|Richmond Hill]]
 +
* [[Toronto]]
 +
* [[Vaughan]]
 +
 
 +
|group3 = Towns
 +
|list3  =
 +
* [[Ajax, Ontario|Ajax]]
 +
* [[Aurora, Ontario|Aurora]]
 +
* [[Caledon, Ontario|Caledon]]
 +
* [[East Gwillimbury]]
 +
* [[Georgina, Ontario|Georgina]]
 +
* [[Halton Hills]]
 +
* [[Milton, Ontario|Milton]]
 +
* [[Newmarket, Ontario|Newmarket]]
 +
* [[Oakville, Ontario|Oakville]]
 +
* [[Whitby, Ontario|Whitby]]
 +
* [[Whitchurch-Stouffville]]  
 +
 
 +
|group4 = Townships
 +
|list4 =
 +
* [[Brock, Ontario|Brock]]
 +
* [[King, Ontario|King]]
 +
* [[Scugog]]
 +
* [[Uxbridge, Ontario|Uxbridge]]
 +
 
 +
|group5 = Municipalities
 +
|list5 = * [[Clarington]]
 +
 
 +
|below = {{icon|Portal}} {{Portal-inline|Ontario}}
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Toronto navigational boxes]]
 +
 
 +
</noinclude>

Latest revision as of 07:23, 20 August 2020

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Greater Toronto Area|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Greater Toronto Area|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Greater Toronto Area|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.