Template:Country showdata: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(apparently the template doc graphic is deprecated now) |
(update for new documentation page, and add section for naval usage) |
||
Line 1: | Line 1: | ||
⚫ | |||
<noinclude> |
|||
This template is used for documenting [http://en.wikipedia.org/w/index.php?title=Special%3APrefixindex&from=Country+data&namespace=10 country data templates]. |
|||
⚫ | |||
<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> |
||
}} |
}} |
||
⚫ | |||
|} |
|||
⚫ | |||
==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: {{{ |
{{#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> |
||
[[Category:Flag template system|{{PAGENAME}}]] |
|||
[[af:Sjabloon:Land vertoondata]] |
|||
[[bn:Template:Country showdata]] |
|||
[[dv:Template:Country showdata]] |
|||
[[ka:თარგი:Country showdata]] |
|||
[[kk:Үлгі:Country showdata]] |
|||
[[ku:Şablon:Country showdata]] |
|||
[[lt:Šablonas:Country showdata]] |
|||
[[ms:Templat:Country showdata]] |
|||
[[sl:Predloga:Prikažipodatke države]] |
|||
[[sh:Template:Country showdata]] |
|||
[[vi:Tiêu bản:Country showdata]] |
|||
</noinclude> |
Revision as of 19:03, 3 October 2007
Template documentation[create]