Difference between revisions of "Template:Country showdata"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(apparently the template doc graphic is deprecated now) |
(update for new documentation page, and add section for naval usage) |
||
Line 1: | Line 1: | ||
− | + | <includeonly> | |
− | |||
− | |||
<div class="template-documentation" style="background-color:#ecfcf4; border:1px solid #aaa; padding:5px;"> | <div class="template-documentation" style="background-color:#ecfcf4; border:1px solid #aaa; padding:5px;"> | ||
<div style="font-size: 1.5em; border-bottom: 1px solid #aaa;"><span class="mw-headline">Template documentation</span></div> | <div style="font-size: 1.5em; border-bottom: 1px solid #aaa;"><span class="mw-headline">Template documentation</span></div> | ||
Line 36: | Line 34: | ||
</tr> | </tr> | ||
}} | }} | ||
− | |} | + | |}{{#if: {{{var1|}}} | |
− | {{#if: {{{var1|}}} | | ||
==Flag variants== | ==Flag variants== | ||
<table class="wikitable"> | <table class="wikitable"> | ||
Line 50: | Line 47: | ||
-->{{#if: {{{var8|}}} | <tr><td><tt>{{{var8}}}</tt></td><td align=center>[[Image:{{{flag alias-{{{var8}}}}}}|40px|border]]</td><td><tt>{{{flag alias-{{{var8}}}}}}</tt></td></tr> }}<!-- | -->{{#if: {{{var8|}}} | <tr><td><tt>{{{var8}}}</tt></td><td align=center>[[Image:{{{flag alias-{{{var8}}}}}}|40px|border]]</td><td><tt>{{{flag alias-{{{var8}}}}}}</tt></td></tr> }}<!-- | ||
-->{{#if: {{{var9|}}} | <tr><td><tt>{{{var9}}}</tt></td><td align=center>[[Image:{{{flag alias-{{{var9}}}}}}|40px|border]]</td><td><tt>{{{flag alias-{{{var9}}}}}}</tt></td></tr> }}<!-- | -->{{#if: {{{var9|}}} | <tr><td><tt>{{{var9}}}</tt></td><td align=center>[[Image:{{{flag alias-{{{var9}}}}}}|40px|border]]</td><td><tt>{{{flag alias-{{{var9}}}}}}</tt></td></tr> }}<!-- | ||
+ | -->{{#if: {{{flag alias-naval|}}} | <tr><td><tt>naval</tt></td><td align=center>[[Image:{{{flag alias-naval}}}|40px|border]]</td><td><tt>{{{flag alias-naval}}}</tt></td></tr> }}<!-- | ||
--></table> | --></table> | ||
}} | }} | ||
− | {{#if: {{{redir1|}}} | | + | {{#if: {{{flag alias-naval|}}} | |
+ | ==Naval ensign== | ||
+ | This template includes a [[Maritime flag|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: {{{redir1|}}} | | ||
==Redirect aliases== | ==Redirect aliases== | ||
This template can also be used via an ''alias'' name (implemented as a redirect to this template):<!-- | This template can also be used via an ''alias'' name (implemented as a redirect to this template):<!-- | ||
Line 101: | Line 104: | ||
{{#ifeq: {{PAGENAME}} | Country data {{{alias}}} | | {{#ifeq: {{PAGENAME}} | Country data {{{shortname alias}}} | | [[Category:Country data templates with distinct template name]] }} }} | {{#ifeq: {{PAGENAME}} | Country data {{{alias}}} | | {{#ifeq: {{PAGENAME}} | Country data {{{shortname alias}}} | | [[Category:Country data templates with distinct template name]] }} }} | ||
</div> | </div> | ||
− | </includeonly><noinclude> | + | </includeonly><noinclude>{{documentation}}</noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </noinclude> |
Revision as of 15:03, 3 October 2007
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |