Difference between revisions of "Template:Area code box 2"

From blackwiki
Jump to navigation Jump to search
blackwiki>Rfc1394
m (t/c)
m (15 revisions imported)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| border="1" cellspacing="2" cellpadding="1" style="border-collapse: collapse; font-size: 95%;" width=350px background-color:#FFFFFF" align=center
+
#REDIRECT [[Template:Area code box]]
|- align=center bgcolor=#DDDDDD
 
! colspan="3" align="center" | {{area_code_{{{State}}}}}
 
|-
 
| width = 35% align="center" |
 
| width = 30% align="center" | '''North:''' {{{N}}}
 
| width = 35% align="center" |
 
|-
 
| width = 10% align="center" | '''West:''' {{{W}}}
 
| width = 35% align="center" | '''{{{This}}}'''
 
| width = 30% align="center" | '''East:''' {{{E}}}
 
|-
 
| width = 35% align="center" |
 
| width = 30% align="center" | '''South:''' {{{S}}}
 
| width = 35% align="center" |
 
|-
 
| colspan="3" align="center" | {{area_code_{{{S1}}}}}
 
|-
 
| colspan="3" align="center" | {{area_code_{{{S2}}}}}
 
|}
 
 
 
<noinclude>
 
The following paragraphs will not be included in the caller.  This template is used for an area code that is on the border with one or more states/provinces, to use it code '''<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 (explained below), 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.
 
 
 
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.
 
 
 
For an area code where all surrounding area codes are in the same state/province use  '''<nowiki>{{</nowiki>[[Template:Area Code Box 0|Area Code Box 0]]|State=|This=|N=|S=|E=|W=}}'''  where you want the table.
 
 
 
[[Category:area code templates|Area Code Box 2]][[ro:Format:Area_Code_Box_2]]
 
</noinclude>
 

Latest revision as of 13:12, 23 October 2020