Template:Country data New York (state)/sandbox
| File:Edit In Sandbox Icon - Color.svg | This is the template sandbox page for Template:Country data New York (state) (diff). |
| Warning | This template is used on approximately 6,600 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. |
| File:Exclamationdiamond.svg | Template:Country data New York (state)/sandbox is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flag icon, and others. |
| File:Information icon4.svg | 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 |
|---|---|---|
1775 | File:New York Union Flag (1775).svg | New York Union Flag (1775).svg |
1858 | File:Flag of New York (1858–1896).svg | Flag of New York (1858–1896).svg |
1861 | File:Green Ensign 1st Regiment.svg | Green Ensign 1st Regiment.svg |
1896 | File:Flag of New York (1896–1901).svg | Flag of New York (1896–1901).svg |
1901 | File:Pan American Exposition Flag.svg | Pan American Exposition Flag.svg |
1909 | File:Flag of New York (1909–2020).svg | Flag of New York (1909–2020).svg |
1913 | File:Flag of the American Huguenots (1913).svg | Flag of the American Huguenots (1913).svg |
1941 | File:Flag of New York (1941–1945).png | Flag of New York (1941–1945).png |
naval | File:Flag of the United States.svg | Flag of the United States.svg |
navy | File:Naval ensign of New York (1775).svg | Naval ensign of New York (1775).svg |
Example usage
{{flag|New York (state)/sandbox}}→ File:Flag of New York.svg New York (state)/sandbox{{flag icon|New York (state)/sandbox}}→ New York (state){{flag country|New York (state)/sandbox}}→ File:Flag of New York.svg New York
Using a flag variant
{{flag|New York (state)/sandbox|1775}}→ File:New York Union Flag (1775).svg New York (state)/sandbox{{flag icon|New York (state)/sandbox|1775}}→ New York (state)
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|New York (state)/sandbox}}→ File:Flag of the United States.svg New York Naval Militia{{flag icon|New York (state)/sandbox|naval}}→ New York (state)
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)/sandbox}}→ File:Flag of New York.svg New York Air National Guard
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|New York (state)/sandbox}}→ File:Naval ensign of New York (1775).svg New York Naval Militia{{flag icon|New York (state)/sandbox|navy}}→ New York (state)
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|New York (state)/sandbox}}→ File:Flag of New York.svg New York Army National Guard
Related templates
Please see the following related country_data templates:
- Template:Country data United StatesFile:Flag of the United States.svg United States
- Template:Country data New York CityFile:Flag of New York City.svg 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 | ||||||