Template:Country showdata: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SiBr4
Don't categorize sandboxes in the main category Category:Country data templates
meta>SiBr4
Replacing unsupported <tt> tags with <code>
Line 1: Line 1:
<includeonly>__NOEDITSECTION__
<includeonly>__NOEDITSECTION__
{{documentation|content=<tt>Template:{{PAGENAME}}</tt> is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as <tt>[[Template:flag|flag]]</tt>, <tt>[[Template:flagicon|flagicon]]</tt>, and others.
{{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.


{{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.}}
{{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.}}
Line 9: Line 9:
<tr><th>Parameter name</th><th>Value</th><th>Meaning</th>
<tr><th>Parameter name</th><th>Value</th><th>Meaning</th>
</tr><tr>
</tr><tr>
<td><tt>alias</tt></td>
<td><code>alias</code></td>
<td>{{#if: {{{alias|}}} | <tt>{{{alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }}
<td>{{#if: {{{alias|}}} | <code>{{{alias}}}</code> | <span style="color:red">'''undefined!'''</span> }}
<td>Main article name ([[{{{alias}}}]])</td>
<td>Main article name ([[{{{alias}}}]])</td>
</tr>
</tr>
{{#if: {{{shortname alias|}}} |
{{#if: {{{shortname alias|}}} |
<tr>
<tr>
<td><tt>shortname alias</tt></td>
<td><code>shortname alias</code></td>
<td><tt>{{{shortname alias}}}</tt></td>
<td><code>{{{shortname alias}}}</code></td>
<td>''(optional)'' Display name to be used for the wikilink, if <tt>alias</tt> 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>
<tr>
<td><tt>flag alias</tt></td>
<td><code>flag alias</code></td>
<td>{{#if: {{{flag alias|}}} | <tt>{{{flag alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }}</td>
<td>{{#if: {{{flag alias|}}} | <code>{{{flag alias}}}</code> | <span style="color:red">'''undefined!'''</span> }}</td>
<td>Image name ([[:File:{{{flag alias}}}]], shown above right)</td>
<td>Image name ([[:File:{{{flag alias}}}]], shown above right)</td>
</tr></table>
</tr></table>
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-{{{var1}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var1}}}}}}</tt></td></tr> }}<!--
{{#if: {{{var1|}}} | <tr><td><code>{{{var1}}}</code></td><td align=center>[[File:{{{flag alias-{{{var1}}}}}}|40px|{{{border-{{{var1}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var1}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var2|}}} | <tr><td><code>{{{var2}}}</code></td><td align=center>[[File:{{{flag alias-{{{var2}}}}}}|40px|{{{border-{{{var2}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var2}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var3|}}} | <tr><td><code>{{{var3}}}</code></td><td align=center>[[File:{{{flag alias-{{{var3}}}}}}|40px|{{{border-{{{var3}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var3}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var4|}}} | <tr><td><code>{{{var4}}}</code></td><td align=center>[[File:{{{flag alias-{{{var4}}}}}}|40px|{{{border-{{{var4}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var4}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var5|}}} | <tr><td><code>{{{var5}}}</code></td><td align=center>[[File:{{{flag alias-{{{var5}}}}}}|40px|{{{border-{{{var5}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var5}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var6|}}} | <tr><td><code>{{{var6}}}</code></td><td align=center>[[File:{{{flag alias-{{{var6}}}}}}|40px|{{{border-{{{var6}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var6}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var7|}}} | <tr><td><code>{{{var7}}}</code></td><td align=center>[[File:{{{flag alias-{{{var7}}}}}}|40px|{{{border-{{{var7}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var7}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var8|}}} | <tr><td><code>{{{var8}}}</code></td><td align=center>[[File:{{{flag alias-{{{var8}}}}}}|40px|{{{border-{{{var8}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var8}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var9|}}} | <tr><td><code>{{{var9}}}</code></td><td align=center>[[File:{{{flag alias-{{{var9}}}}}}|40px|{{{border-{{{var9}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var9}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var10|}}} | <tr><td><code>{{{var10}}}</code></td><td align=center>[[File:{{{flag alias-{{{var10}}}}}}|40px|{{{border-{{{var10}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var10}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var11|}}} | <tr><td><code>{{{var11}}}</code></td><td align=center>[[File:{{{flag alias-{{{var11}}}}}}|40px|{{{border-{{{var11}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var11}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var12|}}} | <tr><td><code>{{{var12}}}</code></td><td align=center>[[File:{{{flag alias-{{{var12}}}}}}|40px|{{{border-{{{var12}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var12}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var13|}}} | <tr><td><code>{{{var13}}}</code></td><td align=center>[[File:{{{flag alias-{{{var13}}}}}}|40px|{{{border-{{{var13}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var13}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var14|}}} | <tr><td><code>{{{var14}}}</code></td><td align=center>[[File:{{{flag alias-{{{var14}}}}}}|40px|{{{border-{{{var14}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var14}}}}}}</code></td></tr> }}<!--
-->{{#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: {{{var15|}}} | <tr><td><code>{{{var15}}}</code></td><td align=center>[[File:{{{flag alias-{{{var15}}}}}}|40px|{{{border-{{{var15}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var15}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var16|}}} | <tr><td><tt>{{{var16}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var16}}}}}}|40px|{{{border-{{{var16}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var16}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var16|}}} | <tr><td><code>{{{var16}}}</code></td><td align=center>[[File:{{{flag alias-{{{var16}}}}}}|40px|{{{border-{{{var16}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var16}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var17|}}} | <tr><td><tt>{{{var17}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var17}}}}}}|40px|{{{border-{{{var17}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var17}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var17|}}} | <tr><td><code>{{{var17}}}</code></td><td align=center>[[File:{{{flag alias-{{{var17}}}}}}|40px|{{{border-{{{var17}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var17}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var18|}}} | <tr><td><tt>{{{var18}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var18}}}}}}|40px|{{{border-{{{var18}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var18}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var18|}}} | <tr><td><code>{{{var18}}}</code></td><td align=center>[[File:{{{flag alias-{{{var18}}}}}}|40px|{{{border-{{{var18}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var18}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var19|}}} | <tr><td><tt>{{{var19}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var19}}}}}}|40px|{{{border-{{{var19}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var19}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var19|}}} | <tr><td><code>{{{var19}}}</code></td><td align=center>[[File:{{{flag alias-{{{var19}}}}}}|40px|{{{border-{{{var19}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var19}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var20|}}} | <tr><td><tt>{{{var20}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var20}}}}}}|40px|{{{border-{{{var20}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var20}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var20|}}} | <tr><td><code>{{{var20}}}</code></td><td align=center>[[File:{{{flag alias-{{{var20}}}}}}|40px|{{{border-{{{var20}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var20}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var21|}}} | <tr><td><tt>{{{var21}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var21}}}}}}|40px|{{{border-{{{var21}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var21}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var21|}}} | <tr><td><code>{{{var21}}}</code></td><td align=center>[[File:{{{flag alias-{{{var21}}}}}}|40px|{{{border-{{{var21}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var21}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var22|}}} | <tr><td><tt>{{{var22}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var22}}}}}}|40px|{{{border-{{{var22}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var22}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var22|}}} | <tr><td><code>{{{var22}}}</code></td><td align=center>[[File:{{{flag alias-{{{var22}}}}}}|40px|{{{border-{{{var22}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var22}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var23|}}} | <tr><td><tt>{{{var23}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var23}}}}}}|40px|{{{border-{{{var23}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var23}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var23|}}} | <tr><td><code>{{{var23}}}</code></td><td align=center>[[File:{{{flag alias-{{{var23}}}}}}|40px|{{{border-{{{var23}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var23}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var24|}}} | <tr><td><tt>{{{var24}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var24}}}}}}|40px|{{{border-{{{var24}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var24}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var24|}}} | <tr><td><code>{{{var24}}}</code></td><td align=center>[[File:{{{flag alias-{{{var24}}}}}}|40px|{{{border-{{{var24}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var24}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var25|}}} | <tr><td><tt>{{{var25}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var25}}}}}}|40px|{{{border-{{{var25}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var25}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var25|}}} | <tr><td><code>{{{var25}}}</code></td><td align=center>[[File:{{{flag alias-{{{var25}}}}}}|40px|{{{border-{{{var25}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var25}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var26|}}} | <tr><td><tt>{{{var26}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var26}}}}}}|40px|{{{border-{{{var26}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var26}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var26|}}} | <tr><td><code>{{{var26}}}</code></td><td align=center>[[File:{{{flag alias-{{{var26}}}}}}|40px|{{{border-{{{var26}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var26}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var27|}}} | <tr><td><tt>{{{var27}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var27}}}}}}|40px|{{{border-{{{var27}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var27}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var27|}}} | <tr><td><code>{{{var27}}}</code></td><td align=center>[[File:{{{flag alias-{{{var27}}}}}}|40px|{{{border-{{{var27}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var27}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var28|}}} | <tr><td><tt>{{{var28}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var28}}}}}}|40px|{{{border-{{{var28}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var28}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var28|}}} | <tr><td><code>{{{var28}}}</code></td><td align=center>[[File:{{{flag alias-{{{var28}}}}}}|40px|{{{border-{{{var28}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var28}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var29|}}} | <tr><td><tt>{{{var29}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var29}}}}}}|40px|{{{border-{{{var29}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var29}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var29|}}} | <tr><td><code>{{{var29}}}</code></td><td align=center>[[File:{{{flag alias-{{{var29}}}}}}|40px|{{{border-{{{var29}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var29}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var30|}}} | <tr><td><tt>{{{var30}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var30}}}}}}|40px|{{{border-{{{var30}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var30}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var30|}}} | <tr><td><code>{{{var30}}}</code></td><td align=center>[[File:{{{flag alias-{{{var30}}}}}}|40px|{{{border-{{{var30}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var30}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var31|}}} | <tr><td><tt>{{{var31}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var31}}}}}}|40px|{{{border-{{{var31}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var31}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var31|}}} | <tr><td><code>{{{var31}}}</code></td><td align=center>[[File:{{{flag alias-{{{var31}}}}}}|40px|{{{border-{{{var31}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var31}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var32|}}} | <tr><td><tt>{{{var32}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var32}}}}}}|40px|{{{border-{{{var32}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var32}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var32|}}} | <tr><td><code>{{{var32}}}</code></td><td align=center>[[File:{{{flag alias-{{{var32}}}}}}|40px|{{{border-{{{var32}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var32}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var33|}}} | <tr><td><tt>{{{var33}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var33}}}}}}|40px|{{{border-{{{var33}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var33}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var33|}}} | <tr><td><code>{{{var33}}}</code></td><td align=center>[[File:{{{flag alias-{{{var33}}}}}}|40px|{{{border-{{{var33}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var33}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var34|}}} | <tr><td><tt>{{{var34}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var34}}}}}}|40px|{{{border-{{{var34}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var34}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var34|}}} | <tr><td><code>{{{var34}}}</code></td><td align=center>[[File:{{{flag alias-{{{var34}}}}}}|40px|{{{border-{{{var34}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var34}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var35|}}} | <tr><td><tt>{{{var35}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var35}}}}}}|40px|{{{border-{{{var35}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var35}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var35|}}} | <tr><td><code>{{{var35}}}</code></td><td align=center>[[File:{{{flag alias-{{{var35}}}}}}|40px|{{{border-{{{var35}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var35}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var36|}}} | <tr><td><tt>{{{var36}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var36}}}}}}|40px|{{{border-{{{var36}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var36}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var36|}}} | <tr><td><code>{{{var36}}}</code></td><td align=center>[[File:{{{flag alias-{{{var36}}}}}}|40px|{{{border-{{{var36}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var36}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var37|}}} | <tr><td><tt>{{{var37}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var37}}}}}}|40px|{{{border-{{{var37}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var37}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var37|}}} | <tr><td><code>{{{var37}}}</code></td><td align=center>[[File:{{{flag alias-{{{var37}}}}}}|40px|{{{border-{{{var37}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var37}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var38|}}} | <tr><td><tt>{{{var38}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var38}}}}}}|40px|{{{border-{{{var38}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var38}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var38|}}} | <tr><td><code>{{{var38}}}</code></td><td align=center>[[File:{{{flag alias-{{{var38}}}}}}|40px|{{{border-{{{var38}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var38}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var39|}}} | <tr><td><tt>{{{var39}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var39}}}}}}|40px|{{{border-{{{var39}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var39}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var39|}}} | <tr><td><code>{{{var39}}}</code></td><td align=center>[[File:{{{flag alias-{{{var39}}}}}}|40px|{{{border-{{{var39}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var39}}}}}}</code></td></tr> }}<!--
-->{{#if: {{{var40|}}} | <tr><td><tt>{{{var40}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var40}}}}}}|40px|{{{border-{{{var40}}}|{{{border|border}}}}}}]]</td><td><tt>{{{flag alias-{{{var40}}}}}}</tt></td></tr> }}<!--
-->{{#if: {{{var40|}}} | <tr><td><code>{{{var40}}}</code></td><td align=center>[[File:{{{flag alias-{{{var40}}}}}}|40px|{{{border-{{{var40}}}|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-{{{var40}}}}}}</code></td></tr> }}<!--
-->{{#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-naval|}}} | <tr><td><code>naval</code></td><td align=center>[[File:{{{flag alias-naval}}}|40px|{{{border-naval|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-naval}}}</code></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-air force|}}} | <tr><td><code>air force</code></td><td align=center>[[File:{{{flag alias-air force}}}|40px|{{{border-air force|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-air force}}}</code></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> }}<!--
-->{{#if: {{{flag alias-army|}}} | <tr><td><code>army</code></td><td align=center>[[File:{{{flag alias-army}}}|40px|{{{border-army|{{{border|border}}}}}}]]</td><td><code>{{{flag alias-army}}}</code></td></tr> }}<!--
--></table>
--></table>
}}
}}
Line 79: Line 79:
{{#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|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{navy|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|naval}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|naval}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|naval}}</nowiki></code> → {{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|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{navy|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{navy|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{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|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{air force|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{air force|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{air force|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|air force}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|air force}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|air force}}</nowiki></code> → {{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|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{army|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{army|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{army|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|army}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|army}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|army}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|army}}
}} }}
}} }}
{{#if: {{{redir1|}}} |
{{#if: {{{redir1|}}} |
Line 100: Line 100:
--><table class="wikitable"><!--
--><table class="wikitable"><!--
--><tr><th>Alias name</th><th>{{tlx|flag|''alias''}} output</th><th>{{tlx|flagcountry|''alias''}} output</th></tr>
--><tr><th>Alias name</th><th>{{tlx|flag|''alias''}} output</th><th>{{tlx|flagcountry|''alias''}} output</th></tr>
{{#if: {{{redir1|}}} | <tr><td><tt>{{{redir1}}} (</tt><span class="plainlinks">[{{fullurl:Template:Country data {{{redir1}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{flag|{{{redir1}}}}}</td><td>{{flagcountry|{{{redir1}}}}}</td></tr> }}<!--
{{#if: {{{redir1|}}} | <tr><td><code>{{{redir1}}} (</code><span class="plainlinks">[{{fullurl:Template:Country data {{{redir1}}}|redirect=no}} view]</span><code>)</code></td><td>{{flag|{{{redir1}}}}}</td><td>{{flagcountry|{{{redir1}}}}}</td></tr> }}<!--
-->{{#if: {{{redir2|}}} | <tr><td><tt>{{{redir2}}} (</tt><span class="plainlinks">[{{fullurl:Template:Country data {{{redir2}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{flag|{{{redir2}}}}}</td><td>{{flagcountry|{{{redir2}}}}}</td></tr> }}<!--
-->{{#if: {{{redir2|}}} | <tr><td><code>{{{redir2}}} (</code><span class="plainlinks">[{{fullurl:Template:Country data {{{redir2}}}|redirect=no}} view]</span><code>)</code></td><td>{{flag|{{{redir2}}}}}</td><td>{{flagcountry|{{{redir2}}}}}</td></tr> }}<!--
-->{{#if: {{{redir3|}}} | <tr><td><tt>{{{redir3}}} (</tt><span class="plainlinks">[{{fullurl:Template:Country data {{{redir3}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{flag|{{{redir3}}}}}</td><td>{{flagcountry|{{{redir3}}}}}</td></tr> }}<!--
-->{{#if: {{{redir3|}}} | <tr><td><code>{{{redir3}}} (</code><span class="plainlinks">[{{fullurl:Template:Country data {{{redir3}}}|redirect=no}} view]</span><code>)</code></td><td>{{flag|{{{redir3}}}}}</td><td>{{flagcountry|{{{redir3}}}}}</td></tr> }}<!--
-->{{#if: {{{redir4|}}} | <tr><td><tt>{{{redir4}}} (</tt><span class="plainlinks">[{{fullurl:Template:Country data {{{redir4}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{flag|{{{redir4}}}}}</td><td>{{flagcountry|{{{redir4}}}}}</td></tr> }}<!--
-->{{#if: {{{redir4|}}} | <tr><td><code>{{{redir4}}} (</code><span class="plainlinks">[{{fullurl:Template:Country data {{{redir4}}}|redirect=no}} view]</span><code>)</code></td><td>{{flag|{{{redir4}}}}}</td><td>{{flagcountry|{{{redir4}}}}}</td></tr> }}<!--
-->{{#if: {{{redir5|}}} | <tr><td><tt>{{{redir5}}} (</tt><span class="plainlinks">[{{fullurl:Template:Country data {{{redir5}}}|redirect=no}} view]</span><tt>)</tt></td><td>{{flag|{{{redir5}}}}}</td><td>{{flagcountry|{{{redir5}}}}}</td></tr> }}<!--
-->{{#if: {{{redir5|}}} | <tr><td><code>{{{redir5}}} (</code><span class="plainlinks">[{{fullurl:Template:Country data {{{redir5}}}|redirect=no}} view]</span><code>)</code></td><td>{{flag|{{{redir5}}}}}</td><td>{{flagcountry|{{{redir5}}}}}</td></tr> }}<!--
--></table>
--></table>
}}
}}
===Example usage===
===Example usage===
* <tt><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <code><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}<!--
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}}<!--
-->{{#if: {{{shortname alias|}}} |
-->{{#if: {{{shortname alias|}}} |
* <tt><nowiki>{{flagcountry|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></tt> → {{flagcountry|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} }}
* <code><nowiki>{{flagcountry|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>}}</nowiki></code> → {{flagcountry|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}}} }}
{{#if: {{{var1|}}} |
{{#if: {{{var1|}}} |
====Using a flag variant====
====Using a flag variant====
* <tt><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></tt> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}}
* <code><nowiki>{{flag|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{flag|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}}
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}<nowiki>|</nowiki>{{{var1}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{templatename|{{Str right|{{BASEPAGENAME}}|13}}}}}|{{{var1}}}}}
}}
}}
{{#if: {{{redir1|}}} |
{{#if: {{{redir1|}}} |
====Using a redirect alias====
====Using a redirect alias====
* <tt><nowiki>{{flagicon|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{flagicon|{{{redir1}}}}}
* <code><nowiki>{{flagicon|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flagicon|{{{redir1}}}}}
* <tt><nowiki>{{flagcountry|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{flagcountry|{{{redir1}}}}}
* <code><nowiki>{{flagcountry|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flagcountry|{{{redir1}}}}}
* <tt><nowiki>{{flag|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></tt> → {{flag|{{{redir1}}}}}
* <code><nowiki>{{flag|</nowiki>{{{redir1}}}<nowiki>}}</nowiki></code> → {{flag|{{{redir1}}}}}
}}
}}
{{#if: {{{related1|}}} |
{{#if: {{{related1|}}} |
===Related templates===
===Related templates===
Please see the following related <tt>country_data</tt> 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="position:absolute; left:33em;">{{flag|{{{related1}}}<!-- {{#if:{{{related1param|}}}|{{!}}{{{related1param}}}}} -->}}</span><!--
-->{{#if: {{{related2|}}} |
-->{{#if: {{{related2|}}} |

Revision as of 19:09, 6 July 2014