Content deleted Content added
mk |
m Updated template name. |
||
(17 intermediate revisions by 15 users not shown) | |||
Line 1:
{{
{{High-use}}
==Usage==▼
<tt><nowiki>{{air force|nation|variant|size=optional|name=optional}}</nowiki></tt>▼
▲== Usage ==
▲
Produces a flag icon attached to a wikilinked national air force article.
*''nation'' — Use either the name of the nation or the three-letter [[ISO 3166-1 alpha-3]] country code▼
*''variant'' (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in [[:Category:Country data templates]]. Note that the standard behaviour of this template is to use the <code>air force</code> variant if present, so there is no need to specify this variant in the template call.▼
*''size'' (optional) — Can be used to change the flag icon size▼
*''name'' (optional) — Can be used to change the wikilink display text▼
==
▲*
*<tt><nowiki>{{air force|United Kingdom}}</nowiki></tt> → {{air force|United Kingdom}}▼
▲*
*<tt><nowiki>{{air force|USA}}</nowiki></tt> → {{air force|USA}}▼
*<tt><nowiki>{{air force|Australia}}</nowiki></tt> → {{air force|Australia}}▼
*<tt><nowiki>{{air force|India}}</nowiki></tt> → {{air force|India}}▼
*<tt><nowiki>{{air force|Pakistan}}</nowiki></tt> → {{air force|Pakistan}}▼
*<tt><nowiki>{{air force|Russia}}</nowiki></tt> → {{air force|Russia}}▼
*<tt><nowiki>{{air force|Canada}}</nowiki></tt> → {{air force|Canada}}▼
*<tt><nowiki>{{air force|Canada|1924}}</nowiki></tt> → {{air force|Canada|1924}}▼
==
The {{tl|flagicon}} template can be used to display the air force flag by itself, using the <tt>air force</tt> variant as a template parameter:▼
*<tt><nowiki>{{flagicon|UK|air force}}</nowiki></tt> → {{flagicon|UK|air force}}▼
=== Australia ===
==Implementation notes==▼
By default, this template shows the standard national flag for the selected country, following by a wikilink to "''Country'' Air Force". Both of these items can be changed by adding specific parameters to the appropriate <tt>country_data</tt> template (complete set found in [[:Category:Country data templates]]).▼
=== Canada ===
=== India ===
=== Pakistan ===
=== Russia ===
* {{tlc|air force|Russia|aerospace forces}} → {{air force|Russia|aerospace forces}}
=== United Kingdom ===
=== United States ===
== Other related templates ==
▲The {{tl|
▲*
▲== Implementation notes ==
▲By default, this template shows the standard national flag for the selected country, following by a wikilink to "''Country'' Air Force".
To use a different flag, such as the air force ensign for the nation, use:
:
To use a different name for the wikilinked air force article, use:
:
== See also ==
* {{tln|Army}}
* {{tln|Navy}}
<noinclude>[[Category:WikiProject Aviation template instructions|Air force]]</noinclude>
<includeonly>{{Sandbox other||
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Flag template system|{{PAGENAME}}]]
[[Category:Air
}}</includeonly>▼
▲</includeonly>
|