Difference between revisions of "Template:Country showdata"

From PUBLIC DOMAIN PROJECT
Jump to: navigation, search
m (Protected "Template:Country showdata" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)) [cascading])
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:
 
<td>Image name ([[:File:{{{flag alias}}}]], shown above right)</td>
 
<td>Image name ([[:File:{{{flag alias}}}]], shown above right)</td>
 
</tr></table>
 
</tr></table>
{{#if: {{{var1|{{{flag alias-naval|}}}}}} |
 
 
===Flag variants===
 
===Flag variants===
 
{{#ifexist: Flag of {{{alias}}} | {{details|Flag of {{{alias}}}}} | }}
 
{{#ifexist: Flag of {{{alias}}} | {{details|Flag of {{{alias}}}}} | }}
Line 40: Line 39:
 
-->{{#if: {{{var13|}}} | <tr><td><tt>{{{var13}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var13}}}}}}|40px|border]]</td><td><tt>{{{flag alias-{{{var13}}}}}}</tt></td></tr> }}<!--
 
-->{{#if: {{{var13|}}} | <tr><td><tt>{{{var13}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var13}}}}}}|40px|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]]</td><td><tt>{{{flag alias-{{{var14}}}}}}</tt></td></tr> }}<!--
 
-->{{#if: {{{var14|}}} | <tr><td><tt>{{{var14}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var14}}}}}}|40px|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]]</td><td><tt>{{{flag alias-{{{var15}}}}}}</tt></td></tr> }}<!--
+
-->{{#if: {{{var15|}}} | <tr><td><tt>{{{var15}}}</tt></td><td align=center>[[File:{{{flag alias-{{{var15}}}}}}|40px|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]]</td><td><tt>{{{flag alias-naval}}}</tt></td></tr> }}<!--
+
</table>
-->{{#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-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> }}<!--
 
--></table>
 
}}
 
{{#if: {{{flag alias-naval|}}}{{{link alias-naval|}}}{{{flag alias-air force|}}}{{{flag alias-army|}}} |
 
===Military ensigns===
 
{{#if: {{{flag alias-naval|}}} |
 
This template includes a naval ensign flag variant that can be used with [[Template:Navy]]:
 
* <tt><nowiki>{{navy|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{navy|{{{templatename|{{{alias}}}}}}}}
 
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|naval}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}|naval}}
 
| {{#if: {{{link alias-naval|}}} |
 
This nation's naval ensign is the same as its national flag, so [[Template:Navy]] produces the following:
 
* <tt><nowiki>{{navy|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{navy|{{{templatename|{{{alias}}}}}}}}
 
}}}}
 
{{#if: {{{flag alias-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|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{air force|{{{templatename|{{{alias}}}}}}}}
 
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|air force}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}|air force}}
 
}}
 
{{#if: {{{flag alias-army|}}} |
 
This template includes an army ensign flag variant that can be used with [[Template:Army]]:
 
* <tt><nowiki>{{army|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>}}</nowiki></tt> → {{army|{{{templatename|{{{alias}}}}}}}}
 
* <tt><nowiki>{{flagicon|</nowiki>{{{templatename|{{{alias}}}}}}<nowiki>|army}}</nowiki></tt> → {{flagicon|{{{templatename|{{{alias}}}}}}|army}}
 
}} }}
 
 
{{#if: {{{redir1|}}} |
 
{{#if: {{{redir1|}}} |
 
===Redirect aliases===
 
===Redirect aliases===
Line 128: Line 103:
 
   -->}}<!--
 
   -->}}<!--
 
-->}}
 
-->}}
|link box=This is the documentation for '''Template:{{PAGENAME}}'''. It is automatically generated by [[Template:Country showdata]].<br />Please {{purge|purge the cache}} after making any changes to this template.<!--
+
</includeonly><noinclude>
-->{{#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.|<!--
 
  -->{{#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:Category_interwiki/preload}} /doc] subpage, which is not protected.|#default=<!--
 
    --><br />Any [[PD:Categorization|categories]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which does not exist yet.<!--
 
  -->}}<!--
 
-->}}
 
}}</includeonly><noinclude>
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:52, 21 April 2014