32:
423:
400:
466:
591:
562:
443:
522:
303:
283:
255:
63:
19:
901:
542:
987:
1037:
611:
489:
1171:
1130:
1096:
1066:
1012:
960:
930:
380:
360:
323:
187:
is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as
1209:
575:
1795:
178:
is the common name of the country (e.g. "United States"), a common alias (e.g. "US"), or a standard country code such as those listed at
1806:
1216:
210:
parameter, and is used to specify the maximum width and/or height of the flag image. This parameter is specified using standard
1791:
1185:
1779:
499:
Flags are also available for several sub-national and multi-national entities such as US states, Canadian provinces, and the
47:
132:
1818:
1775:
43:
220:
1761:
70:
860:
712:
622:
506:
211:
1834:
188:
98:
This template is used to display a small flag icon next to a wikilinked country name. It is related to the
1487:
1317:
704:
1716:
1480:
1397:
1310:
771:
Common name of the country (e.g. 'United States'), a common alias (e.g. 'US'), or a standard country code
51:
1709:
1452:
1390:
1357:
1277:
453:
The name parameter can be used to change the display string but keep the link to the correct article.
1445:
1350:
1324:
1270:
88:. The tested changes can be added to this page in a single edit. Consider discussing changes on the
1473:
1303:
998:
1801:
1643:
1383:
1364:
1284:
1202:
81:
1686:
1438:
1343:
1263:
1153:
708:
700:
85:
1786:
1679:
1116:
915:
888:
112:
77:
648:
For many countries, using the country code as the template name will act as a wrapper for
76:
To avoid major disruption and server load, any changes should be tested in the template's
8:
1466:
1411:
1296:
843:
The maximum width or height, specified via standard 'extended image syntax' (e.g. x30px)
1700:
1672:
1621:
1601:
1581:
1501:
1376:
1081:
973:
179:
102:
89:
1814:
1769:
1765:
1561:
1541:
1521:
1431:
1336:
1256:
1052:
39:
1060:
aligns country names correctly in vertical lists (see that template's documentation)
644:
limit. In these cases consider using modules or module-wrapper templates instead:
631:
527:
1740:
1733:
1023:
946:
641:
633:
547:
500:
122:
1828:
1164:
1135:
308:
288:
267:
260:
797:
Identifies a flag variant to be used instead of the standard flag, e.g. 1815
1753:
1744:
668:
649:
26:
729:
This template displays a small flag icon next to a wikilinked country name
135:
for the main documentation/discussion page for the flag templates system.
128:
templates, but offers more options in terms of the text string displayed.
1749:
664:
596:
567:
410:
Flag variations can be used with either country names or country codes.
476:
The name parameter can also be used when flag variants are specified.
671:
that can further reduce sizes when invoked directly. For basic use,
1036:
1176:
1124:
displays the flag and another name, followed country name or code
1101:
1071:
1042:
986:
935:
428:
405:
385:
365:
334:
328:
71:
approximately 349,000 pages, or roughly 1% of all pages
1161:
displays the flag and a name, above linked country name and code
905:
572:
The size parameter can be used to control the image dimensions.
471:
448:
640:
Pages with many flags may come close to or exceed
Knowledge's
820:
Display alternative text instead of the standard country name
616:
494:
340:
1089:
adds country code in parentheses after linked country name
344:
1732:
Module-based versions which can be used to reduce the
739:
This template prefers inline formatting of parameters.
660:, which has an include size that is about 15% smaller.
923:
always expands the link text to the full country name
339:
In addition to the ISO country codes, those used by
981:displays the flag only, linked to the country name
1826:
574:23×15px is the default size for most countries (
224:for the templates latently called by this one.
200:parameter, is used to display alternative text
1210:
687:which has an include size that is about half.
167:maximum width and/or height of the flag image
1736:on pages that are near or exceed the limit.
1031:links the flag image to its description page
719:in articles based on its TemplateData.
1785:Editors can experiment in this template's
1217:
1203:
206:, this optional value is specified by the
29:
1092:
926:
1191:
1186:Knowledge:WikiProject Flag Template#List
196:, this optional value, specified by the
1827:
1517:Central American and Caribbean Games
1188:for a longer list of flag templates.
713:See a monthly parameter usage report
57:
1006:displays an unlinked flag icon only
133:Knowledge:WikiProject Flag Template
13:
632:Alternatives to avoid Knowledge's
459:{{flag|Canada|1957|name=Canadian}}
14:
1846:
851:
828:
805:
779:
515:{{flag|British Columbia|name=BC}}
1637:"Nation at Championships"-style
1169:
1128:
1094:
1064:
1035:
1010:
985:
958:
928:
899:
667:||}} is a wrapper for
609:
589:
578:have a different default size).
560:
540:
520:
505:A complete list can be found at
487:
464:
441:
421:
398:
378:
358:
321:
301:
281:
266:Note that all instances link to
253:
61:
30:
17:
1141:
861:Knowledge:Extended image syntax
694:
507:Category:Country data templates
954:does not link the country name
584:{{flag|Switzerland|size=28px}}
555:{{flag|Switzerland|size=14px}}
1:
1727:
189:Template:Country data Germany
333:All three instances link to
7:
1743:a version which implements
896:displays coat of arms image
866:
347:, etc. are also supported.
227:
10:
1851:
1759:
703:for this template used by
436:{{flag|CAN|name=Canadian}}
1819:Subpages of this template
1695:
1656:
1636:
1616:
1596:
1576:
1556:
1536:
1516:
1496:
1461:
1426:
1406:
1371:
1331:
1291:
1251:
1246:
1243:
1240:
1237:
1234:
1231:
745:
571:
498:
409:
332:
265:
92:before implementing them.
84:subpages, or in your own
69:This template is used on
1734:post-expand include size
642:Post-expand include size
634:Post-expand include size
138:
1241:Athlete (country code)
393:{{flag|Germany|empire}}
194:alternative text string
160:alternative text string
1813:Add categories to the
247:{{flag|United States}}
35:Template documentation
1244:Athlete Country Name
1192:Multi-sport templates
722:TemplateData for Flag
679:can be replaced with
656:can be replaced with
1835:Flag template system
1597:Mediterranean Games
1238:Country name (code)
1617:Summer Universiade
1488:Flag SEAGF medalist
1318:Flag IOC 2 medalist
1228:
857:
742:
735:Template parameters
416:{{flag|DEU|empire}}
1717:Flag link medalist
1696:Generic (variant)
1481:Flag SEAGF athlete
1398:Flag PASO medalist
1311:Flag IOC 2 athlete
1226:
762:Country identifier
733:
731:
726:
614:
180:ISO 3166-1 alpha-3
176:country identifier
147:country identifier
1770:Template:Flag/doc
1725:
1724:
1710:Flag link athlete
1453:Flag CGF medalist
1407:Parapan American
1391:Flag PASO athlete
1358:Flag IPC medalist
1332:Paralympic Games
1278:Flag IOC medalist
1182:
1181:
856:
855:
834:Maximum dimension
758:
727:
711:and other tools.
629:
628:
623:non-quadrilateral
96:
95:
1842:
1810:
1799:
1783:
1752:also works with
1668:
1662:
1462:Southeast Asian
1446:Flag CGF athlete
1351:Flag IPC athlete
1325:Flag IOC 2 short
1271:Flag IOC athlete
1229:
1225:
1219:
1212:
1205:
1199:
1175:
1173:
1172:
1158:
1152:
1145:
1143:
1134:
1132:
1131:
1121:
1115:
1108:
1104:
1100:
1098:
1097:
1086:
1080:
1069:
1068:
1067:
1057:
1051:
1041:
1039:
1028:
1022:
1015:
1014:
1013:
1003:
997:
990:
989:
978:
972:
964:
962:
961:
951:
945:
938:
934:
932:
931:
920:
914:
903:
902:
893:
887:
871:
870:
839:
816:
811:Alternative text
793:
790:
767:
759:
743:
740:
732:
686:
681:{{#invoke:flag||
678:
659:
655:
654:{{flag|''USA''}}
615:
613:
612:
605:
595:
593:
592:
585:
566:
564:
563:
556:
546:
544:
543:
536:
526:
524:
523:
516:
493:
491:
490:
483:
470:
468:
467:
460:
447:
445:
444:
437:
427:
425:
424:
417:
404:
402:
401:
394:
384:
382:
381:
374:
364:
362:
361:
354:
327:
325:
324:
317:
316:{{flag|Germany}}
307:
305:
304:
297:
287:
285:
284:
277:
263:
259:
257:
256:
248:
232:
231:
223:
221:the prefix index
153:optional variant
127:
121:
117:
111:
107:
101:
65:
64:
58:
55:
36:
34:
33:
23:
21:
20:
1850:
1849:
1845:
1844:
1843:
1841:
1840:
1839:
1825:
1824:
1823:
1822:
1812:
1804:
1789:
1784:
1773:
1758:
1730:
1666:
1660:
1557:European Games
1474:Flag SEAGF team
1304:Flag IOC 2 team
1232:Output style →
1227:Flag templates
1224:
1223:
1198:This template:
1197:
1194:
1170:
1168:
1167:
1156:
1150:
1139:
1129:
1127:
1119:
1113:
1106:
1095:
1093:
1084:
1078:
1065:
1063:
1055:
1049:
1034:
1026:
1020:
1011:
1009:
1001:
999:Flag decoration
995:
984:
976:
970:
959:
957:
949:
943:
929:
927:
918:
912:
900:
891:
885:
869:
837:
814:
791:
788:
765:
738:
725:
697:
691:
680:
672:
657:
653:
652:: For example,
638:
621:Some flags are
610:
608:
603:
590:
588:
583:
573:
561:
559:
554:
541:
539:
534:
521:
519:
514:
504:
488:
486:
481:
465:
463:
458:
442:
440:
435:
422:
420:
415:
399:
397:
392:
379:
377:
372:
359:
357:
352:
338:
322:
320:
315:
302:
300:
295:
282:
280:
275:
254:
252:
251:
246:
230:
219:
141:
125:
119:
115:
109:
105:
99:
75:
62:
56:
37:
31:
18:
16:
12:
11:
5:
1848:
1838:
1837:
1757:
1756:
1747:
1741:Template:Flagg
1729:
1726:
1723:
1722:
1720:
1713:
1706:
1704:
1697:
1693:
1692:
1690:
1683:
1676:
1669:
1658:
1654:
1653:
1651:
1649:
1647:
1644:Flag link team
1640:
1638:
1634:
1633:
1631:
1629:
1627:
1625:
1618:
1614:
1613:
1611:
1609:
1607:
1605:
1598:
1594:
1593:
1591:
1589:
1587:
1585:
1578:
1577:African Games
1574:
1573:
1571:
1569:
1567:
1565:
1558:
1554:
1553:
1551:
1549:
1547:
1545:
1538:
1534:
1533:
1531:
1529:
1527:
1525:
1518:
1514:
1513:
1511:
1509:
1507:
1505:
1498:
1494:
1493:
1491:
1484:
1477:
1470:
1463:
1459:
1458:
1456:
1449:
1442:
1435:
1428:
1424:
1423:
1421:
1419:
1417:
1415:
1408:
1404:
1403:
1401:
1394:
1387:
1384:Flag PASO team
1380:
1373:
1369:
1368:
1365:Flag IPC short
1361:
1354:
1347:
1340:
1333:
1329:
1328:
1321:
1314:
1307:
1300:
1293:
1289:
1288:
1285:Flag IOC short
1281:
1274:
1267:
1260:
1253:
1252:Olympic Games
1249:
1248:
1245:
1242:
1239:
1236:
1233:
1222:
1221:
1214:
1207:
1196:
1195:
1193:
1190:
1180:
1179:
1162:
1159:
1147:
1146:
1125:
1122:
1110:
1109:
1090:
1087:
1075:
1074:
1061:
1058:
1046:
1045:
1032:
1029:
1017:
1016:
1007:
1004:
992:
991:
982:
979:
967:
966:
955:
952:
940:
939:
924:
921:
909:
908:
897:
894:
882:
881:
878:
875:
868:
865:
854:
853:
850:
847:
846:
840:
835:
831:
830:
827:
824:
823:
817:
812:
808:
807:
804:
801:
800:
794:
786:
782:
781:
778:
775:
774:
768:
763:
757:
756:
753:
750:
747:
705:TemplateWizard
698:
696:
693:
689:
688:
661:
637:
630:
627:
626:
619:
606:
604:{{flag|Nepal}}
600:
599:
586:
580:
579:
570:
557:
551:
550:
537:
531:
530:
517:
511:
510:
501:European Union
497:
484:
482:{{flag|Texas}}
478:
477:
474:
461:
455:
454:
451:
438:
432:
431:
418:
412:
411:
408:
395:
389:
388:
375:
369:
368:
355:
349:
348:
331:
318:
312:
311:
298:
292:
291:
278:
272:
271:
264:
249:
243:
242:
239:
236:
229:
226:
216:
215:
201:
191:
182:
140:
137:
94:
93:
66:
28:
27:
9:
6:
4:
3:
2:
1847:
1836:
1833:
1832:
1830:
1820:
1816:
1808:
1803:
1797:
1793:
1788:
1781:
1777:
1771:
1767:
1763:
1762:documentation
1755:
1751:
1748:
1746:
1742:
1739:
1738:
1737:
1735:
1721:
1718:
1714:
1711:
1707:
1705:
1702:
1698:
1694:
1691:
1688:
1687:Flag medalist
1684:
1681:
1677:
1674:
1670:
1665:
1659:
1655:
1652:
1650:
1648:
1645:
1641:
1639:
1635:
1632:
1630:
1628:
1626:
1623:
1619:
1615:
1612:
1610:
1608:
1606:
1603:
1599:
1595:
1592:
1590:
1588:
1586:
1583:
1579:
1575:
1572:
1570:
1568:
1566:
1563:
1559:
1555:
1552:
1550:
1548:
1546:
1543:
1539:
1535:
1532:
1530:
1528:
1526:
1523:
1519:
1515:
1512:
1510:
1508:
1506:
1503:
1499:
1495:
1492:
1489:
1485:
1482:
1478:
1475:
1471:
1468:
1464:
1460:
1457:
1454:
1450:
1447:
1443:
1440:
1439:Flag CGF team
1436:
1433:
1429:
1427:Commonwealth
1425:
1422:
1420:
1418:
1416:
1413:
1409:
1405:
1402:
1399:
1395:
1392:
1388:
1385:
1381:
1378:
1374:
1372:Pan American
1370:
1367:}}
1366:
1362:
1359:
1355:
1352:
1348:
1345:
1344:Flag IPC team
1341:
1338:
1334:
1330:
1327:}}
1326:
1322:
1319:
1315:
1312:
1308:
1305:
1301:
1298:
1294:
1290:
1287:}}
1286:
1282:
1279:
1275:
1272:
1268:
1265:
1264:Flag IOC team
1261:
1258:
1254:
1250:
1247:Country code
1235:Country name
1230:
1220:
1215:
1213:
1208:
1206:
1201:
1200:
1189:
1187:
1178:
1166:
1165:Dirk Nowitzki
1163:
1160:
1155:
1154:Flag medalist
1149:
1148:
1137:
1136:Dirk Nowitzki
1126:
1123:
1118:
1112:
1111:
1103:
1091:
1088:
1083:
1077:
1076:
1073:
1062:
1059:
1054:
1048:
1047:
1044:
1038:
1033:
1030:
1025:
1019:
1018:
1008:
1005:
1000:
994:
993:
988:
983:
980:
975:
969:
968:
956:
953:
948:
942:
941:
937:
925:
922:
917:
911:
910:
907:
898:
895:
890:
884:
883:
879:
876:
873:
872:
864:
862:
848:
845:
844:
841:
836:
833:
832:
825:
822:
821:
818:
813:
810:
809:
802:
799:
798:
795:
787:
784:
783:
776:
773:
772:
769:
764:
761:
760:
754:
751:
748:
744:
741:
736:
730:
724:
723:
718:
717:Template:Flag
714:
710:
706:
702:
692:
684:
676:
670:
666:
662:
651:
647:
646:
645:
643:
635:
624:
620:
618:
607:
602:
601:
598:
587:
582:
581:
577:
576:some entities
569:
558:
553:
552:
549:
538:
533:
532:
529:
518:
513:
512:
508:
502:
496:
485:
480:
479:
475:
473:
462:
457:
456:
452:
450:
439:
434:
433:
430:
419:
414:
413:
407:
396:
391:
390:
387:
376:
371:
370:
367:
356:
351:
350:
346:
342:
336:
330:
319:
314:
313:
310:
299:
294:
293:
290:
279:
274:
273:
269:
268:United States
262:
261:United States
250:
245:
244:
240:
237:
234:
233:
225:
222:
213:
209:
205:
202:
199:
195:
192:
190:
186:
183:
181:
177:
174:
173:
172:
171:
168:
164:
161:
157:
154:
151:
148:
145:
136:
134:
129:
124:
114:
104:
91:
87:
83:
79:
73:
72:
67:
60:
59:
53:
49:
45:
41:
25:
1754:Module:Flagg
1745:Module:Flagg
1731:
1719:}}
1715:{{
1712:}}
1708:{{
1703:}}
1699:{{
1689:}}
1685:{{
1682:}}
1680:Flag athlete
1678:{{
1675:}}
1671:{{
1667:}}
1663:
1661:{{
1646:}}
1642:{{
1624:}}
1620:{{
1604:}}
1600:{{
1584:}}
1580:{{
1564:}}
1560:{{
1544:}}
1540:{{
1537:Asian Games
1524:}}
1520:{{
1504:}}
1500:{{
1497:World Games
1490:}}
1486:{{
1483:}}
1479:{{
1476:}}
1472:{{
1469:}}
1465:{{
1455:}}
1451:{{
1448:}}
1444:{{
1441:}}
1437:{{
1434:}}
1430:{{
1414:}}
1410:{{
1400:}}
1396:{{
1393:}}
1389:{{
1386:}}
1382:{{
1379:}}
1375:{{
1363:{{
1360:}}
1356:{{
1353:}}
1349:{{
1346:}}
1342:{{
1339:}}
1335:{{
1323:{{
1320:}}
1316:{{
1313:}}
1309:{{
1306:}}
1302:{{
1299:}}
1295:{{
1292:Other games
1283:{{
1280:}}
1276:{{
1273:}}
1269:{{
1266:}}
1262:{{
1259:}}
1255:{{
1183:
1157:}}
1151:{{
1120:}}
1117:Flag athlete
1114:{{
1085:}}
1079:{{
1056:}}
1050:{{
1027:}}
1021:{{
1002:}}
996:{{
977:}}
971:{{
950:}}
944:{{
919:}}
916:Flag country
913:{{
892:}}
889:Coat of arms
886:{{
858:
842:
819:
796:
770:
737:
734:
728:
721:
720:
716:
709:VisualEditor
701:TemplateData
699:This is the
695:TemplateData
690:
682:
674:
669:Module:Flagg
665:#invoke:flag
663:{{
650:Module:Flagg
639:
594:
565:
373:{{flag|GER}}
353:{{flag|DEU}}
296:{{flag|USA}}
217:
212:image syntax
207:
203:
197:
193:
184:
175:
169:
166:
162:
159:
155:
152:
149:
146:
143:
142:
130:
126:}}
120:{{
116:}}
113:flag country
110:{{
106:}}
100:{{
97:
86:user subpage
68:
15:
1766:transcluded
1750:Module:Flag
877:Description
749:Description
597:Switzerland
568:Switzerland
535:{{flag|EU}}
276:{{flag|US}}
235:Wiki markup
50:] [
46:] [
42:] [
1760:The above
1467:Flag SEAGF
1412:Flag PPASO
1297:Flag IOC 2
82:/testcases
1817:subpage.
1802:testcases
1701:Flag link
1673:Flag team
1622:Flag FISU
1602:Flag CIJM
1582:Flag AFOC
1502:Flag IWGA
1377:Flag PASO
1082:Flag team
974:Flag icon
746:Parameter
103:flag icon
90:talk page
1829:Category
1728:See also
1657:Generic
1562:Flag EOC
1542:Flag OCA
1522:Flag CAC
1432:Flag CGF
1337:Flag IPC
1257:Flag IOC
1053:Flaglist
965:Germany
880:Example
874:Template
867:See also
852:optional
829:optional
806:optional
780:required
472:Canadian
449:Canadian
238:Displays
228:Examples
78:/sandbox
1794:|
1787:sandbox
1780:history
1778:|
1177:Germany
1102:Germany
1072:Germany
1043:Germany
936:Germany
792:variant
785:Variant
683:country
675:country
673:{{flag|
658:{{USA}}
406:Germany
335:Germany
329:Germany
185:variant
144:{{flag|
48:history
1811:pages.
1174:
1138:
1133:
1105:
1099:
1070:
1040:
963:
933:
906:Canada
904:
849:String
826:String
803:String
777:String
755:Status
545:
525:
492:
469:
446:
426:
403:
383:
363:
326:
306:
286:
258:
241:Notes
163:|
156:|
150:|
22:
1768:from
1107:(GER)
1024:Flagc
947:Flagu
859:See:
636:limit
617:Nepal
495:Texas
165:size=
158:name=
139:Usage
123:flagu
54:]
52:purge
38:[
1815:/doc
1807:edit
1800:and
1796:diff
1792:edit
1776:edit
1664:Flag
1218:edit
1211:talk
1204:view
1184:See
838:size
815:name
752:Type
715:for
341:FIFA
218:See
208:size
204:size
198:name
131:See
118:and
44:edit
40:view
1764:is
1142:GER
429:DEU
386:GER
366:DEU
345:IOC
309:USA
80:or
1831::
1772:.
863:.
707:,
685:}}
677:}}
625:.
548:EU
528:BC
509:.
343:,
289:US
270:.
170:}}
108:,
1821:.
1809:)
1805:(
1798:)
1790:(
1782:)
1774:(
1144:)
1140:(
789:2
766:1
503:.
337:.
214:.
74:.
24:]
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.