Template:FlagLang/doc

FlagLang is used to add flag icons to articles. It accepts either the country's 3166-1 code, or its name.

Usage
Add to a page, where XX is the country's two-letter ISO 3166-1 code or its name. For instance, results in, and  results in.

Because of historical usage, several codes are used for countries other than their ISO counterparts; these uses are automatically categorized on Category:FlagLang transclusions using deprecated country abbreviations.

Currently, this template only accepts a few dozen countries; any unsupported input is automatically transcluded so it can be reviewed for potential inclusion in the template, and support for additional countries can be requested on the talk page. In addition, not all countries currently supported have locally available flag icons; these can be found on Wikimedia Commons and uploaded here as needed.