Template:Area code list

From Wikipedia, the free encyclopedia
Jump to: navigation, search
How to manage this template's initial visibility

To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{Area code list |state=collapsed}};
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Area code list |state=expanded}};
|state=autocollapse to show the template in its collapsed state but only if there is another template of the same type on the page – e.g. {{Area code list |state=autocollapse}}.

Unless set otherwise (see the state parameter in the template's code), the template's default state is autocollapse.

Usage[edit]

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]].