Template:Country data India: Difference between revisions

From Hattrick
Jump to navigationJump to search
Jhattara (talk | contribs)
Created page with '{{#if: {{{country flag}}} | {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Flag India.png|border=border|alt=India|size={{{size|}}}}} | }} {{#if: {{{name}}} | […'
 
Para Para (talk | contribs)
as optional: full size flag, logo flags, alt name
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if: {{{country flag}}} |
{{ {{{1<noinclude>|country showdata</noinclude>}}}
  {{country flag|link={{#if: {{{name}}} | | {{{link|}}} }}|file=Flag India.png|border=border|alt=India|size={{{size|}}}}} |
| name      = India
}} {{#if: {{{name}}} |
| alias      = India
  [[India]] |
| flag alias = Flag India.png
}}<noinclude>
| flag full  = Flag of India.PNG
{{documentation|docpage=Template:Country data/doc}}
| flag logo  = Country data India.png
{{DEFAULTSORT:India}}
| size       = {{{size|}}}
| altlink    = {{{alt|}}}
<noinclude>
| redir1 = IND
| redir2 = Bhārat
</noinclude>}}<noinclude>{{DEFAULTSORT:India}}
[[Category:Country data templates]]
[[Category:Country data templates]]
</noinclude>
</noinclude>

Latest revision as of 01:56, 12 March 2020

[edit] Template documentation

Template:Country data India is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.

Icon
Full size flag of India (alternative)
Country logo

Standard parameters

Parameter nameValueMeaningLink
name India Main article name (India)
aliasIndiaEnglish name-
flag alias Flag India.png Flag icon(File:Flag India.png)
flag fullFlag of India.PNGFull size flag(File:Flag of India.PNG)
flag logoCountry data India.png"Ball" logo flag(File:Country data India.png)

Example usage

* {{flag|India}} India
* {{flaglink|India}}India
* {{flagicon|India}}India
* {{flagfull|India|showlink}}
India
* {{flaglogo|India|size=x60px}}

Redirect

This template can also be used via an alternative name (up to 5 and implemented as a redirect to this template):
Alternative name{{flag|alias}} output{{flaglink|alias}} output
IND (view) IndiaIndia
Bhārat (view)Template:Country data BhāratTemplate:Country data Bhārat

Using a redirect alias

  • {{flagicon|IND}}India
  • {{flaglink|IND}}India
  • {{flag|IND}} India


This is the documentation for Template:Country data India. It is automatically generated by Template:Country showdata.
Please purge the cache after making any changes to this template.