Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a45a74e2a8630d7f

Jump to content

Template:Flagu/doc

From Wikipedia, the free encyclopedia

This template is used to display a small flag icon next to an unlinked country name. It is an alternative to the {{flag}} and {{flag country}} templates, for use in instances where the country name should not be linked, per WP:OVERLINK.

See Wikipedia:WikiProject Flag Template for the main documentation/discussion page for the flag templates system.

Usage

[edit]
{{Flagu|country identifier|optional variant}}
  • country identifier 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 ISO 3166-1 alpha-3
  • variant 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 Template:Country data Germany

See the prefix index for the templates latently called by this one.

Examples

[edit]
Wiki markupDisplays
{{Flagu|Germany}} Germany
{{Flagu|GER}} GER
{{Flagu|Germany|empire}} Germany
{{Flagu|German Empire}} German Empire

Alternatives to avoid Wikipedia's Post-expand include size limit

[edit]

Pages with many flag icons may come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider using modules or module-wrapper templates instead:

  • {{flagg}} is a simple wrapper for Module:Flagg: For basic use, {{flagu|country}} can be replaced with {{flagg|unu|country}}
  • {{#invoke:flag|u}} is a wrapper for Module:Flagg that can further reduce sizes when invoked directly. For basic use, {{flagu|country}} can be replaced with {{#invoke:flag|u|country}}.

See also

[edit]