User:Will Pittenger/templates/GetProvinceFlag


Usage

edit

Pass "USA" for the United States or a Top Level domain code (minus the period) for other countries. (USA is the only recognized code for the US in interests of space.)

If you wish to use province look up templates other than what I provide, pass the location of them as the "Location" parameter. All templates must be named "GetProvinceFlag Nation Code" where Nation Code is the code for the nation whose province you want to look up.

Parameters

edit
Name Purpose Default
{{{Location}}} Use this to tell GetProvinceName where the nation-specific templates are located. Please include the namespace. Be sure it ends in ":" or "/". If your templates are in the template namespace, pass "Template:". The actual code calling the template is {{{{{Location|User:Will Pittenger/templates/}}}GetProvinceFlag {{{Nation Code|{{{1}}}}}}|{{{Province Code|{{{2}}}}}}}}. "User:Will Pittenger/templates/"
{{{1}}} Pass a code from the table below. GetProvinceName calls a template called "GetProvinceFlag {{{1}}}". This parameter is also known as {{{Location}}}
{{{2}}} Pass a code as listed in the version of GetProvinceFlag for the nation you are looking a province up for. Use the table below to consult the correct template. Each template will provide a table of codes. Most templates will use postal codes. This parameter is also known as {{{Province Code}}}

Supported nations

