Jump to content

Template:Country data New York

From Botnets.fr
Template documentation

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

Standard parameters

Parameter nameValueMeaning
alias New York (state) Main article name (New York (state))
shortname alias New York (optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example
flag alias Flag of New York.svg Image name (File:Flag of New York.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
1778Flag of New York (1778-1901).svg

Military ensigns

This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:

This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:

This nation's army ensign is the same as its national flag, so Template:Army produces the following:

Example usage

  • {{flag|New York}} →  New York
  • {{flagicon|New York}} → New York (state)
  • {{flagcountry|New York}} →  New York

Using a flag variant

  • {{flag|New York|1778}} →  New York
  • {{flagicon|New York|1778}} → New York (state)



TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Country data New York

<templatedata> {

 "description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
 "params": {}

} </templatedata>