Template:Country data New York City
Template:Country data New York City is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.
| 40x40px | 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. |
Contents
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
New York City
| Main article name (New York City) |
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 City.svg |
Image name (File:Flag of New York City.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
1914 | 40px | Flag of New York City (1914–1915).png |
1915 | 40px | Flag of New York City, New York (1915–1977).png |
naval | 40px | Flag of the United States.svg |
navy | 40px | Flag of the New York City Police Department.svg |
air force | 40px | Flag of the New York City Police Department.svg |
army | 40px | Flag of the New York City Police Department.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{navy|New York City}}→ 23x20px N.Y. City Police Department Harbor Unit{{flagicon|New York City|naval}}→ 23x15px
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|New York City}}→ 23x15px N.Y. City Police Department Aviation Unit{{flagicon|New York City|air force}}→ 23x15px
This template includes a navy flag variant that can be used with Template:Naval:
{{naval|New York City}}→ Template:Naval{{flagicon|New York City|navy}}→ 23x15px
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|New York City}}→ 23x17px New York City Police Department{{flagicon|New York City|army}}→ 23x15px
Example usage
{{flag|New York City}}→ 23x15px New York City{{flagicon|New York City}}→ 23x15px{{flagcountry|New York City}}→ 23x15px New York
Using a flag variant
{{flag|New York City|1914}}→ 23x15px New York City{{flagicon|New York City|1914}}→ 23x15px
Related templates
Please see the following related country_data templates:
- Template:Country data United States23x15px United States
- Template:Country data New York (state)23x15px New York (state)
- Template:Country data Albany, New York23x15px Albany, New York
TemplateData
TemplateData for Country data New York City
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 | ||||||
| This is the documentation for Template:Country data New York City. It is automatically generated by Template:Country showdata. Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please Script error: No such module "Purge". after making any changes to this template. This template has a /doc subpage for the purposes of categories and documentation specific to this template. |