வார்ப்புரு:தரைப்படை/doc
{{documentation subpage}}
 
 ==Usage==
 &lt;kbd&gt;&lt;nowiki&gt;{{army|nation|variant|size=optional|name=optional}}&lt;/nowiki&gt;&lt;/kbd&gt;
 
 Produces a flag icon attached to a wikilinked national army article.
 ;Parameters
 *''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) army 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 &lt;code&gt;army&lt;/code&gt; 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
 
 ==Examples==
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|United Kingdom}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|United Kingdom}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|US}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|US}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|CHN}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|CHN}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|Republic of China (1912–1949)}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|Republic of China (1912–1949)}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|Empire of Japan}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|Empire of Japan}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|Empire of Japan|name=Japan}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|Empire of Japan|name=Japan}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|India}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|India}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|Pakistan}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|Pakistan}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|Bangladesh}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|Bangladesh}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|Canada}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|Canada}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|Spain}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|Spain}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|France}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|France}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{army|Switzerland}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{army|Switzerland}}
 ==Other related templates==
 The {{tl|flagicon}} template can be used to display the flag by itself, using the &lt;kbd&gt;army&lt;/kbd&gt; variant as a template parameter:
 *&lt;kbd&gt;&lt;nowiki&gt;{{flagicon|United Kingdom|army}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{flagicon|United Kingdom|army}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{flagicon|United States|army}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{flagicon|United States|army}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{flagicon|Empire of Japan|army}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{flagicon|Empire of Japan|army}}
 *&lt;kbd&gt;&lt;nowiki&gt;{{flagicon|Taiwan|army}}&lt;/nowiki&gt;&lt;/kbd&gt; → {{flagicon|Taiwan|army}}
 
 ==Implementation notes==
 By default, this template shows the standard national flag for the selected country, following by a wikilink to &quot;''Country'' Army&quot;.  Either or both of these items can be changed by adding specific parameters to the appropriate &lt;kbd&gt;country_data&lt;/kbd&gt; template (complete set found in [[:Category:நாட்டுத் தகவல் வார்ப்புருக்கள்]]).
 
 To use a different flag, such as an army-specific flag for the nation, use:
 :&lt;kbd&gt;flag alias-army = ''image name''&lt;/kbd&gt;
 To use a different name for the wikilinked army article, use:
 :&lt;kbd&gt;link alias-army = ''article name''&lt;/kbd&gt;
 
 == Template Data ==
 {{TemplateDataHeader}}
 &lt;templatedata&gt;
 {
 	&quot;params&quot;: {
 		&quot;1&quot;: {
 			&quot;label&quot;: &quot;nation&quot;,
 			&quot;description&quot;: &quot;Use either the name of the nation or the three-letter ISO 3166-1 alpha-3 country code&quot;,
 			&quot;required&quot;: true,
 			&quot;example&quot;: &quot;\&quot;Taiwan\&quot;, \&quot;USA\&quot;, \&quot;CHN\&quot;, \&quot;French Republic\&quot;, \&quot;MEX\&quot;&quot;,
 			&quot;type&quot;: &quot;line&quot;
 		},
 		&quot;2&quot;: {
 			&quot;aliases&quot;: [
 				&quot;variant&quot;
 			],
 			&quot;label&quot;: &quot;variant&quot;,
 			&quot;description&quot;: &quot;Specifies an alternate (historical) army flag to use. This parameter is documented by the appropriate template in [[Category:நாட்டுத் தகவல் வார்ப்புருக்கள்]]. Note that the standard behaviour of this template is to use the &lt;code&gt;army&lt;/code&gt; variant if present, so there is no need to specify this variant in the template call.&quot;,
 			&quot;type&quot;: &quot;line&quot;
 		},
 		&quot;size&quot;: {
 			&quot;description&quot;: &quot;(optional) Can be used to change the flag icon size&quot;,
 			&quot;type&quot;: &quot;string&quot;
 		},
 		&quot;name&quot;: {
 			&quot;description&quot;: &quot;(optional) Can be used to change the wikilink display text&quot;,
 			&quot;type&quot;: &quot;line&quot;
 		}
 	},
 	&quot;description&quot;: &quot;Produces a flag icon attached to a wikilinked national army article.&quot;,
 	&quot;format&quot;: &quot;inline&quot;
 }
 &lt;/templatedata&gt;
 
 ==See also==
 * [[Template:Air force]]
 * [[Template:Navy]]
 
 &lt;includeonly&gt;{{Sandbox other||
 [[Category:Flag template system]]
 [[Category:Army templates]]