Template:Country showdata

{{documentation|content=Template:{{PAGENAME}} is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

{{ombox|text=This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on {{cp}}. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page.}}



Standard parameters
{{#if: {{{var1|{{{flag alias-naval|}}}}}} |

Flag variants
}} {{#if: {{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{flag alias-army|}}} |

Military ensigns
}} {{#if: {{{redir1|}}} |

Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template): }}

Example usage
{{#if: {{{var1|}}} |
 *  undefined  →  undefined
 *   →

Using a flag variant
}} {{#if: {{{redir1|}}} |
 *  undefined  →  undefined
 *   →

Using a redirect alias
}} {{#if: {{{related1|}}} |
 *   →
 *  undefined </tt> →  undefined
 *  undefined </tt> →  undefined

Related templates
Please see the following related country_data</tt> templates: {{#ifexist:{{FULLPAGENAME}}/doc |
 * Template:Country data  undefined }}

Other information
}} {{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{#if:{{{shortname alias|}}}|}}{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||{{#ifeq:{{PAGENAME}}|Country data {{{shortname alias}}}||}}}}