• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Country data New York (state)

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation
WarningThis template is used on approximately 6,900 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.
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, 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.
Flag of New York.svg

Contents

  • 1 Standard parameters
  • 2 Flag variants
  • 3 Example usage
    • 3.1 Using a flag variant
  • 4 Military ensigns
  • 5 Related templates
  • 6 Other information
  • 7 TemplateData

Standard parameters

Parameter nameValueMeaning
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

LabelFlag image (40px)Image name
1778Flag of New York (1778-1901).svgFlag of New York (1778-1901).svg
1909Flag of New York (1909–2020).svgFlag of New York (1909–2020).svg
navalFlag of the United States.svgFlag of the United States.svg


Example usage

  • {{flag|New York (state)}} →  New York (state)
  • {{flagicon|New York (state)}} → New York (state)
  • {{flagcountry|New York (state)}} →  New York

Using a flag variant

  • {{flag|New York (state)|1778}} →  New York (state)
  • {{flagicon|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
  • {{flagicon|New York (state)|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)}} →  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)}} →  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 City New York City

Other information

Template:Country data Albany, New York  Albany, New York
Template:Country data New York City  New York City

fr:Modèle:Country data New York ur:سانچہ:Country data New York

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data New York (state). It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please purge the cache after making any changes to this template.
This template has a /doc subpage for the purposes of categories and documentation specific to this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Country_data_New_York_(state)&oldid=11568"
Categories:
  • Country data templates of subdivisions of the United States
  • New York (state) templates
  • Templates using TemplateData
  • Country data templates with documentation subpage
  • All country data templates
  • Country data templates with distinct shortname
Last edited on 5 January 2021, at 01:47

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 5 January 2021, at 01:47.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop