Wikipedia:WikiProject Football/National teams/Referencing templates

There are now a small set of templates that can be used to generate links to national football teams plus their associated flags:
 * Template:fb — renders a flag icon (using the same underlying mechanism as Template:flagicon) plus a link to the national football team for the specified nation
 * Template:fb-rt — same usage as fb, but puts the flag on the right
 * Template:fb-big — same usage as fb, but renders a larger flag image and places the linked team name beneath the flag. This version is useful for tournament history tables.

An identical set of templates is also available for women's national football teams:
 * Template:fbw
 * Template:fbw-rt
 * Template:fbw-big

Usage
In all cases, template usage follows the following format:

where:
 * = the name of the nation (e.g. ) or the FIFA trigramme of the nation (e.g.  )
 * = a label to specify an alternate (usu. historical) flag variant instead of the current flag. This parameter is optional.
 * = an optional name that can be used to over-ride the display name of the wikilink.

Examples
Note that using the FIFA country code (see List of FIFA country codes for the full set) or the name of the nation has the same result. Your choice of what to use will depend on whether you prefer brevity or clarity. Large lists of teams may benefit from using the full name; input arguments to tournament bracket templates may be easier to read with country codes.
 * =  = 🇮🇹 italy

Note that the display name may differ from the wikilink. These names are automatically selected by the internal template mechanism. In each case, the FIFA name of the team is used for the display name, but the common country name is used for the article link.
 * =  = 🇨🇳 china
 * =  = 🇲🇰 macedonia

In these examples, you can see that the wikilink is different from the normal "Nation national football team" format. The correct article name is also automatically selected from the internal template mechanism.
 * =  = 🇺🇸 united states
 * =  = 🇦🇺 australia
 * =  = 🇨🇦 canada

In these examples, both the wikilink name and the display name are different, and again, this is all handled automatically by the template.
 * =  = 🇰🇷 south korea
 * =  = 🇨🇩 congo

Non-FIFA teams
These templates work perfectly well for teams that do not have FIFA country codes:
 * = 🇲🇶 martinique
 * = 🇬🇱 greenland
 * = 🇵🇼 palau
 * = 🇾🇹 mayotte

Historical flags
Many nations have had different flags at different times in their history. Alternate flags can be selected by specifying an additional argument to the templates.


 * = 🇮🇹 italy
 * = 🇦🇷 argentina
 * = 🇩🇪 germany
 * = 🇷🇴 romania
 * = 🇧🇬 bulgaria
 * = 🇭🇰 hong kong
 * = 🇲🇽 mexico
 * = 🇰🇪 kenya
 * = 🇦🇫 afghanistan

Since these football templates are built on the same mechanism as the familiar flag and flagicon templates, the flag variant argument is the same. For example  produces 🇮🇹, so the " " variant has the same effect in both sets of templates.

To find the complete list of historical flag variants available for each nation, please look at the template documentation for the individual flag template, as found in Category:Country data templates. For example, the documentation for Template:Country data Hungary lists four different flag variants (in addition to the current flag).

Historical nations
Many nations were known by different names in their history. These flag templates can be used with historical nation names (and in some cases, historical country codes), and will generate a wikilink to the modern successor national team article. Note which article the wikilink points to for each of the following examples:

Some historical nations still have individual team articles, and again, work with these templates:
 * = 🇨🇼 curaçao
 * = 🇨🇼 curaçao
 * = 🇨🇼 curaçao
 * = 🇨🇼 curaçao
 * = 🇨🇼 curaçao
 * = 🇨🇼 curaçao

In some instances, use of the  parameter may be useful for historical team names:
 * = 🇨🇩 congo
 * = 🇮🇪 ireland
 * = 🇮🇪 ireland

Ireland

 * =  = 🇮🇪 ireland

Note that " " and the non-standard country code " " are used for the old all-Ireland national football team (IFA). You must spell out " " (or use the standard " " country code) for the current FAI team.