Template:Country data New York (state): Difference between revisions
(update) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 13:13, 23 June 2024
File:Test Template Info-Icon - Version (2).svg Template documentation
Warning | This template is used on approximately 7,200 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) 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 |
---|---|---|
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)}}
→ File:Flag of New York.svg New York (state){{flag icon|New York (state)}}
→ New York (state){{flagcountry|New York (state)}}
→ File:Flag of New York.svg New York
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)}}
→New York Naval Militia
{{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)}}
→ File:Flag of New York.svg 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)}}
→ File:Flag of New York.svg 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)}}
→ 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 States
United States
- Template:Country data New York CityTemplate:Country data New York City
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data New York (state) in articles based on its TemplateData.
TemplateData for Country data New York (state)
<templatedata> {
"description": "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.", "params": {}
} </templatedata>