Template:Flag entry/doc

Usage
A flag entry consists of a flag image, an optional second flag image below it, and a caption below that. This template relies on data from the country data templates (for example Template:Country data France), though an image can be set manually if such a template does not exist. A full listing of country data templates can be found at Category:All country data templates.

This template should be placed between Begin flag gallery and End flag gallery tags. To create a multi-row gallery, the New flag row template should be used.

General parameters

 * Country: Name of the country or other entity

Optional parameters

 * Image: Name of the flag image (without  prefix), to replace the image given by the country data template, or if a relevant country data template doesn't exist
 * Caption: Text for the caption. Default value is  Flag of |  , where the article title &lt;alias&gt; and shorthand name &lt;shortname alias&gt; are supplied by the country data template.
 * Variant: A variant of the state flag. See the relevant country data template for a list of variants.
 * Width: Width of the entry in pixels (default: 120, suitable for five-across rows). The image height will be limited to half its width.
 * Alt: Alternative text for the image
 * Image2: Name of the second flag image (without  prefix)
 * Alt2: Alternative text for the second image
 * Doublewide: If set, use two columns for flag (use if the flag ratio exceeds 1:2, such as for the flag of Qatar)
 * NoBorder: If set, don't put a border around image (use for non-rectangular flags such as that of Nepal)
 * the: If set, add "the" between "Flag of" and the country name in the default caption (parameter name must be lowercase)

Examples
Wikicode:

Result: