Template:Ontario Provincial Highways

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation

Parameters

General visibility

Initial visibility: currently defaults to expanded

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

  • |state=collapsed: {{Ontario Provincial Highways|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Ontario Provincial Highways|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Ontario Provincial Highways|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 expanded.

Expand primary/king/400 highways section

Set |king=, |400= or |primary= to any value to expand the king's highway section.

Expand secondary highways section

Set |secondary= to any value to expand the secondary highway section

Expand tertiary highways section

Set |tertiary= to any value to expand the tertiary highway section

Expand 7000 series highways section

Set |7000= to any value to expand the 7000 series highway section

Expand all section

Set |all= to any value to expand all sections

Examples

{{Ontario Provincial Highways}}



{{Ontario Provincial Highways|king=y}}



{{Ontario Provincial Highways|state=collapsed}}



{{Ontario Provincial Highways|7000=y}}



{{Ontario Provincial Highways|all=y}}