Template:Country data New York (state)
| This template is used on approximately 6,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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 | File:Flag of New York (1778-1901).svg | Flag of New York (1778-1901).svg |
1909 | File:Flag of New York (1909–2020).svg | Flag of New York (1909–2020).svg |
naval | Flag of the United States.svg |
Example usage
{{flag|New York (state)}}→ Error creating thumbnail: New York (state){{flag icon|New York (state)}}→ Error creating thumbnail:{{flag country|New York (state)}}→ Template:Flag country
Using a flag variant
{{flag|New York (state)|1778}}→ File:Flag of New York (1778-1901).svg New York (state){{flag icon|New York (state)|1778}}→ New York (state)
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|New York (state)}}→ Template:Naval{{flag icon|New York (state)|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 (state)}}→ Error creating thumbnail: New York Air National Guard
This nation's navy flag is the same as its national flag, so Template:Navy produces the following:
{{navy|New York (state)}}→
New York Naval Militia
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|New York (state)}}→ Error creating thumbnail: New York Army National Guard
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 (state)
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. 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 | ||||||