edit
Enter this code This template will use the template shown below unless you override the location.
USA {{User:Will Pittenger/templates/GetProvinceFlag USA}}
ac {{User:Will Pittenger/templates/GetProvinceFlag ac}}
ad {{User:Will Pittenger/templates/GetProvinceFlag ad}}
ae {{User:Will Pittenger/templates/GetProvinceFlag ae}}
af {{User:Will Pittenger/templates/GetProvinceFlag af}}
ag {{User:Will Pittenger/templates/GetProvinceFlag ag}}
ai {{User:Will Pittenger/templates/GetProvinceFlag ai}}
al {{User:Will Pittenger/templates/GetProvinceFlag al}}
am {{User:Will Pittenger/templates/GetProvinceFlag am}}
an {{User:Will Pittenger/templates/GetProvinceFlag an}}
ao {{User:Will Pittenger/templates/GetProvinceFlag ao}}
ar {{User:Will Pittenger/templates/GetProvinceFlag ar}}
as {{User:Will Pittenger/templates/GetProvinceFlag as}}
at {{User:Will Pittenger/templates/GetProvinceFlag at}}
au {{User:Will Pittenger/templates/GetProvinceFlag au}}
aw {{User:Will Pittenger/templates/GetProvinceFlag aw}}
ax {{User:Will Pittenger/templates/GetProvinceFlag ax}}
az {{User:Will Pittenger/templates/GetProvinceFlag az}}
ba {{User:Will Pittenger/templates/GetProvinceFlag ba}}
bb {{User:Will Pittenger/templates/GetProvinceFlag bb}}
bd {{User:Will Pittenger/templates/GetProvinceFlag bd}}
be {{User:Will Pittenger/templates/GetProvinceFlag be}}
bf {{User:Will Pittenger/templates/GetProvinceFlag bf}}
bg {{User:Will Pittenger/templates/GetProvinceFlag bg}}
bh {{User:Will Pittenger/templates/GetProvinceFlag bh}}
bi {{User:Will Pittenger/templates/GetProvinceFlag bi}}
bj {{User:Will Pittenger/templates/GetProvinceFlag bj}}
bm {{User:Will Pittenger/templates/GetProvinceFlag bm}}
bn {{User:Will Pittenger/templates/GetProvinceFlag bn}}
bo {{User:Will Pittenger/templates/GetProvinceFlag bo}}
br {{User:Will Pittenger/templates/GetProvinceFlag br}}
bs {{User:Will Pittenger/templates/GetProvinceFlag bs}}
bt {{User:Will Pittenger/templates/GetProvinceFlag bt}}
bw {{User:Will Pittenger/templates/GetProvinceFlag bw}}
by {{User:Will Pittenger/templates/GetProvinceFlag by}}
bz {{User:Will Pittenger/templates/GetProvinceFlag bz}}
ca {{User:Will Pittenger/templates/GetProvinceFlag ca}}
cc {{User:Will Pittenger/templates/GetProvinceFlag cc}}
cd {{User:Will Pittenger/templates/GetProvinceFlag cd}}
cf {{User:Will Pittenger/templates/GetProvinceFlag cf}}
cg {{User:Will Pittenger/templates/GetProvinceFlag cg}}
ch {{User:Will Pittenger/templates/GetProvinceFlag ch}}
ci {{User:Will Pittenger/templates/GetProvinceFlag ci}}
ck {{User:Will Pittenger/templates/GetProvinceFlag ck}}
cl {{User:Will Pittenger/templates/GetProvinceFlag cl}}
cm {{User:Will Pittenger/templates/GetProvinceFlag cm}}
cn {{User:Will Pittenger/templates/GetProvinceFlag cn}}
co {{User:Will Pittenger/templates/GetProvinceFlag co}}
cr {{User:Will Pittenger/templates/GetProvinceFlag cr}}
cu {{User:Will Pittenger/templates/GetProvinceFlag cu}}
cv {{User:Will Pittenger/templates/GetProvinceFlag cv}}
cx {{User:Will Pittenger/templates/GetProvinceFlag cx}}
cy {{User:Will Pittenger/templates/GetProvinceFlag cy}}
cz {{User:Will Pittenger/templates/GetProvinceFlag cz}}
de {{User:Will Pittenger/templates/GetProvinceFlag de}}
dj {{User:Will Pittenger/templates/GetProvinceFlag dj}}
dk {{User:Will Pittenger/templates/GetProvinceFlag dk}}
dm {{User:Will Pittenger/templates/GetProvinceFlag dm}}
do {{User:Will Pittenger/templates/GetProvinceFlag do}}
dz {{User:Will Pittenger/templates/GetProvinceFlag dz}}
ec {{User:Will Pittenger/templates/GetProvinceFlag ec}}
ee {{User:Will Pittenger/templates/GetProvinceFlag ee}}
eg {{User:Will Pittenger/templates/GetProvinceFlag eg}}
er {{User:Will Pittenger/templates/GetProvinceFlag er}}
es {{User:Will Pittenger/templates/GetProvinceFlag es}}
et {{User:Will Pittenger/templates/GetProvinceFlag et}}
eu {{User:Will Pittenger/templates/GetProvinceFlag eu}}
fi {{User:Will Pittenger/templates/GetProvinceFlag fi}}
fj {{User:Will Pittenger/templates/GetProvinceFlag fj}}
fk {{User:Will Pittenger/templates/GetProvinceFlag fk}}
fm {{User:Will Pittenger/templates/GetProvinceFlag fm}}
fo {{User:Will Pittenger/templates/GetProvinceFlag fo}}
fr {{User:Will Pittenger/templates/GetProvinceFlag fr}}
ga {{User:Will Pittenger/templates/GetProvinceFlag ga}}
gd {{User:Will Pittenger/templates/GetProvinceFlag gd}}
ge {{User:Will Pittenger/templates/GetProvinceFlag ge}}
gf {{User:Will Pittenger/templates/GetProvinceFlag gf}}
gg {{User:Will Pittenger/templates/GetProvinceFlag gg}}
gh {{User:Will Pittenger/templates/GetProvinceFlag gh}}
gi {{User:Will Pittenger/templates/GetProvinceFlag gi}}
gl {{User:Will Pittenger/templates/GetProvinceFlag gl}}
gm {{User:Will Pittenger/templates/GetProvinceFlag gm}}
gn {{User:Will Pittenger/templates/GetProvinceFlag gn}}
gp {{User:Will Pittenger/templates/GetProvinceFlag gp}}
gq {{User:Will Pittenger/templates/GetProvinceFlag gq}}
gr {{User:Will Pittenger/templates/GetProvinceFlag gr}}
gs {{User:Will Pittenger/templates/GetProvinceFlag gs}}
gt {{User:Will Pittenger/templates/GetProvinceFlag gt}}
gu {{User:Will Pittenger/templates/GetProvinceFlag gu}}
gw {{User:Will Pittenger/templates/GetProvinceFlag gw}}
gy {{User:Will Pittenger/templates/GetProvinceFlag gy}}
hk {{User:Will Pittenger/templates/GetProvinceFlag hk}}
hm {{User:Will Pittenger/templates/GetProvinceFlag hm}}
hn {{User:Will Pittenger/templates/GetProvinceFlag hn}}
hr {{User:Will Pittenger/templates/GetProvinceFlag hr}}
ht {{User:Will Pittenger/templates/GetProvinceFlag ht}}
hu {{User:Will Pittenger/templates/GetProvinceFlag hu}}
id {{User:Will Pittenger/templates/GetProvinceFlag id}}
ie {{User:Will Pittenger/templates/GetProvinceFlag ie}}
il {{User:Will Pittenger/templates/GetProvinceFlag il}}
im {{User:Will Pittenger/templates/GetProvinceFlag im}}
in {{User:Will Pittenger/templates/GetProvinceFlag in}}
io {{User:Will Pittenger/templates/GetProvinceFlag io}}
iq {{User:Will Pittenger/templates/GetProvinceFlag iq}}
ir {{User:Will Pittenger/templates/GetProvinceFlag ir}}
is {{User:Will Pittenger/templates/GetProvinceFlag is}}
it {{User:Will Pittenger/templates/GetProvinceFlag it}}
je {{User:Will Pittenger/templates/GetProvinceFlag je}}
jm {{User:Will Pittenger/templates/GetProvinceFlag jm}}
jo {{User:Will Pittenger/templates/GetProvinceFlag jo}}
jp {{User:Will Pittenger/templates/GetProvinceFlag jp}}
ke {{User:Will Pittenger/templates/GetProvinceFlag ke}}
kg {{User:Will Pittenger/templates/GetProvinceFlag kg}}
kh {{User:Will Pittenger/templates/GetProvinceFlag kh}}
ki {{User:Will Pittenger/templates/GetProvinceFlag ki}}
km {{User:Will Pittenger/templates/GetProvinceFlag km}}
kn {{User:Will Pittenger/templates/GetProvinceFlag kn}}
kr {{User:Will Pittenger/templates/GetProvinceFlag kr}}
kw {{User:Will Pittenger/templates/GetProvinceFlag kw}}
ky {{User:Will Pittenger/templates/GetProvinceFlag ky}}
kz {{User:Will Pittenger/templates/GetProvinceFlag kz}}
la {{User:Will Pittenger/templates/GetProvinceFlag la}}
lb {{User:Will Pittenger/templates/GetProvinceFlag lb}}
lc {{User:Will Pittenger/templates/GetProvinceFlag lc}}
li {{User:Will Pittenger/templates/GetProvinceFlag li}}
lk {{User:Will Pittenger/templates/GetProvinceFlag lk}}
lr {{User:Will Pittenger/templates/GetProvinceFlag lr}}
ls {{User:Will Pittenger/templates/GetProvinceFlag ls}}
lt {{User:Will Pittenger/templates/GetProvinceFlag lt}}
lu {{User:Will Pittenger/templates/GetProvinceFlag lu}}
lv {{User:Will Pittenger/templates/GetProvinceFlag lv}}
ly {{User:Will Pittenger/templates/GetProvinceFlag ly}}
ma {{User:Will Pittenger/templates/GetProvinceFlag ma}}
mc {{User:Will Pittenger/templates/GetProvinceFlag mc}}
md {{User:Will Pittenger/templates/GetProvinceFlag md}}
me {{User:Will Pittenger/templates/GetProvinceFlag me}}
mg {{User:Will Pittenger/templates/GetProvinceFlag mg}}
mh {{User:Will Pittenger/templates/GetProvinceFlag mh}}
mk {{User:Will Pittenger/templates/GetProvinceFlag mk}}
ml {{User:Will Pittenger/templates/GetProvinceFlag ml}}
mm {{User:Will Pittenger/templates/GetProvinceFlag mm}}
mn {{User:Will Pittenger/templates/GetProvinceFlag mn}}
mo {{User:Will Pittenger/templates/GetProvinceFlag mo}}
mp {{User:Will Pittenger/templates/GetProvinceFlag mp}}
mq {{User:Will Pittenger/templates/GetProvinceFlag mq}}
mr {{User:Will Pittenger/templates/GetProvinceFlag mr}}
ms {{User:Will Pittenger/templates/GetProvinceFlag ms}}
mt {{User:Will Pittenger/templates/GetProvinceFlag mt}}
mu {{User:Will Pittenger/templates/GetProvinceFlag mu}}
mv {{User:Will Pittenger/templates/GetProvinceFlag mv}}
mw {{User:Will Pittenger/templates/GetProvinceFlag mw}}
mx {{User:Will Pittenger/templates/GetProvinceFlag mx}}
my {{User:Will Pittenger/templates/GetProvinceFlag my}}
mz {{User:Will Pittenger/templates/GetProvinceFlag mz}}
na {{User:Will Pittenger/templates/GetProvinceFlag na}}
nc {{User:Will Pittenger/templates/GetProvinceFlag nc}}
ne {{User:Will Pittenger/templates/GetProvinceFlag ne}}
nf {{User:Will Pittenger/templates/GetProvinceFlag nf}}
ng {{User:Will Pittenger/templates/GetProvinceFlag ng}}
ni {{User:Will Pittenger/templates/GetProvinceFlag ni}}
nl {{User:Will Pittenger/templates/GetProvinceFlag nl}}
no {{User:Will Pittenger/templates/GetProvinceFlag no}}
np {{User:Will Pittenger/templates/GetProvinceFlag np}}
nr {{User:Will Pittenger/templates/GetProvinceFlag nr}}
nu {{User:Will Pittenger/templates/GetProvinceFlag nu}}
nz {{User:Will Pittenger/templates/GetProvinceFlag nz}}
om {{User:Will Pittenger/templates/GetProvinceFlag om}}
pa {{User:Will Pittenger/templates/GetProvinceFlag pa}}
pe {{User:Will Pittenger/templates/GetProvinceFlag pe}}
pf {{User:Will Pittenger/templates/GetProvinceFlag pf}}
pg {{User:Will Pittenger/templates/GetProvinceFlag pg}}
ph {{User:Will Pittenger/templates/GetProvinceFlag ph}}
pk {{User:Will Pittenger/templates/GetProvinceFlag pk}}
pl {{User:Will Pittenger/templates/GetProvinceFlag pl}}
pm {{User:Will Pittenger/templates/GetProvinceFlag pm}}
pn {{User:Will Pittenger/templates/GetProvinceFlag pn}}
pr {{User:Will Pittenger/templates/GetProvinceFlag pr}}
ps {{User:Will Pittenger/templates/GetProvinceFlag ps}}
pt {{User:Will Pittenger/templates/GetProvinceFlag pt}}
pw {{User:Will Pittenger/templates/GetProvinceFlag pw}}
py {{User:Will Pittenger/templates/GetProvinceFlag py}}
qa {{User:Will Pittenger/templates/GetProvinceFlag qa}}
ro {{User:Will Pittenger/templates/GetProvinceFlag ro}}
rs {{User:Will Pittenger/templates/GetProvinceFlag rs}}
ru {{User:Will Pittenger/templates/GetProvinceFlag ru}}
rw {{User:Will Pittenger/templates/GetProvinceFlag rw}}
sa {{User:Will Pittenger/templates/GetProvinceFlag sa}}
sb {{User:Will Pittenger/templates/GetProvinceFlag sb}}
sc {{User:Will Pittenger/templates/GetProvinceFlag sc}}
sd {{User:Will Pittenger/templates/GetProvinceFlag sd}}
se {{User:Will Pittenger/templates/GetProvinceFlag se}}
sg {{User:Will Pittenger/templates/GetProvinceFlag sg}}
sh {{User:Will Pittenger/templates/GetProvinceFlag sh}}
si {{User:Will Pittenger/templates/GetProvinceFlag si}}
sj {{User:Will Pittenger/templates/GetProvinceFlag sj}}
sk {{User:Will Pittenger/templates/GetProvinceFlag sk}}
sl {{User:Will Pittenger/templates/GetProvinceFlag sl}}
sm {{User:Will Pittenger/templates/GetProvinceFlag sm}}
sn {{User:Will Pittenger/templates/GetProvinceFlag sn}}
sr {{User:Will Pittenger/templates/GetProvinceFlag sr}}
st {{User:Will Pittenger/templates/GetProvinceFlag st}}
su {{User:Will Pittenger/templates/GetProvinceFlag su}}
sv {{User:Will Pittenger/templates/GetProvinceFlag sv}}
sy {{User:Will Pittenger/templates/GetProvinceFlag sy}}
sz {{User:Will Pittenger/templates/GetProvinceFlag sz}}
tc {{User:Will Pittenger/templates/GetProvinceFlag tc}}
td {{User:Will Pittenger/templates/GetProvinceFlag td}}
tf {{User:Will Pittenger/templates/GetProvinceFlag tf}}
tg {{User:Will Pittenger/templates/GetProvinceFlag tg}}
th {{User:Will Pittenger/templates/GetProvinceFlag th}}
tj {{User:Will Pittenger/templates/GetProvinceFlag tj}}
tk {{User:Will Pittenger/templates/GetProvinceFlag tk}}
tl {{User:Will Pittenger/templates/GetProvinceFlag tl}}
tm {{User:Will Pittenger/templates/GetProvinceFlag tm}}
tn {{User:Will Pittenger/templates/GetProvinceFlag tn}}
to {{User:Will Pittenger/templates/GetProvinceFlag to}}
tp {{User:Will Pittenger/templates/GetProvinceFlag tp}}
tr {{User:Will Pittenger/templates/GetProvinceFlag tr}}
tt {{User:Will Pittenger/templates/GetProvinceFlag tt}}
tv {{User:Will Pittenger/templates/GetProvinceFlag tv}}
tw {{User:Will Pittenger/templates/GetProvinceFlag tw}}
tz {{User:Will Pittenger/templates/GetProvinceFlag tz}}
ua {{User:Will Pittenger/templates/GetProvinceFlag ua}}
ug {{User:Will Pittenger/templates/GetProvinceFlag ug}}
uk {{User:Will Pittenger/templates/GetProvinceFlag uk}}
um {{User:Will Pittenger/templates/GetProvinceFlag um}}
uy {{User:Will Pittenger/templates/GetProvinceFlag uy}}
uz {{User:Will Pittenger/templates/GetProvinceFlag uz}}
va {{User:Will Pittenger/templates/GetProvinceFlag va}}
vc {{User:Will Pittenger/templates/GetProvinceFlag vc}}
ve {{User:Will Pittenger/templates/GetProvinceFlag ve}}
vg {{User:Will Pittenger/templates/GetProvinceFlag vg}}
vi {{User:Will Pittenger/templates/GetProvinceFlag vi}}
vn {{User:Will Pittenger/templates/GetProvinceFlag vn}}
vu {{User:Will Pittenger/templates/GetProvinceFlag vu}}
wf {{User:Will Pittenger/templates/GetProvinceFlag wf}}
ws {{User:Will Pittenger/templates/GetProvinceFlag ws}}
ye {{User:Will Pittenger/templates/GetProvinceFlag ye}}
yt {{User:Will Pittenger/templates/GetProvinceFlag yt}}
yu {{User:Will Pittenger/templates/GetProvinceFlag yu}}
za {{User:Will Pittenger/templates/GetProvinceFlag za}}
zm {{User:Will Pittenger/templates/GetProvinceFlag zm}}
zw {{User:Will Pittenger/templates/GetProvinceFlag zw}}