Jump to content

Template:Area code list: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
fix for 876/658
added area code 584 for Manitoba
Line 8: Line 8:
* [[List of Alberta area codes|Alberta]]
* [[List of Alberta area codes|Alberta]]
* [[List of British Columbia area codes|British Columbia]]
* [[List of British Columbia area codes|British Columbia]]
* <!-- [[List of Manitoba area codes|Manitoba]] -->[[Area codes 204 and 431|Manitoba]]
* <!-- [[List of Manitoba area codes|Manitoba]] -->[[Area codes 204, 431, and 584|Manitoba]]
* <!-- [[List of New Brunswick area codes|New Brunswick]] -->[[Area code 506|New Brunswick]]
* <!-- [[List of New Brunswick area codes|New Brunswick]] -->[[Area code 506|New Brunswick]]
* <!-- [[List of Newfoundland and Labrador area codes|Newfoundland and Labrador]] -->[[Area code 709|Newfoundland and Labrador]]
* <!-- [[List of Newfoundland and Labrador area codes|Newfoundland and Labrador]] -->[[Area code 709|Newfoundland and Labrador]]

Revision as of 18:00, 7 January 2023

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{Area code list|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Area code list|state=expanded}} will show the template expanded, i.e. fully visible.

Usage

This macro is placed on the primary listing page for all the area codes in each state or country in the North American Numbering Plan. If there is more than one area code for a state, it should link the state to a page such as [[List of Idaho area codes|Idaho]]. Where there is a page listing all area codes for that state or country, each area code listed on it should point back to the state's area code list page. If there is only one area code for the country or state, then it is placed on that area code page, e.g. [[Area code 302|Delaware]].