Knowledge (XXG)

Template:Area code box

Source 📝

111: 175:.) In any case, for the N=, S=, E=, and W= parameters you list the area codes that are north, south, east and west, respectively, of this area code. If an area code is not precisely one of these directions, like an area code that was northwest of this area code, then list it in both, e.g. list it in N= 628:
American Samoa, Anguilla, Antigua and Barbuda, Bahamas, Barbados, Bermuda, British Virgin Islands, Cayman Islands, Dominica, Dominican Republic, Grenada, Guam, Jamaica, Montserrat, Northern Mariana Islands, Puerto Rico, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines, Trinidad
376:
Here is an example for area code 867 which is primarily the Northwest Territories in Canada but also includes the Yukon Territory and Nunavut. This area code also has the unique situation of actually touching eight different jurisdictions (Alaska, Alberta, British Columbia, Manitoba, Newfoundland
137:
There are two ways to use this template, when the area code doesn't touch another jurisdiction (another U.S. State, Canadian Province or Caribbean Country, like Chicago's 312 or Los Angeles' 213)) and when the area code does touch another jurisdiction (New York City's 212, New Mexico's 575).
456:(if this area code touches another jurisdiction,) are the border states/provinces that it touches that are to appear at the bottom, according to the box number. Usually these are entered in Alphabetical Order, e.g. if an area code in California touched Arizona and Nevada, you'd use 228:
Here are a couple of examples where an area code is completely surrounded by another from the same state, province or Caribbean country. Area codes 385 and 801 in Salt Lake City, Utah is surrounded by 435; Area code 210 in San Antonio, Texas is surrounded by 830):
158:
where you want the table. If the area code does not touch another jurisdiction (a different U.S. State, Canadian Province or Caribbean country), this is all you will need to use. If the area code does touch another jurisdiction, then you use the format
471:
are the area codes (or oceans) that border this area code in those compass directions. If another area code borders on more than one direction put it in multiple directions. If an area code borders on an odd direction such as northwest, code both
342:
are abbreviated names of border states/provinces/Caribbean countries the area code touches. You only need to use as many of these as are necessary, e.g. if the area code only touches one other jurisdiction, you only need to include
429:, is the 2-letter abbreviation to include the area code template for this state or Canadian province, or is the full name of the Caribbean country that this area code is located within, e.g. 274:
This one is from combined area codes 617 and 857 in Massachusetts, which would be surrounded by 339 and 781 except there are no area codes to the east as that leads to Europe:
171:
where S1= through S8= is the 2-letter U.S. State or Canadian Province abbreviation, or the full name of the Caribbean Country. (The exact values to use are listed below under
358:
The following is from the combined California area codes 442 and 760, which touches Arizona, Nevada, Hawaii on the other side of the Pacific Ocean, and the Mexican Border:
565:=XX for the first nearby state, province or Caribbean country to this area code, where XX is the two letter state/province abbreviation or the full name of the country. 299:
Here's an example where one area code is surrounded by several others, but all of the surrounding area codes are in the same state (863 is in the middle of Florida):
662: 126: 480:. To make them clickable links, include the description surrounded by link brackets, e.g. if the area code to the north of this area code is 710, you'd code 695: 658: 122: 622:
AL AK AZ AR CA CO CT DE DC FL GA HA ID IL IN IA KS KY LA ME MD MA MI MN MS MO MT NE NV NH NJ NM NY NC ND OH OK OR PA RI SC SD TN TX UT VT VA WA WV WI WY
542:
is the 2-letter abbreviation to include the area code template for this state or Canadian province, or is the full name of the Caribbean country.
130: 644: 180: 711: 691: 652: 118: 212:
If you want the box to be a different size on the page from 80% of the page's width, use the optional parameter
532:
are the area code lists for border states/provinces to appear at the bottom, according to the box number.
617:(Recommendation: for NU and YT, as long as they are using the same area code as NT, use NT; for PE use NS) 179:
W=. If the direction has no area code because it's on the Mexican border or a country not in the
520:
are abbreviated names of border states/provinces the area code touches. The values to give for
648: 295:
Usage when the area code is surrounded by two or more area codes from the same jurisdiction
224:
Usage when the area code is completely surrounded by one area code from same jurisdiction
635:
For an area code where all surrounding area codes are in the same state/province use
554:
are the area codes (or oceans) that border this area code in those compass directions.
705: 183:
or because it's an ocean, put the country and its code, or the ocean, as a link.
165:{{Area code box|State=| This=|N=|S=|E=|W=| S1=| S2=| S3= |S4=|S5= |S6=|S7=|S8=}} 328:{{Area code box |State= |This= |N=|S=|E=|W= |S1=|S2=|S3=|S4=|S5=|S6=|S7=|S8=}} 105: 593:
to indicate the width of the page the macro should use; it defaults to 80%
15: 400:
Here's one for the Caribbean country of the Dominican Republic:
629:
and Tobago, Turks and Caicos Islands, U.S. Virgin Islands
683: 675: 671: 362:{{Area code box | State = CA | This = area code 442/760 620:
The abbreviations for the values for U.S. States are:
190:case sensitive, so you must use such parameters as 668:Editors can experiment in this template's sandbox 613:The abbreviations for the Canadian Provinces are: 391:|S1=AK|S2=AB|S3=BC|S4=MB|S5=NL|S6=ON|S7=SK|S8=QC}} 377:and Labrador, Ontario, Saskatchewan and Quebec): 318:Usage when area code touches another jurisdiction 146:To use this template in all cases. you will code 626:The names to use for Caribbean countries are: 416:| S1=Puerto Rico|S2=Turks and Caicos Islands}} 586:for as many states as border this area code, 467:is this area code, used for the center box. 8: 548:is this area code, used for the center box. 381:{{Area code box|This=Area Code 867|State=NT 303:{{Area code box|This=Area code 863|State=FL 637:{{Area code box|State=|This=|N=|S=|E=|W=}} 152:{{Area code box|State=|This=|N=|S=|E=|W=}} 404:{{Area code box|State=Dominican Republic 441:. (For the purposes of this template, 535:The parameters are used as follows: 7: 445:is considered a Caribbean country.) 615:AB BC MB NS NT NU ON PE QC SK YK YT 370:| W = ], ], ], ], ], ], ], ], ], ] 14: 582:=XX for the eighth nearby state, 571:=XX for the second nearby state, 109: 322:In those cases, you will code 439:State=Turks and Caicos Islands 385:| S=], ]/], ], ], ], ]/], ], ] 186:Note that the parameter names 1: 406:| This= Area code 809/829/849 396:Usage for Caribbean Countries 181:North American Numbering Plan 728: 653:Template:Area code box/doc 642: 639:where you want the table. 421:How to code the parameters 696:Subpages of this template 280:| This=Area codes 617/857 255:{{Area code box|State=TX| 253: 234: 99: 94: 89: 84: 79: 74: 69: 64: 60: 54: 52: 44: 39: 33: 29: 23: 21: 278:{{Area code box|State=MA 239:| This=area code 385/801 236:{{Area code box|State=UT 690:Add categories to the 425:The value to give for 347:and you don't include 258:This= area code 210 | 114:Template documentation 558:Optional Parameters: 372:| S1=AZ|S2=NV|S3=HI}} 498:=|This=|N=|S=|E=|W=| 712:Area code templates 488:How the macro works 218:How the Macro Works 173:How the macro works 18: 142:Usage in all cases 16: 552:N=, S=, E= and W= 469:N=, S=, E= and W= 272: 271: 104: 103: 719: 687: 679: 666: 494:{{Area code box| 417: 392: 373: 329: 314: 291: 268: 251: 232: 231: 166: 153: 134: 115: 113: 112: 19: 727: 726: 722: 721: 720: 718: 717: 716: 702: 701: 700: 699: 689: 681: 669: 667: 656: 641: 490: 448:The parameters 423: 415: 413: 411: 409: 407: 405: 403: 398: 390: 388: 387:| E=], ] ] in ] 386: 384: 383:| N=], ] ] in ] 382: 380: 371: 369: 367: 366:| S = ], ], ] ] 365: 363: 361: 327: 320: 312: 310: 308: 306: 304: 302: 297: 289: 287: 285: 283: 281: 279: 277: 265: 263: 261: 259: 256: 254: 248: 246: 244: 242: 240: 237: 235: 226: 164: 151: 144: 135: 116: 110: 108: 12: 11: 5: 725: 723: 715: 714: 704: 703: 680:and testcases 633: 632: 624: 618: 595: 594: 584: 583: 573: 572: 566: 556: 555: 549: 543: 489: 486: 463:The parameter 422: 419: 397: 394: 332: 331: 319: 316: 296: 293: 270: 269: 252: 225: 222: 169: 168: 156: 155: 143: 140: 107: 106: 102: 101: 100:] area codes: 97: 96: 95:] area codes: 92: 91: 90:] area codes: 87: 86: 85:] area codes: 82: 81: 80:] area codes: 77: 76: 75:] area codes: 72: 71: 70:] area codes: 67: 66: 65:] area codes: 62: 61: 59: 53: 50: 49: 43: 38: 31: 30: 28: 22: 17:] area codes: 13: 10: 9: 6: 4: 3: 2: 724: 713: 710: 709: 707: 697: 693: 685: 677: 673: 664: 660: 654: 650: 646: 645:documentation 640: 638: 630: 625: 623: 619: 616: 612: 611: 610: 608: 604: 600: 592: 589: 588: 587: 581: 578: 577: 576: 570: 567: 564: 561: 560: 559: 553: 550: 547: 544: 541: 538: 537: 536: 533: 531: 527: 523: 519: 515: 511: 509: 505: 501: 497: 487: 485: 483: 479: 475: 470: 466: 461: 459: 455: 451: 446: 444: 440: 436: 432: 428: 420: 418: 414:| W= ] ] in ] 401: 395: 393: 378: 374: 364:| N = ], ], ] 359: 356: 354: 350: 346: 341: 337: 330: 325: 324: 323: 317: 315: 300: 294: 292: 275: 266: 249: 233: 230: 223: 221: 219: 215: 210: 208: 204: 201: 197: 193: 189: 184: 182: 178: 174: 167: 162: 161: 160: 154: 149: 148: 147: 141: 139: 132: 128: 124: 120: 98: 93: 88: 83: 78: 73: 68: 63: 57: 51: 47: 42: 36: 32: 26: 20: 636: 634: 627: 621: 614: 606: 602: 598: 596: 590: 585: 579: 574: 568: 562: 557: 551: 545: 539: 534: 529: 525: 521: 517: 513: 512:etc., where 507: 503: 499: 495: 493: 491: 481: 477: 473: 468: 464: 462: 458:S1=AZ, S2=NV 457: 453: 449: 447: 442: 438: 434: 430: 426: 424: 402: 399: 379: 375: 360: 357: 352: 348: 344: 339: 335: 333: 326: 321: 301: 298: 276: 273: 257: 238: 227: 217: 213: 211: 206: 202: 199: 195: 191: 187: 185: 176: 172: 170: 163: 157: 150: 145: 136: 55: 45: 40: 34: 24: 649:transcluded 597:Values for 443:Puerto Rico 129:] [ 125:] [ 121:] [ 643:The above 58:: {{{S}}} 48:: {{{E}}} 41:{{{This}}} 37:: {{{W}}} 27:: {{{N}}} 694:subpage. 305:|N=]/], ] 706:Category 605:through 435:State=QC 431:State=NY 412:| E= ]/] 351:through 220:below.) 674:| 663:history 661:| 528:, ..., 492:Usage: 452:, ..., 368:| E = ] 311:|W=], ] 309:|E=], ] 307:|S=], ] 267:W= ] }} 216:. (See 127:history 688:pages. 684:create 676:mirror 672:create 591:Width= 540:State= 427:State= 410:| S= ] 408:| N= ] 334:where 264:E= ] | 262:S= ] | 260:N= ] | 214:Width= 203:state= 192:State= 651:from 599:State 546:This= 522:State 496:State 389:| W=] 288:| W=] 286:| E=] 284:| S=] 282:| N=] 247:| W=] 245:| E=] 243:| S=] 241:| N=] 207:this= 196:This= 133:] 131:purge 117:[ 56:South 25:North 692:/doc 659:edit 575:... 476:and 465:This 205:nor 123:edit 119:view 46:East 35:West 647:is 609:: 601:or 516:to 510:=}} 482:N=] 353:S8= 349:S2= 345:S1= 338:to 200:not 194:or 188:are 177:and 708:: 655:. 607:S8 603:S1 580:S8 569:S2 563:S1 530:S8 526:S1 524:, 518:S8 514:S1 508:S3 506:=| 504:S2 502:=| 500:S1 484:. 478:W= 474:N= 460:. 454:S8 450:S1 437:, 433:, 355:. 340:S8 336:S1 313:}} 290:}} 250:}} 209:. 198:, 698:. 686:) 682:( 678:) 670:( 665:) 657:( 631:.

Index

view
edit
history
purge
North American Numbering Plan
documentation
transcluded
Template:Area code box/doc
edit
history
create
mirror
create
/doc
Subpages of this template
Category
Area code templates

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.