From RationalWiki
Jump to navigation Jump to search

Inserts a small state or province flag, defaulting to the U.S. flag. To be used in conjunction with "{{cf|us}}" and "{{cf|ca}}". Currently only encompasses the 50 U.S. states, the District of Columbia, the ten Canadian provinces, and three Canadian territories, but may be expanded to include the states or other political subdivisions of other nations in the future. Note that other U.S. territories (such as Puerto Rico) are already covered under Template:cf.

Data stored in Template:sf/codes.


{{sf|[state abbreviation]}}

Code must be in lowercase (i.e. "dc", not "DC")

Map of United States labeled with state abbreviationsWikipedia

Table of flag codes

Code State name Image of Flag
Default United States Flag of the United States.svg
al Alabama Flag of Alabama.svg
ab Alberta Flag of Alberta.svg
ak Alaska Flag of Alaska.svg
az Arizona Flag of Arizona.svg
ar Arkansas Flag of Arkansas.svg
bc British Columbia Flag of British Columbia.svg
ca California Flag of California.svg
co Colorado Flag of Colorado.svg
ct Connecticut Flag of Connecticut.svg
de Delaware Flag of Delaware.svg
dc Washington D.C. Flag of the District of Columbia.svg
fl Florida Flag of Florida.svg
ga Georgia Flag of Georgia (U.S. state).svg
hi Hawaii Flag of Hawaii.svg
id Idaho Flag of Idaho.svg
il Illinois Flag of Illinois.svg
in Indiana Flag of Indiana.svg
ia Iowa Flag of Iowa.svg
ks Kansas Flag of Kansas.svg
ky Kentucky Flag of Kentucky.svg
la Louisiana Flag of Louisiana.svg
me Maine Flag of Maine.svg
mb Manitoba Flag of Manitoba.svg
md Maryland Flag of Maryland.svg
ma Massachusetts Flag of Massachusetts.svg
mi Michigan Flag of Michigan.svg
mn Minnesota Flag of Minnesota.svg
ms Mississippi Flag of Mississippi.svg
mo Missouri Flag of Missouri.svg
mt Montana Flag of Montana.svg
ne Nebraska Flag of Nebraska.svg
nv Nevada Flag of Nevada.svg
nb New Brunswick Flag of New Brunswick.svg
nh New Hampshire Flag of New Hampshire.svg
nj New Jersey Flag of New Jersey.svg
nm New Mexico Flag of New Mexico.svg
ny New York Flag of New York.svg
nl Newfoundland and Labrador Flag of Newfoundland and Labrador.svg
nc North Carolina Flag of North Carolina.svg
nd North Dakota Flag of North Dakota.svg
nt Northwest Territories Flag of the Northwest Territories.svg
ns Nova Scotia Flag of Nova Scotia.svg
nu Nunavut Flag of Nunavut.svg
oh Ohio Flag of Ohio.svg
ok Oklahoma Flag of Oklahoma.svg
on Ontario Flag of Ontario.svg
or Oregon Flag of Oregon.svg
pa Pennsylvania Flag of Pennsylvania.svg
pe Prince Edward Island Flag of Prince Edward Island.svg
qc Quebec Flag of Quebec.svg
ri Rhode Island Flag of Rhode Island.svg
sk Saskatchewan Flag of Saskatchewan.svg
sc South Carolina Flag of South Carolina.svg
sd South Dakota Flag of South Dakota.svg
tn Tennessee Flag of Tennessee.svg
tx Texas Flag of Texas.svg
ut Utah Flag of Utah.svg
vt Vermont Flag of Vermont.svg
va Virginia Flag of Virginia.svg
wa Washington (State) Flag of Washington.svg
wv West Virginia Flag of West Virginia.svg
wi Wisconsin Flag of Wisconsin.svg
wy Wyoming Flag of Wyoming.svg
yt Yukon Flag of Yukon.svg

- If no abbreviation is provided, the default flag is the United States flag.

See Template:sf/codes for the full list.

See also