வார்ப்புரு:கடலோரக் காவல்படை/doc
{{Documentation subpage}}
 &lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;
 This template is used to display a small flag variant icon next to a wikilinked name of a country's coastguard. It is a usable wrapper of the {{tlp|கடலோரக் காவல்படை/கரு}} template, which should not be accessed directly. It is built on the {{tlp|flag}} template.
 
 == Usage ==
 
 '''&lt;nowiki&gt;{{Coast guard|&lt;/nowiki&gt;'''''country identifier'''''&amp;#124;'''''optional variant'''''&amp;#124;'''name=''alternative text string'''''&amp;#124;'''size=''maximum width and/or height of the flag image'''''&lt;nowiki&gt;}}&lt;/nowiki&gt;'''
 
 * ''country identifier'' is the common name of the country (e.g. &quot;United States&quot;), a common alias (e.g. &quot;US&quot;), or a standard country code such as those listed at [[ISO 3166-1 alpha-3]]
 * ''variant'' is an optional second parameter that can be used to display a coastguard flag variation.  The list of variants for each country is documented on the appropriate template page, such as [[:வார்ப்புரு:நாட்டுத் தகவல் இடாய்ச்சுலாந்து]]. You can only use subvariants of the coast guard variant.
 * ''alternative text string'', this optional value, specified by the '''name''' parameter, is used to display alternative text instead of the official coast guard name for the wikilinked page.
 * ''size'', this optional value is specified by the '''size''' parameter, and is used to specify the maximum width and/or height of the flag image. This parameter is specified using standard [[Wikipedia:Extended image syntax|image syntax]].
 
 ==Examples==
 {| class=&quot;wikitable&quot;
 ! Wiki markup !! Displays !! Notes
 |-
 | &lt;code&gt;&lt;nowiki&gt;{{Coast guard|United States}}&lt;/nowiki&gt;&lt;/code&gt; || {{nowrap| {{Coast guard|United States}}}} || rowspan=2 | Note that both instances link to [[United States Coast Guard]].
 |-
 | &lt;code&gt;&lt;nowiki&gt;{{Coast guard|USA}}&lt;/nowiki&gt;&lt;/code&gt; || {{Coast guard|USA}}
 |-
 | &lt;code&gt;&lt;nowiki&gt;{{Coast guard|Germany}}&lt;/nowiki&gt;&lt;/code&gt; || {{Coast guard|Germany}} || rowspan=3 | All three instances link to [[German Federal Coast Guard]].&lt;br /&gt;In addition to the ISO country codes, those used by [[FIFA]], [[IOC]], etc. are also supported.
 |-
 | &lt;code&gt;&lt;nowiki&gt;{{Coast guard|DEU}}&lt;/nowiki&gt;&lt;/code&gt; || {{Coast guard|DEU}}
 |-
 | &lt;code&gt;&lt;nowiki&gt;{{Coast guard|GER}}&lt;/nowiki&gt;&lt;/code&gt; || {{Coast guard|GER}}
 |-
 | &lt;code&gt;&lt;nowiki&gt;{{Coast guard|CAN|name=Canadian}}&lt;/nowiki&gt;&lt;/code&gt; || {{Coast guard|CAN|name=Canadian}} || The name parameter can be used to change the display string but keep the link to the correct article.
 |-
 | &lt;code&gt;&lt;nowiki&gt;{{Coast guard|USA|size=14px}}&lt;/nowiki&gt;&lt;/code&gt; || {{Coast guard|USA|size=14px}} || rowspan=2 | The size parameter can be used to control the image dimensions.&lt;br /&gt;23×15px is the default size for most countries ([[:Category:Country data templates with distinct default size|some entities]] have a different default size).
 |-
 | &lt;code&gt;&lt;nowiki&gt;{{Coast guard|USA|size=28px}}&lt;/nowiki&gt;&lt;/code&gt; || {{Coast guard|USA|size=28px}}
 |}
 
 ==TemplateData==
 {{TemplateData header}}
 &lt;TemplateData&gt;
 {
         &quot;description&quot;: &quot;This template is used to display a small flag icon next to a wikilinked name of that country's coastguard&quot;,
         &quot;params&quot;: {
                 &quot;1&quot;: {
                         &quot;label&quot;: &quot;Country identifier&quot;,
                         &quot;description&quot;: &quot;Common name of the country (e.g. 'United States'), a common alias (e.g. 'US'), or a standard country code&quot;,
                         &quot;type&quot;: &quot;string&quot;,
                         &quot;required&quot;: true
                 },
                 &quot;2&quot;: {
                         &quot;label&quot;: &quot;Variant&quot;,
                         &quot;description&quot;: &quot;Identifies a coastguard flag variant to be used instead of the standard flag&quot;,
                         &quot;type&quot;: &quot;string&quot;,
                         &quot;required&quot;: false
                 },
                 &quot;name&quot;: {
                         &quot;label&quot;: &quot;Alternative text&quot;,
                         &quot;description&quot;: &quot;Display alternative text instead of the standard country coastguard name&quot;,
                         &quot;type&quot;: &quot;string&quot;,
                         &quot;required&quot;: false
                 },
                 &quot;size&quot;: {
                         &quot;label&quot;: &quot;Maximum dimension&quot;,
                         &quot;description&quot;: &quot;The maximum width or height, specified via standard image syntax (e.g. x30px)&quot;,
                         &quot;type&quot;: &quot;string&quot;,
                         &quot;required&quot;: false
                 }
         }
 }
 &lt;/TemplateData&gt;
 
 == See Also ==
 
 See [[Wikipedia:WikiProject Flag Template]] for other flag-based templates.
 
 &lt;includeonly&gt;{{sandbox other||
 &lt;!-- Categories below this line and interwikis at Wikidata --&gt;
 [[Category:Flag template system]]
 [[Category:Military templates]]