Difference between revisions of "Template:Area code box 0"
blackwiki>ProveIt (cat sort) |
blackwiki>Rfc1394 (clarify) |
||
| Line 19: | Line 19: | ||
The following paragraphs will not be included in the caller. To use this template, code '''<nowiki>{{</nowiki>Area Code Box 0|State=|This=|N=|S=|E=|W=}}''' where you want the table. The parameters are used as follows: ''State'' is the 2-letter abbreviation to include the area code template for this state or Canadian province. ''This'' is this area code, used for the center box. ''N=, S=, E= and W='' are the area codes (or oceans) that border this area code in those compass directions. | The following paragraphs will not be included in the caller. To use this template, code '''<nowiki>{{</nowiki>Area Code Box 0|State=|This=|N=|S=|E=|W=}}''' where you want the table. The parameters are used as follows: ''State'' is the 2-letter abbreviation to include the area code template for this state or Canadian province. ''This'' is this area code, used for the center box. ''N=, S=, E= and W='' are the area codes (or oceans) that border this area code in those compass directions. | ||
| − | This template is used for an area code that all surrounding area codes are in the same state/province. For area codes that are on the border with one or more states/provinces, use '''<nowiki>{{</nowiki>Area Code Box ''n''|''parameters''|S1=|S2=}}''' etc., where ''n'' is the number of border states/provinces the area code touches from 1 to 6, e.g. '''<nowiki>{{</nowiki>Area Code Box 3|''parameters''}}''' or '''<nowiki>{{</nowiki>Area Code Box 5|''parameters''}}''' etc. and ''parameters'' are the same as this template, and ''S1=,S2='' are the area code lists for border states/provinces to appear at the bottom, according to the box number. | + | This template is used for an area code that all surrounding area codes are in the same state/province. For area codes that are on the border with one or more states/provinces, use '''<nowiki>{{</nowiki>Area Code Box ''n''|''parameters''|S1=|S2=}}''' etc., where ''n'' is the number of border states/provinces the area code touches from 1 to 6, e.g. '''<nowiki>{{</nowiki>Area Code Box 3|''parameters''}}''' or '''<nowiki>{{</nowiki>Area Code Box 5|''parameters''}}''' etc. and ''parameters'' are the same as this template, and ''S1=,S2='' are the area code lists for border states/provinces to appear at the bottom, according to the box number. Note that you ''do not'' need to use the phrase '''parameters''' in calling any of these transclusion macros. |
[[Category:Infobox templates|Area Code Box 0]] | [[Category:Infobox templates|Area Code Box 0]] | ||
</noinclude> | </noinclude> | ||
Revision as of 02:48, 8 April 2006
| {{area_code_{{{State}}}}} | ||
|---|---|---|
| North: {{{N}}} | ||
| West: {{{W}}} | {{{This}}} | East: {{{E}}} |
| South: {{{S}}} | ||
The following paragraphs will not be included in the caller. To use this template, code {{Area Code Box 0|State=|This=|N=|S=|E=|W=}} where you want the table. The parameters are used as follows: State is the 2-letter abbreviation to include the area code template for this state or Canadian province. This is this area code, used for the center box. N=, S=, E= and W= are the area codes (or oceans) that border this area code in those compass directions.
This template is used for an area code that all surrounding area codes are in the same state/province. For area codes that are on the border with one or more states/provinces, use {{Area Code Box n|parameters|S1=|S2=}} etc., where n is the number of border states/provinces the area code touches from 1 to 6, e.g. {{Area Code Box 3|parameters}} or {{Area Code Box 5|parameters}} etc. and parameters are the same as this template, and S1=,S2= are the area code lists for border states/provinces to appear at the bottom, according to the box number. Note that you do not need to use the phrase parameters in calling any of these transclusion macros.