Template:Country showdata: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
Ookami (talk | contribs)
m 262 revisions imported
SockyPaws (talk | contribs)
m Cosmetic changes
Tag: 2017 source edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>__NOEDITSECTION__
<includeonly>__NOEDITSECTION__
{{documentation|content=<code>Template:{{PAGENAME}}</code> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <code>[[Template:flag|flag]]</code>, <code>[[Template:flagicon|flagicon]]</code>, and others.
{{Documentation|content={{Kbd|Template:{{ROOTPAGENAME}}}} is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{Template link general|plainode=on|Flag}}, {{Template link general|plaincode=on|Flagicon}} and others.


{{ombox|text=This template is within the scope of '''[[Wikipedia:WikiProject Flag Template|WikiProject Flag Template]]''', a collaborative effort to maintain flag templates on Wikipedia.  A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page.}}
[[File:{{{flag alias|Flag of None.svg}}}|thumb|{{#if:{{{flag link|}}}|See also: [[{{{flag link}}}]]|{{#ifexist:Flag of {{{alias}}}|See also: [[Flag of {{{alias}}}]]|}}}}]]


[[File:{{{flag alias|Flag of None.svg}}}|thumb|{{#if:{{{flag link|}}} | See also: [[{{{flag link}}}]] | {{#ifexist: Flag of {{{alias}}} | See also: [[Flag of {{{alias}}}]] | }} }}]]
=== Standard parameters ===
===Standard parameters===
<table class="wikitable">
<table class="wikitable">
<tr><th>Parameter name</th><th>Value</th><th>Meaning</th>
  <tr><th scope="col">Parameter name</th><th scope="col">Value</th><th scope="col">Meaning</th></tr>
</tr><tr>
  <tr>
<td><code>alias</code></td>
    <td><code>alias</code></td>
<td>{{#if: {{{alias|}}} | <code>{{{alias}}}</code> | <span style="color:red">'''undefined!'''</span> }}
    <td>{{#if:{{{alias|}}}|<code>{{{alias}}}</code>|<span style="color: red; font-weight: 700;">undefined!</span>}}</td>
<td>Main article name ([[{{{alias}}}]])</td>
    <td>Main article name ([[{{{alias|}}}]])</td>
</tr>
  </tr>
{{#if: {{{shortname alias|}}} |
{{#if:{{{shortname alias|}}}| <tr>
<tr>
    <td><code>shortname alias</code></td>
<td><code>shortname alias</code></td>
    <td><code>{{{shortname alias}}}</code></td>
<td><code>{{{shortname alias}}}</code></td>
    <td>''(optional)'' Display name to be used for the wikilink, if <code>alias</code> is a disambiguated article name, for example</td>
<td>''(optional)'' Display name to be used for the wikilink, if <code>alias</code> is a disambiguated article name, for example</td>
  </tr>}}
</tr>
  <tr>
}}
    <td><code>flag alias</code></td>
<tr>
    <td>{{#if:{{{flag alias|}}}|<code>{{{flag alias}}}</code>|<span style="color: red; font-weight: 700;">undefined!</span>}}</td>
<td><code>flag alias</code></td>
    <td>Image name ([[:File:{{{flag alias}}}]], shown on right)</td>
<td>{{#if: {{{flag alias|}}} | <code>{{{flag alias}}}</code> | <span style="color:red">'''undefined!'''</span> }}</td>
  </tr>
<td>Image name ([[:File:{{{flag alias}}}]], shown on right)</td>
</table>
</tr></table>
 
{{#if: {{{var1|{{{flag alias-naval|{{{flag alias-marines|{{{flag alias-military|{{{flag alias-coast guard|{{{flag alias-navy|{{{flag alias-air force|{{{flag alias-space force|{{{flag alias-army|}}}}}}}}}}}}}}}}}}}}}}}}}}} |
{{#if:{{{var1|{{{flag alias-naval|{{{flag alias-marines|{{{flag alias-military|{{{flag alias-coast guard|{{{flag alias-navy|{{{flag alias-air force|{{{flag alias-space force|{{{flag alias-army|}}}}}}}}}}}}}}}}}}}}}}}}}}}|
===Flag variants===
=== Flag variants ===
{{#if:{{{flag link|}}} | {{details|{{{flag link}}}}} | {{#ifexist: Flag of {{{alias}}} | {{details|Flag of {{{alias}}}}} | }} }}
{{#if:{{{flag link|}}}|{{Details|{{{flag link}}}}}|{{#ifexist:Flag of {{{alias}}}|{{Details|Flag of {{{alias}}}}}|}}}}
{{#ifeq:{{{variant|♦}}}|♦|{{red|Note: These variants cannot be used unless the line <code>{{!}} variant {{=}} {{(((}}variant{{!}}{{)))}}</code> is added to this template.}}}}
{{#ifeq:{{{variant|♦}}}|♦|{{Red|Note: These variants cannot be used unless the line <code>{{!}} variant {{=}} {{(((}}variant{{!}}{{)))}}</code> is added to this template.}}}}
<table class="wikitable">
<table class="wikitable">
<tr><th>Label</th><th>Flag image (40px)</th><th>Image name</th></tr>
  <tr><th scope="col">Label</th><th scope="col">Flag image (40px)</th><th scope="col">Image name</th></
{{#if: {{{var1|}}}
}}
}}
{{#if: {{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{link alias-air force|}}}{{{flag alias-space force|}}}{{{link alias-space force|}}}{{{flag alias-army|}}}{{{link alias-army|}}}{{{flag alias-coast guard|}}}{{{link alias-coast guard|}}}{{{flag alias-military|}}}{{{link alias-military|}}}{{{flag alias-marines|}}}{{{link alias-marines|}}} |
 
===Military ensigns===
{{#if:{{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{link alias-air force|}}}{{{flag alias-space force|}}}{{{link alias-space force|}}}{{{flag alias-army|}}}{{{link alias-army|}}}{{{flag alias-coast guard|}}}{{{link alias-coast guard|}}}{{{flag alias-military|}}}{{{link alias-military|}}}{{{flag alias-marines|}}}{{{link alias-marines|}}}|
{{#if: {{{flag alias-naval|}}} |
=== Military ensigns ===
This template includes a naval ensign flag variant that can be used with [[Template:Navy]]:
{{#if:{{{flag alias-naval|}}}|This template includes a naval ensign flag variant that can be used with [[Template:Navy]]:
* <code><nowiki>{{navy|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{navy|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Navy|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Navy|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|naval}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|naval}}
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|naval}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|naval}}
| {{#if: {{{link alias-naval|}}} |
|{{#if:{{{link alias-naval|}}}|This nation's naval ensign is the same as its national flag, so [[Template:Navy]] produces the following:
This nation's naval ensign is the same as its national flag, so [[Template:Navy]] produces the following:
* <code><nowiki>{{Navy|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Navy|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{navy|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{navy|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
}}}}{{#if:{{{flag alias-air force|}}}|{{Break}}This template includes an air force ensign flag variant that can be used with [[Template:Air force]]:
}}}}<!--
* <code><nowiki>{{Air force|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Air force|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
-->{{#if: {{{flag alias-air force|}}} |{{break}}
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|air force}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|air force}}
This template includes an air force ensign flag variant that can be used with [[Template:Air force]]:
|{{#if:{{{link alias-air force|}}}|{{Break}}This nation's air force ensign is the same as its national flag, so [[Template:Air force]] produces the following:
* <code><nowiki>{{air force|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{air force|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Air force|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Air force|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|air force}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|air force}}
}}}}{{#if:{{{flag alias-space force|}}}|{{Break}}This template includes a space force ensign flag variant that can be used with [[Template:Space force]]:
| {{#if: {{{link alias-air force|}}} |{{break}}
* <code><nowiki>{{Space force|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Space force|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
This nation's air force ensign is the same as its national flag, so [[Template:Air force]] produces the following:
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|space force}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|space force}}
* <code><nowiki>{{air force|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{air force|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
|{{#if:{{{link alias-space force|}}}|{{Break}}This nation's space force flag is the same as its national flag, so [[Template:Space force]] produces the following:
}}}}<!--
* <code><nowiki>{{Space force|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Space force|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
-->{{#if: {{{flag alias-space force|}}} |{{break}}
}}}}{{#if:{{{flag alias-marines|}}}|{{Break}}This template includes a marine ensign flag variant that can be used with [[Template:Marines]]:
This template includes a space force ensign flag variant that can be used with [[Template:Space force]]:
* <code><nowiki>{{Marines|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Marines|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{space force|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{space force|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|marines}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|marines}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|space force}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|space force}}
|{{#if:{{{link alias-marines|}}}|{{Break}}This nation's marine ensign is the same as its national flag, so [[Template:Marines]] produces the following:
| {{#if: {{{link alias-space force|}}} |{{break}}
* <code><nowiki>{{Marines|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Marines|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
This nation's space force flag is the same as its national flag, so [[Template:Space force]] produces the following:
}}}}{{#if:{{{flag alias-military|}}}|{{Break}}This template includes a marine ensign flag variant that can be used with [[Template:Armed forces]]:
* <code><nowiki>{{space force|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{space force|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
}}}}<!--
-->{{#if: {{{flag alias-marines|}}} |{{break}}
This template includes a marine ensign flag variant that can be used with [[Template:Marines]]:
* <code><nowiki>{{marines|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{marines|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|marines}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|marines}}
| {{#if: {{{link alias-marines|}}} |{{break}}
This nation's marine ensign is the same as its national flag, so [[Template:Marines]] produces the following:
* <code><nowiki>{{marines|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{marines|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
}}}}<!--
-->{{#if: {{{flag alias-military|}}} |{{break}}
This template includes a marine ensign flag variant that can be used with [[Template:Armed forces]]:
* <code><nowiki>{{Armed forces|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Armed forces|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Armed forces|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Armed forces|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|military}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|military}}
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|military}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|military}}
| {{#if: {{{link alias-military|}}} |{{break}}
|{{#if:{{{link alias-military|}}}|{{Break}}This nation's military ensign is the same as its national flag, so [[Template:Armed forces]] produces the following:
This nation's military ensign is the same as its national flag, so [[Template: Armed forces]] produces the following:
* <code><nowiki>{{Armed forces|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Armed forces|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Armed forces|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Armed forces|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
}}}}<!--
}}}}{{#if:{{{flag alias-navy|}}}|{{Break}}This template includes a navy flag variant that can be used with [[Template:Naval]]:
-->{{#if: {{{flag alias-navy|}}} |{{break}}
* <code><nowiki>{{Naval|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Naval|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
This template includes a navy flag variant that can be used with [[Template:Naval]]:
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|navy}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|navy}}
* <code><nowiki>{{naval|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{naval|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
|{{#if:{{{link alias-navy|}}}|{{Break}}This nation's navy flag is the same as its national flag, so [[Template:Naval]] produces the following:
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|navy}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|navy}}
* <code><nowiki>{{Naval|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Naval|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
| {{#if: {{{link alias-navy|}}} |{{break}}
}}}}{{#if:{{{flag alias-coast guard|}}}|{{Break}}This template includes a coast guard ensign flag variant that can be used with [[Template:Coast guard]]:
This nation's navy flag is the same as its national flag, so [[Template:Naval]] produces the following:
* <code><nowiki>{{Coast guard|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Coast guard|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{naval|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{naval|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|coast guard}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|coast guard}}
}}}}<!--
|{{#if:{{{link alias-coast guard|}}}|{{Break}}This nation's coast guard ensign is the same as its national flag, so [[Template:Coast guard]] produces the following:
-->{{#if: {{{flag alias-coast guard|}}} |{{break}}
* <code><nowiki>{{Coast guard|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Coast guard|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
This template includes a coast guard ensign flag variant that can be used with [[Template:Coast guard]]:
}}}}{{#if:{{{flag alias-army|}}}|{{Break}}This template includes an army ensign flag variant that can be used with [[Template:Army]]:
* <code><nowiki>{{coast guard|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{coast guard|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{Army|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Army|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|coast guard}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|coast guard}}
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|army}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|army}}
| {{#if: {{{link alias-coast guard|}}} |{{break}}
|{{#if:{{{link alias-army|}}}|{{Break}}This nation's army ensign is the same as its national flag, so [[Template:Army]] produces the following:
This nation's coast guard ensign is the same as its national flag, so [[Template:Coast guard]] produces the following:
* <code><nowiki>{{Army|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Army|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
* <code><nowiki>{{coast guard|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{coast guard|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
}}}}}}
}}}}<!--
 
-->{{#if: {{{flag alias-army|}}} |{{break}}
{{#if:{{{redir1|}}}|
This template includes an army ensign flag variant that can be used with [[Template:Army]]:
=== Redirect aliases ===
* <code><nowiki>{{army|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{army|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
This template can also be used via an ''alias'' name (implemented as a redirect to this template):
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|army}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|army}}
<table class="wikitable">
| {{#if: {{{link alias-army|}}} |{{break}}
  <tr><th scope="col">Alias name</th><th scope="col">{{Tlx|Flag|{{Var|alias}}}} output</th><th scope="col">{{Tlx|Flagcountry|{{Var|alias}}}} output</th></tr>
This nation's army ensign is the same as its national flag, so [[Template:Army]] produces the following:
{{#if:{{{redir1|}}}|<tr><td><code>{{{redir1}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir1}}}|redirect=no}} view]</span>)</td><td>{{Flag|{{{redir1}}}}}</td><td>{{Flagcountry|{{{redir1}}}}}</td></tr>}}<!--
* <code><nowiki>{{army|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{army|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
-->{{#if:{{{redir2|}}}|<tr><td><code>{{{redir2}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir2}}}|redirect=no}} view]</span>)</td><td>{{Flag|{{{redir2}}}}}</td><td>{{Flagcountry|{{{redir2}}}}}</td></tr>}}<!--
}}}} }}
-->{{#if:{{{redir3|}}}|<tr><td><code>{{{redir3}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir3}}}|redirect=no}} view]</span>)</td><td>{{Flag|{{{redir3}}}}}</td><td>{{Flagcountry|{{{redir3}}}}}</td></tr>}}<!--
{{#if: {{{redir1|}}} |
-->{{#if:{{{redir4|}}}|<tr><td><code>{{{redir4}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir4}}}|redirect=no}} view]</span>)</td><td>{{Flag|{{{redir4}}}}}</td><td>{{Flagcountry|{{{redir4}}}}}</td></tr>}}<!--
===Redirect aliases===
-->{{#if:{{{redir5|}}}|<tr><td><code>{{{redir5}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir5}}}|redirect=no}} view]</span>)</td><td>{{Flag|{{{redir5}}}}}</td><td>{{Flagcountry|{{{redir5}}}}}</td></tr>}}
This template can also be used via an ''alias'' name (implemented as a redirect to this template):<!--
</table>
--><table class="wikitable"><!--
--><tr><th>Alias name</th><th>{{tlx|flag|''alias''}} output</th><th>{{tlx|flagcountry|''alias''}} output</th></tr>
{{#if: {{{redir1|}}} | <tr><td><code>{{{redir1}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir1}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir1}}}}}</td><td>{{flagcountry|{{{redir1}}}}}</td></tr> }}<!--
-->{{#if: {{{redir2|}}} | <tr><td><code>{{{redir2}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir2}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir2}}}}}</td><td>{{flagcountry|{{{redir2}}}}}</td></tr> }}<!--
-->{{#if: {{{redir3|}}} | <tr><td><code>{{{redir3}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir3}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir3}}}}}</td><td>{{flagcountry|{{{redir3}}}}}</td></tr> }}<!--
-->{{#if: {{{redir4|}}} | <tr><td><code>{{{redir4}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir4}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir4}}}}}</td><td>{{flagcountry|{{{redir4}}}}}</td></tr> }}<!--
-->{{#if: {{{redir5|}}} | <tr><td><code>{{{redir5}}}</code> (<span class="plainlinks">[{{fullurl:Template:Country data {{{redir5}}}|redirect=no}} view]</span>)</td><td>{{flag|{{{redir5}}}}}</td><td>{{flagcountry|{{{redir5}}}}}</td></tr> }}<!--
--></table>
See [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAMEE}}|hidelinks=1&hidetrans=1}} What links here] for a full list of redirects.
See [{{fullurl:Special:WhatLinksHere/{{FULLPAGENAMEE}}|hidelinks=1&hidetrans=1}} What links here] for a full list of redirects.
}}
}}
===Example usage===
 
* <code><nowiki>{{flag|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{flag|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
=== Example usage ===
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}<!--
* <code><nowiki>{{Flag|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Flag|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}
-->{{#if: {{{shortname alias|}}} |
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}<!--
* <code><nowiki>{{flagcountry|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{flagcountry|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}} }}
-->{{#if:{{{shortname alias|}}}|
{{#if: {{{var1|}}} |
* <code><nowiki>{{Flagcountry|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>}}</nowiki></code> → {{Flagcountry|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}}}
====Using a flag variant====
 
* <code><nowiki>{{flag|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{flag|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|{{{var1}}}}}
{{#if:{{{var1|}}}|
* <code><nowiki>{{flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|{{{var1}}}}}
==== Using a flag variant ====
* <code><nowiki>{{Flag|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{Flag|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|{{{var1}}}}}
* <code><nowiki>{{Flagicon|</nowiki>{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{Flagicon|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}|{{{var1}}}}}
}}
}}
{{#if: {{{redir1|}}} |
 
====Using a redirect alias====
{{#if:{{{redir1|}}}|
* <code><nowiki>{{flagicon|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{redir1}}}}}
==== Using a redirect alias ====
* <code><nowiki>{{flagcountry|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flagcountry|{{{redir1}}}}}
* <code><nowiki>{{Flagicon|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{Flagicon|{{{redir1}}}}}
* <code><nowiki>{{flag|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flag|{{{redir1}}}}}
* <code><nowiki>{{Flagcountry|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{Flagcountry|{{{redir1}}}}}
* <code><nowiki>{{Flag|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{Flag|{{{redir1}}}}}
}}
}}
{{#if: {{{related1|}}} |
 
===Related templates===
{{#if:{{{related1|}}}|
=== Related templates ===
Please see the following related <code>country_data</code> templates:
Please see the following related <code>country_data</code> templates:
* [[Template:Country data {{{related1}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related1}}}<!-- {{#if:{{{related1param|}}}|{{!}}{{{related1param}}}}} -->}}</span><!--
* [[Template:Country data {{{related1}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related1}}}<!-- {{#if:{{{related1param|}}}|{{!}}{{{related1param}}}}} -->}}</span><!--
-->{{#if: {{{related2|}}} |
-->{{#if:{{{related2|}}}|
* [[Template:Country data {{{related2}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related2}}}<!-- {{#if:{{{related2param|}}}|{{!}}{{{related2param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related2}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related2}}}<!-- {{#if:{{{related2param|}}}|{{!}}{{{related2param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related3|}}} |
-->{{#if:{{{related3|}}}|
* [[Template:Country data {{{related3}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related3}}}<!-- {{#if:{{{related3param|}}}|{{!}}{{{related3param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related3}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related3}}}<!-- {{#if:{{{related3param|}}}|{{!}}{{{related3param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related4|}}} |
-->{{#if:{{{related4|}}}|
* [[Template:Country data {{{related4}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related4}}}<!-- {{#if:{{{related4param|}}}|{{!}}{{{related4param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related4}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related4}}}<!-- {{#if:{{{related4param|}}}|{{!}}{{{related4param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related5|}}} |
-->{{#if:{{{related5|}}}|
* [[Template:Country data {{{related5}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related5}}}<!-- {{#if:{{{related5param|}}}|{{!}}{{{related5param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related5}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related5}}}<!-- {{#if:{{{related5param|}}}|{{!}}{{{related5param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related6|}}} |
-->{{#if:{{{related6|}}}|
* [[Template:Country data {{{related6}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related6}}}<!-- {{#if:{{{related6param|}}}|{{!}}{{{related6param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related6}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related6}}}<!-- {{#if:{{{related6param|}}}|{{!}}{{{related6param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related7|}}} |
-->{{#if:{{{related7|}}}|
* [[Template:Country data {{{related7}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related7}}}<!-- {{#if:{{{related7param|}}}|{{!}}{{{related7param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related7}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related7}}}<!-- {{#if:{{{related7param|}}}|{{!}}{{{related7param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related8|}}} |
-->{{#if:{{{related8|}}}|
* [[Template:Country data {{{related8}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related8}}}<!-- {{#if:{{{related8param|}}}|{{!}}{{{related8param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related8}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related8}}}<!-- {{#if:{{{related8param|}}}|{{!}}{{{related8param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related9|}}} |
-->{{#if:{{{related9|}}}|
* [[Template:Country data {{{related9}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related9}}}<!-- {{#if:{{{related9param|}}}|{{!}}{{{related9param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related9}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related9}}}<!-- {{#if:{{{related9param|}}}|{{!}}{{{related9param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related10|}}} |
-->{{#if:{{{related10|}}}|
* [[Template:Country data {{{related10}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related10}}}<!-- {{#if:{{{related10param|}}}|{{!}}{{{related10param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related10}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related10}}}<!-- {{#if:{{{related10param|}}}|{{!}}{{{related10param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related11|}}} |
-->{{#if:{{{related11|}}}|
* [[Template:Country data {{{related11}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related11}}}<!-- {{#if:{{{related11param|}}}|{{!}}{{{related11param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related11}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related11}}}<!-- {{#if:{{{related11param|}}}|{{!}}{{{related11param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related12|}}} |
-->{{#if:{{{related12|}}}|
* [[Template:Country data {{{related12}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related12}}}<!-- {{#if:{{{related12param|}}}|{{!}}{{{related12param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related12}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related12}}}<!-- {{#if:{{{related12param|}}}|{{!}}{{{related12param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related13|}}} |
-->{{#if:{{{related13|}}}|
* [[Template:Country data {{{related13}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related13}}}<!-- {{#if:{{{related13param|}}}|{{!}}{{{related13param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related13}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related13}}}<!-- {{#if:{{{related13param|}}}|{{!}}{{{related13param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related14|}}} |
-->{{#if:{{{related14|}}}|
* [[Template:Country data {{{related14}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related14}}}<!-- {{#if:{{{related14param|}}}|{{!}}{{{related14param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related14}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related14}}}<!-- {{#if:{{{related14param|}}}|{{!}}{{{related14param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related15|}}} |
-->{{#if:{{{related15|}}}|
* [[Template:Country data {{{related15}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related15}}}<!-- {{#if:{{{related15param|}}}|{{!}}{{{related15param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related15}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related15}}}<!-- {{#if:{{{related15param|}}}|{{!}}{{{related15param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related16|}}} |
-->{{#if:{{{related16|}}}|
* [[Template:Country data {{{related16}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related16}}}<!-- {{#if:{{{related16param|}}}|{{!}}{{{related16param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related16}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related16}}}<!-- {{#if:{{{related16param|}}}|{{!}}{{{related16param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related17|}}} |
-->{{#if:{{{related17|}}}|
* [[Template:Country data {{{related17}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related17}}}<!-- {{#if:{{{related17param|}}}|{{!}}{{{related17param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related17}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related17}}}<!-- {{#if:{{{related17param|}}}|{{!}}{{{related17param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related18|}}} |
-->{{#if:{{{related18|}}}|
* [[Template:Country data {{{related18}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related18}}}<!-- {{#if:{{{related18param|}}}|{{!}}{{{related18param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related18}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related18}}}<!-- {{#if:{{{related18param|}}}|{{!}}{{{related18param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related19|}}} |
-->{{#if:{{{related19|}}}|
* [[Template:Country data {{{related19}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related19}}}<!-- {{#if:{{{related19param|}}}|{{!}}{{{related19param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related19}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related19}}}<!-- {{#if:{{{related19param|}}}|{{!}}{{{related19param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related20|}}} |
-->{{#if:{{{related20|}}}|
* [[Template:Country data {{{related20}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related20}}}<!-- {{#if:{{{related20param|}}}|{{!}}{{{related20param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related20}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related20}}}<!-- {{#if:{{{related20param|}}}|{{!}}{{{related20param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related21|}}} |
-->{{#if:{{{related21|}}}|
* [[Template:Country data {{{related21}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related21}}}<!-- {{#if:{{{related21param|}}}|{{!}}{{{related21param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related21}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related21}}}<!-- {{#if:{{{related21param|}}}|{{!}}{{{related21param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related22|}}} |
-->{{#if:{{{related22|}}}|
* [[Template:Country data {{{related22}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related22}}}<!-- {{#if:{{{related22param|}}}|{{!}}{{{related22param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related22}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related22}}}<!-- {{#if:{{{related22param|}}}|{{!}}{{{related22param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related23|}}} |
-->{{#if:{{{related23|}}}|
* [[Template:Country data {{{related23}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related23}}}<!-- {{#if:{{{related23param|}}}|{{!}}{{{related23param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related23}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related23}}}<!-- {{#if:{{{related23param|}}}|{{!}}{{{related23param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related24|}}} |
-->{{#if:{{{related24|}}}|
* [[Template:Country data {{{related24}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related24}}}<!-- {{#if:{{{related24param|}}}|{{!}}{{{related24param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related24}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related24}}}<!-- {{#if:{{{related24param|}}}|{{!}}{{{related24param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related25|}}} |
-->{{#if:{{{related25|}}}|
* [[Template:Country data {{{related25}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related25}}}<!-- {{#if:{{{related25param|}}}|{{!}}{{{related25param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related25}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related25}}}<!-- {{#if:{{{related25param|}}}|{{!}}{{{related25param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related26|}}} |
-->{{#if:{{{related26|}}}|
* [[Template:Country data {{{related26}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related26}}}<!-- {{#if:{{{related26param|}}}|{{!}}{{{related26param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related26}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related26}}}<!-- {{#if:{{{related26param|}}}|{{!}}{{{related26param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related27|}}} |
-->{{#if:{{{related27|}}}|
* [[Template:Country data {{{related27}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related27}}}<!-- {{#if:{{{related27param|}}}|{{!}}{{{related27param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related27}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related27}}}<!-- {{#if:{{{related27param|}}}|{{!}}{{{related27param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related28|}}} |
-->{{#if:{{{related28|}}}|
* [[Template:Country data {{{related28}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related28}}}<!-- {{#if:{{{related28param|}}}|{{!}}{{{related28param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related28}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related28}}}<!-- {{#if:{{{related28param|}}}|{{!}}{{{related28param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related29|}}} |
-->{{#if:{{{related29|}}}|
* [[Template:Country data {{{related29}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related29}}}<!-- {{#if:{{{related29param|}}}|{{!}}{{{related29param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related29}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related29}}}<!-- {{#if:{{{related29param|}}}|{{!}}{{{related29param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related30|}}} |
-->{{#if:{{{related30|}}}|
* [[Template:Country data {{{related30}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related30}}}<!-- {{#if:{{{related30param|}}}|{{!}}{{{related30param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related30}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related30}}}<!-- {{#if:{{{related30param|}}}|{{!}}{{{related30param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related31|}}} |
-->{{#if:{{{related31|}}}|
* [[Template:Country data {{{related31}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related31}}}<!-- {{#if:{{{related31param|}}}|{{!}}{{{related31param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related31}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related31}}}<!-- {{#if:{{{related31param|}}}|{{!}}{{{related31param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related32|}}} |
-->{{#if:{{{related32|}}}|
* [[Template:Country data {{{related32}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related32}}}<!-- {{#if:{{{related32param|}}}|{{!}}{{{related32param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related32}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related32}}}<!-- {{#if:{{{related32param|}}}|{{!}}{{{related32param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related33|}}} |
-->{{#if:{{{related33|}}}|
* [[Template:Country data {{{related33}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related33}}}<!-- {{#if:{{{related33param|}}}|{{!}}{{{related33param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related33}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related33}}}<!-- {{#if:{{{related33param|}}}|{{!}}{{{related33param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related34|}}} |
-->{{#if:{{{related34|}}}|
* [[Template:Country data {{{related34}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related34}}}<!-- {{#if:{{{related34param|}}}|{{!}}{{{related34param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related34}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related34}}}<!-- {{#if:{{{related34param|}}}|{{!}}{{{related34param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related35|}}} |
-->{{#if:{{{related35|}}}|
* [[Template:Country data {{{related35}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related35}}}<!-- {{#if:{{{related35param|}}}|{{!}}{{{related35param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related35}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related35}}}<!-- {{#if:{{{related35param|}}}|{{!}}{{{related35param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related36|}}} |
-->{{#if:{{{related36|}}}|
* [[Template:Country data {{{related36}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related36}}}<!-- {{#if:{{{related36param|}}}|{{!}}{{{related36param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related36}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related36}}}<!-- {{#if:{{{related36param|}}}|{{!}}{{{related36param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related37|}}} |
-->{{#if:{{{related37|}}}|
* [[Template:Country data {{{related37}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related37}}}<!-- {{#if:{{{related37param|}}}|{{!}}{{{related37param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related37}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related37}}}<!-- {{#if:{{{related37param|}}}|{{!}}{{{related37param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related38|}}} |
-->{{#if:{{{related38|}}}|
* [[Template:Country data {{{related38}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related38}}}<!-- {{#if:{{{related38param|}}}|{{!}}{{{related38param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related38}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related38}}}<!-- {{#if:{{{related38param|}}}|{{!}}{{{related38param}}}}} -->}}</span>}}<!--
-->{{#if: {{{related39|}}} |
-->{{#if:{{{related39|}}}|
* [[Template:Country data {{{related39}}}]]<span style="position:absolute; left:33em;">{{flag|{{{related39}}}<!-- {{#if:{{{related39param|}}}|{{!}}{{{related39param}}}}} -->}}</span> }}<!--
* [[Template:Country data {{{related39}}}]]<span style="left: 33em; position: absolute;">{{Flag|{{{related39}}}<!-- {{#if:{{{related39param|}}}|{{!}}{{{related39param}}}}} -->}}</span>}}<!--
-->}}
-->}}
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifexist:{{FULLPAGENAME}}/doc |
 
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifexist:{{FULLPAGENAME}}/doc|
{{#if:{{Suppress categories|{{{{FULLPAGENAME}}/doc}}}}|
{{#if:{{Suppress categories|{{{{FULLPAGENAME}}/doc}}}}|
===Other information===
=== Other information ===
}}
}}
{{{{FULLPAGENAME}}/doc|alias={{{alias|}}}|cat={{{cat|}}}}}
{{{{FULLPAGENAME}}/doc|alias={{{alias|}}}|cat={{{cat|}}}}}
}}}}
}}}}


===TemplateData===
=== TemplateData ===
{{TemplateData header}}
{{TemplateData header}}
<templatedata>
<templatedata>{
{
   "description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
   "description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
  "format": "inline",
   "params": {}
   "params": {}
}
}</templatedata>
</templatedata>


{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!--
Line 288: Line 270:
   -->{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||<!--
   -->{{#ifeq:{{PAGENAME}}|Country data {{{alias}}}||<!--
     -->{{#ifeq:{{PAGENAME}}|Country data {{{shortname alias}}}||<!--
     -->{{#ifeq:{{PAGENAME}}|Country data {{{shortname alias}}}||<!--
       -->[[Category:Country data templates with distinct template name|{{{cat|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}}]]<!--
       -->[[Category:Country data templates with distinct template name|{{{cat|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}}}}]]   }}}}<!--
      -->}}<!--
     -->{{#if:{{{flag alias|}}}||[[Category:Country data templates without flag alias|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}]]}}}}}}
    -->}}<!--
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br />Editors can experiment in this template's {{#ifeq:{{SUBPAGENAME}}|sandbox|'''sandbox''' ([{{fullurl:{{FULLPAGENAME}}|action=edit}} edit] {{!}} [{{fullurl:Special:ComparePages|page1=Template:{{urlencode:{{BASEPAGENAME}}}}&page2={{urlencode:{{FULLPAGENAME}}}}}} diff])|{{#ifexist:{{FULLPAGENAME}}/sandbox|[[{{FULLPAGENAME}}/sandbox|sandbox]] ([{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit}} edit] {{!}} [{{fullurl:Special:ComparePages|page1={{urlencode:{{FULLPAGENAME}}}}&page2={{urlencode:{{FULLPAGENAME}}}}/sandbox}} diff])|sandbox ([{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit&preload=Template:Country_showdata/preload-sandbox}} create] {{!}} [{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit&preload=Template:Country_showdata/mirror&summary=Create+sandbox+version+of+{{urlencode:[[{{FULLPAGENAME}}]]}}}} mirror])}}}} and {{#ifexist:{{#ifeq:{{SUBPAGENAME}}|sandbox|Template:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}/testcases|[[{{#ifeq:{{SUBPAGENAME}}|sandbox|Template:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}/testcases|testcases]] ([{{fullurl:{{#ifeq:{{SUBPAGENAME}}|sandbox|Template:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}/testcases|action=edit}} edit])|testcases ([{{fullurl:{{#ifeq:{{SUBPAGENAME}}|sandbox|Template:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}/testcases|action=edit&preload=Template%3ADocumentation%2Fpreload-testcases}} create])}} pages.<br />Please {{Purge|purge the cache}} after making any changes to this template.<!--
     -->{{#if:{{{flag alias|}}}||<!--
      -->[[Category:Country data templates without flag alias|{{#invoke:String|replace|{{PAGENAME}}|^%w+ data |||false}}]]<!--
      -->}}<!--
  -->}}<!--
-->}}
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br />Editors can experiment in this template's {{#ifeq:{{SUBPAGENAME}}|sandbox|'''sandbox''' ([{{fullurl:{{FULLPAGENAME}}|action=edit}} edit] {{!}} [{{fullurl:Special:ComparePages|page1=Template:{{urlencode:{{BASEPAGENAME}}}}&page2={{urlencode:{{FULLPAGENAME}}}}}} diff])|{{#ifexist:{{FULLPAGENAME}}/sandbox|[[{{FULLPAGENAME}}/sandbox|sandbox]] ([{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit}} edit] {{!}} [{{fullurl:Special:ComparePages|page1={{urlencode:{{FULLPAGENAME}}}}&page2={{urlencode:{{FULLPAGENAME}}}}/sandbox}} diff])|sandbox ([{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit&preload=Template:Country_showdata/preload-sandbox}} create] {{!}} [{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit&preload=Template:Country_showdata/mirror&summary=Create+sandbox+version+of+{{urlencode:[[{{FULLPAGENAME}}]]}}}} mirror])}}}} and {{#ifexist:{{#ifeq:{{SUBPAGENAME}}|sandbox|Template:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}/testcases|[[{{#ifeq:{{SUBPAGENAME}}|sandbox|Template:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}/testcases|testcases]] ([{{fullurl:{{#ifeq:{{SUBPAGENAME}}|sandbox|Template:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}/testcases|action=edit}} edit])|testcases ([{{fullurl:{{#ifeq:{{SUBPAGENAME}}|sandbox|Template:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}/testcases|action=edit&preload=Template%3ADocumentation%2Fpreload-testcases}} create])}} pages.<br />Please {{purge|purge the cache}} after making any changes to this template.<!--
-->{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifexist:{{FULLPAGENAME}}/doc|<!--
-->{{#ifeq:{{SUBPAGENAME}}|sandbox||{{#ifexist:{{FULLPAGENAME}}/doc|<!--
   --><br />This template has a [[{{FULLPAGENAME}}/doc|/doc]] subpage for the purposes of [[WP:CAT|categories]] and documentation specific to this template.|<!--
   --><br />This template has a [[{{FULLPAGENAME}}/doc|/doc]] subpage for the purposes of categories and documentation specific to this template.|<!--
   -->{{#switch:{{PROTECTIONLEVEL:edit}}|sysop|templateeditor=<!--
   -->{{#switch:{{PROTECTIONLEVEL:edit}}|sysop|templateeditor=<!--
     --><br />This template is [[WP:PROTECT|{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|fully protected|template-protected}}]] and any [[WP:CAT|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Country_showdata/preload}} /doc] subpage, which is not protected.|#default=<!--
     --><br />This template is [[Special:ProtectedPages|{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|fully protected|template-protected}}]] and any categories should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Country_showdata/preload}} /doc] subpage, which is not protected.|#default=<br />Any categories should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Country_showdata/preload}} /doc] subpage, which does not exist yet.}}}}}}}}</includeonly><noinclude>
    --><br />Any [[WP:CAT|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Country_showdata/preload}} /doc] subpage, which does not exist yet.<!--
{{Documentation}}</noinclude>
  -->}}<!--
-->}}}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 21:37, 22 November 2024