Difference between revisions of "Template:Area code list"
blackwiki>Vegaswikian (Move edit comment to page notice to cleanup white space) |
m (47 revisions imported) |
||
| (9 intermediate revisions by 8 users not shown) | |||
| 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 | + | * <!-- [[List of Manitoba area codes|Manitoba]] -->[[Area codes 204 and 431|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]] | ||
* <!-- [[List of Northwest Territories area codes|Northwest Territories]] -->[[Area code 867|Northwest Territories]] | * <!-- [[List of Northwest Territories area codes|Northwest Territories]] -->[[Area code 867|Northwest Territories]] | ||
| − | * <!-- [[List of Nova Scotia area codes|Nova Scotia]] -->[[Area | + | * <!-- [[List of Nova Scotia area codes|Nova Scotia]] -->[[Area codes 902 and 782|Nova Scotia]] |
* <!-- [[List of Nunavut area codes|Nunavut]] -->[[Area code 867|Nunavut]] | * <!-- [[List of Nunavut area codes|Nunavut]] -->[[Area code 867|Nunavut]] | ||
* [[List of Ontario area codes|Ontario]] | * [[List of Ontario area codes|Ontario]] | ||
| − | * <!-- [[List of Prince Edward Island area codes|Prince Edward Island]] -->[[Area | + | * <!-- [[List of Prince Edward Island area codes|Prince Edward Island]] -->[[Area codes 902 and 782|Prince Edward Island]] |
* [[List of Quebec area codes|Quebec]] | * [[List of Quebec area codes|Quebec]] | ||
* <!-- [[List of Saskatchewan area codes|Saskatchewan]] -->[[Area codes 306 and 639|Saskatchewan]] | * <!-- [[List of Saskatchewan area codes|Saskatchewan]] -->[[Area codes 306 and 639|Saskatchewan]] | ||
| − | * <!-- [[List of Yukon Territory area codes|Yukon | + | * <!-- [[List of Yukon Territory area codes|Yukon]] -->[[Area code 867|Yukon]] |
| group2 = [[Area codes in the Caribbean|Caribbean]] | | group2 = [[Area codes in the Caribbean|Caribbean]] | ||
| list2 = | | list2 = | ||
| Line 31: | Line 31: | ||
* [[Telephone numbers in the Dominican Republic|Dominican Republic]] | * [[Telephone numbers in the Dominican Republic|Dominican Republic]] | ||
* <!-- [[List of Grenada area codes|Grenada]] -->[[Area code 473|Grenada]] | * <!-- [[List of Grenada area codes|Grenada]] -->[[Area code 473|Grenada]] | ||
| − | * <!-- [[List of Jamaica area codes|Jamaica]] -->[[Area | + | * <!-- [[List of Jamaica area codes|Jamaica]] -->[[Area codes 876 and 658|Jamaica]] |
* <!-- [[List of Montserrat area codes -->[[Area code 664|Montserrat]] | * <!-- [[List of Montserrat area codes -->[[Area code 664|Montserrat]] | ||
* [[Telephone numbers in Puerto Rico|Puerto Rico]] | * [[Telephone numbers in Puerto Rico|Puerto Rico]] | ||
| Line 60: | Line 60: | ||
* [[List of Georgia area codes|Georgia]] | * [[List of Georgia area codes|Georgia]] | ||
* <!-- [[List of Hawaii area codes|Hawaii]]-->[[Area code 808|Hawaii]] | * <!-- [[List of Hawaii area codes|Hawaii]]-->[[Area code 808|Hawaii]] | ||
| − | * <!-- [[List of Idaho area codes|Idaho]]-->[[Area | + | * <!-- [[List of Idaho area codes|Idaho]]-->[[Area codes 208 and 986|Idaho]] |
* [[List of Illinois area codes|Illinois]] | * [[List of Illinois area codes|Illinois]] | ||
* [[List of Indiana area codes|Indiana]] | * [[List of Indiana area codes|Indiana]] | ||
| Line 100: | Line 100: | ||
* [[List of Wisconsin area codes|Wisconsin]] | * [[List of Wisconsin area codes|Wisconsin]] | ||
* <!-- [[List of Wyoming area codes|Wyoming]] -->[[Area code 307|Wyoming]] | * <!-- [[List of Wyoming area codes|Wyoming]] -->[[Area code 307|Wyoming]] | ||
| + | |group5 = Former | ||
| + | | list5 = | ||
| + | * [[Telephone numbers in Belize|Belize]] | ||
| + | * [[Telephone numbers in Costa Rica|Costa Rica]] | ||
| + | * [[Telephone numbers in Cuba|Cuba]] | ||
| + | * [[Telephone numbers in El Salvador|El Salvador]] | ||
| + | * [[Telephone numbers in Guatemala|Guatemala]] | ||
| + | * [[Telephone numbers in Haiti|Haiti]] | ||
| + | * [[Telephone numbers in Honduras|Honduras]] | ||
| + | * [[Telephone numbers in Mexico|Mexico]] | ||
| + | * [[Telephone numbers in Nicaragua|Nicaragua]] | ||
| + | * [[Telephone numbers in Panama|Panama]] | ||
}}<noinclude> | }}<noinclude> | ||
{{collapsible option}} | {{collapsible option}} | ||
| Line 106: | Line 118: | ||
[[Category:area code templates|Area code list]] | [[Category:area code templates|Area code list]] | ||
| − | + | </noinclude> | |
| − | |||
| − | |||
Latest revision as of 13:12, 23 October 2020
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Area code list|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Area code list|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Area code list|state=autocollapse}}
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.
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]].