If you find this page useful and would like to be notified of changes made to this page, start by inputting your email below.
powered by ChangeDetection
m (1 revision) |
m (1 revision) |
||
(One intermediate revision by one other user not shown) | |||
Line 30: | Line 30: | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr><th>Label</th><th>Flag image (40px)</th><th>Image name</th></tr> | <tr><th>Label</th><th>Flag image (40px)</th><th>Image name</th></tr> | ||
− | {{#if: {{{var1|}}} | <tr><td><tt>{{{var1}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var1}}}}}}|40px|border]]</td><td><tt>{{{flag alias-{{{var1}}}}}}</tt></td></tr> }}<!-- | + | {{#if: {{{var1|}}} | <tr><td><tt>{{{var1}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var1}}}}}}|40px|{{{border-{{{var1}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var1}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var2|}}} | <tr><td><tt>{{{var2}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var2}}}}}}|40px|border | + | -->{{#if: {{{var2|}}} | <tr><td><tt>{{{var2}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var2}}}}}}|40px|{{{border-{{{var2}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var2}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var3|}}} | <tr><td><tt>{{{var3}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var3}}}}}}|40px|border | + | -->{{#if: {{{var3|}}} | <tr><td><tt>{{{var3}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var3}}}}}}|40px|{{{border-{{{var3}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var3}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var4|}}} | <tr><td><tt>{{{var4}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var4}}}}}}|40px|border | + | -->{{#if: {{{var4|}}} | <tr><td><tt>{{{var4}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var4}}}}}}|40px|{{{border-{{{var4}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var4}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var5|}}} | <tr><td><tt>{{{var5}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var5}}}}}}|40px|border | + | -->{{#if: {{{var5|}}} | <tr><td><tt>{{{var5}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var5}}}}}}|40px|{{{border-{{{var5}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var5}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var6|}}} | <tr><td><tt>{{{var6}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var6}}}}}}|40px|border | + | -->{{#if: {{{var6|}}} | <tr><td><tt>{{{var6}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var6}}}}}}|40px|{{{border-{{{var6}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var6}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var7|}}} | <tr><td><tt>{{{var7}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var7}}}}}}|40px|border | + | -->{{#if: {{{var7|}}} | <tr><td><tt>{{{var7}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var7}}}}}}|40px|{{{border-{{{var7}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var7}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var8|}}} | <tr><td><tt>{{{var8}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var8}}}}}}|40px|border | + | -->{{#if: {{{var8|}}} | <tr><td><tt>{{{var8}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var8}}}}}}|40px|{{{border-{{{var8}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var8}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var9|}}} | <tr><td><tt>{{{var9}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var9}}}}}}|40px|border | + | -->{{#if: {{{var9|}}} | <tr><td><tt>{{{var9}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var9}}}}}}|40px|{{{border-{{{var9}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var9}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var10|}}} | <tr><td><tt>{{{var10}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var10}}}}}}|40px|border | + | -->{{#if: {{{var10|}}} | <tr><td><tt>{{{var10}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var10}}}}}}|40px|{{{border-{{{var10}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var10}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var11|}}} | <tr><td><tt>{{{var11}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var11}}}}}}|40px|border | + | -->{{#if: {{{var11|}}} | <tr><td><tt>{{{var11}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var11}}}}}}|40px|{{{border-{{{var11}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var11}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var12|}}} | <tr><td><tt>{{{var12}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var12}}}}}}|40px|border | + | -->{{#if: {{{var12|}}} | <tr><td><tt>{{{var12}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var12}}}}}}|40px|{{{border-{{{var12}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var12}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var13|}}} | <tr><td><tt>{{{var13}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var13}}}}}}|40px|border | + | -->{{#if: {{{var13|}}} | <tr><td><tt>{{{var13}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var13}}}}}}|40px|{{{border-{{{var13}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var13}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var14|}}} | <tr><td><tt>{{{var14}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var14}}}}}}|40px|border | + | -->{{#if: {{{var14|}}} | <tr><td><tt>{{{var14}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var14}}}}}}|40px|{{{border-{{{var14}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var14}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{var15|}}} | <tr><td><tt>{{{var15}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var15}}}}}}|40px|border | + | -->{{#if: {{{var15|}}} | <tr><td><tt>{{{var15}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var15}}}}}}|40px|{{{border-{{{var15}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var15}}}}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{flag alias-naval|}}} | <tr><td><tt>naval</tt></td><td align=center>[[File:{{{flag alias-naval}}}|40px|border | + | -->{{#if: {{{flag alias-naval|}}} | <tr><td><tt>naval</tt></td><td align=center>[[File:{{{flag alias-naval}}}|40px|{{{border-naval|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-naval}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{flag alias-air force|}}} | <tr><td><tt>air force</tt></td><td align=center>[[File:{{{flag alias-air force}}}|40px|border]]</td><td><tt>{{{flag alias-air force}}}</tt></td></tr> }}<!-- | + | -->{{#if: {{{flag alias-air force|}}} | <tr><td><tt>air force</tt></td><td align=center>[[File:{{{flag alias-air force}}}|40px|{{{border-air force|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-air force}}}</tt></td></tr> }}<!-- |
− | -->{{#if: {{{flag alias-army|}}} | <tr><td><tt>army</tt></td><td align=center>[[File:{{{flag alias-army}}}|40px|border]]</td><td><tt>{{{flag alias-army}}}</tt></td></tr> }}<!-- | + | -->{{#if: {{{flag alias-army|}}} | <tr><td><tt>army</tt></td><td align=center>[[File:{{{flag alias-army}}}|40px|{{{border-army|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-army}}}</tt></td></tr> }}<!-- |
--></table> | --></table> | ||
}} | }} | ||
Line 54: | Line 54: | ||
{{#if: {{{flag alias-naval|}}} | | {{#if: {{{flag alias-naval|}}} | | ||
This template includes a naval ensign flag variant that can be used with [[Template:Navy]]: | This template includes a naval ensign flag variant that can be used with [[Template:Navy]]: | ||
− | * <tt><nowiki>{{navy|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{navy|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} |
− | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|naval}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|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: | ||
− | * <tt><nowiki>{{navy|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{navy|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} |
}}}} | }}}} | ||
{{#if: {{{flag alias-air force|}}} | | {{#if: {{{flag alias-air force|}}} | | ||
This template includes an air force ensign flag variant that can be used with [[Template:Air force]]: | This template includes an air force ensign flag variant that can be used with [[Template:Air force]]: | ||
− | * <tt><nowiki>{{air force|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{air force|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{air force|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} |
− | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|air force}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|air force}} |
}} | }} | ||
{{#if: {{{flag alias-army|}}} | | {{#if: {{{flag alias-army|}}} | | ||
This template includes an army ensign flag variant that can be used with [[Template:Army]]: | This template includes an army ensign flag variant that can be used with [[Template:Army]]: | ||
− | * <tt><nowiki>{{army|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{army|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{army|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} |
− | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|army}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|army}} |
}} }} | }} }} | ||
{{#if: {{{redir1|}}} | | {{#if: {{{redir1|}}} | | ||
Line 83: | Line 83: | ||
}} | }} | ||
===Example usage=== | ===Example usage=== | ||
− | * <tt><nowiki>{{flag|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} |
− | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}<!-- |
-->{{#if: {{{shortname alias|}}} | | -->{{#if: {{{shortname alias|}}} | | ||
− | * <tt><nowiki>{{flagcountry|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{flagcountry|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{flagcountry|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} }} |
{{#if: {{{var1|}}} | | {{#if: {{{var1|}}} | | ||
====Using a flag variant==== | ====Using a flag variant==== | ||
− | * <tt><nowiki>{{flag|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}} |
− | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{ | + | * <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}} |
}} | }} | ||
{{#if: {{{redir1|}}} | | {{#if: {{{redir1|}}} | | ||
Line 118: | Line 118: | ||
}} | }} | ||
{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!-- | {{#ifeq:{{NAMESPACE}}|{{ns:Template}}|<!-- | ||
− | -->[[Category:All country data templates|{{{cat|{{{templatename|{{{ | + | -->[[Category:All country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- |
-->{{#if:{{{shortname alias|}}}|<!-- | -->{{#if:{{{shortname alias|}}}|<!-- | ||
− | -->[[Category:Country data templates with distinct shortname|{{{cat|{{{templatename|{{{ | + | -->[[Category:Country data templates with distinct shortname|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- |
-->}}<!-- | -->}}<!-- | ||
-->{{#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|{{{templatename|{{{ | + | -->[[Category:Country data templates with distinct template name|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifexist:{{FULLPAGENAME}}/doc|<!-- | -->{{#ifexist:{{FULLPAGENAME}}/doc|<!-- | ||
− | -->[[Category:Country data templates with documentation subpage|{{{cat|{{{templatename|{{{ | + | -->[[Category:Country data templates with documentation subpage|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]|<!-- |
− | -->[[Category:Country data templates|{{{cat|{{{templatename|{{{ | + | -->[[Category:Country data templates|{{{cat|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}}]]<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}} | -->}} |