Template:Country data New York
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.
| This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |

Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
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
| Label | Flag image (40px) | Image name |
|---|---|---|
1778 | Flag of New York (1778-1901).svg | |
1909 | Flag of New York (1909–2020).svg | |
naval | Flag of the United States.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{navy|New York}}→
New York Naval Militia{{flagicon|New York|naval}}→
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|New York}}→
New York Air National Guard
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|New York}}→
New York Army National Guard
Example usage
Using a flag variant
{{flag|New York|1778}}→
New York{{flagicon|New York|1778}}→
Related templates
Please see the following related country_data templates:
- Template:Country data United States
United States - Template:Country data New York CityTemplate:Country data New York City
TemplateData
TemplateData for Country data New York
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.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||