Template:Flag/doc

Adds a flag icon.

Usage Example of [[undefined|]]
The following code: 🇸🇪 sweden Becomes: 🇸🇪 Sweden

Country Variables (Usable Abbreviations)
In addition to writing out the full name of each country, you can also use two-letter country codes and in some cases other common abbreviations.

🇨🇴
 * ar Argentina (ar)
 * am Armenia (am)
 * au Australia (au)
 * at Austria (at)
 * az Azerbaijan (az)
 * bd Bangladesh (bd)
 * by Belarus (by)
 * be Belgium (be)
 * bo Bolivia (bo)
 * ba Bosnia and Herzegovina (ba)
 * br Brazil (br)
 * bg Bulgaria (bg)
 * ca Canada (ca)
 * cl Chile (cl)
 * cn China (cn)
 * co Colombia (co)
 * cr Costa Rica (cr)
 * hr Croatia (hr)
 * cz Czech Republic (cz)
 * dk Denmark (dk)
 * do Dominican Republic (do)
 * eg Egypt (eg)
 * sv El Salvador (sv)
 * en England (en)
 * usuk EngSpeaking (usuk)
 * 🇪🇺 eu Europe (eu)


 * ee Estonia (ee)
 * ec Ecuador (ec)
 * fo Faroe Islands (fo)
 * fi Finland (fi)
 * fr France (fr)
 * de Germany (de)
 * deat GerSpeaking (deat)
 * gr Greece (gr)
 * gt Guatemala (gt)
 * hk Hong Kong (hk)
 * hn Honduras (hn)
 * hu Hungary (hu)
 * is Iceland (is)
 * in India (in)
 * id Indonesia (id)
 * il Israel (il)
 * ir Iran (ir)
 * ie Ireland (ie)
 * it Italy (it)
 * jp Japan (jp)
 * kz Kazakhstan (kz)
 * kr Korea (kr)
 * kw Kuwait (kw)
 * lv Latvia (lv)
 * ly Libya (ly)
 * li Liechtenstein (li)
 * lt Lithuania (lt)


 * lu Luxembourg (lu)
 * mk Macedonia (mk)
 * my Malaysia (my)
 * mv Maldives (mv)
 * mt Malta   (mt)
 * mx Mexico  (mx)
 * md Moldova (md)
 * ma Morocco (ma)
 * na Namibia   (na)
 * nl Netherlands (nl)
 * nz New Zealand (nz)
 * ng Nigeria (ng)
 * ni Northern Ireland (ni)
 * no Norway   (no)
 * pa Panama   (pa)
 * pk Pakistan (pk)
 * py Paraguay (py)
 * pe Peru (pe)
 * ph Philippines (ph)
 * pl Poland (pl)
 * pt Portugal   (pt)
 * pr Puerto Rico (pr)
 * ro Romania   (ro)
 * ru Russia (ru)
 * sc Scotland   (sc)
 * rs Serbia (rs)


 * sg Singapore   (sg)
 * sk Slovak Republic   (sk)
 * si Slovenia   (si)
 * za South Africa (za)
 * so Somalia (so)
 * es Spain (es)
 * se Sweden (se)
 * ch Switzerland (ch)
 * tw Taiwan   (tw)
 * th Thailand    (th)
 * tt Trinidad And Tobago (tt)
 * tr Turkey (tr)
 * tn Tunisia (tn)
 * ua Ukraine (ua)
 * ae United Arab Emirates (ae, uae)
 * uk United Kingdom (gb, uk)
 * 🇺🇳 un United Nations    (un)
 * 🇺🇸 us USA (us)
 * uz Uzbekistan  (uz)
 * ve Venezuela  (ve)
 * vn Vietnam (vn)
 * wa Wales   (wa)
 * zw Zimbabwe (zw)

If the flag name is spelled incorrectly the page gets added to Category:Unrecognised Flag and a transparent filler flag is used to keep alignment consistent. The invisible flag can optionally be added intentionally by writing "filler flag" or "ff".

When adding additional flags or making other relevant updates to the Flag-template, please consider making the corresponding changes to the FlagLoc-template.