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

Template:Country data New York City

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation
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.
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 City.svg

Contents

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

Standard parameters

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

LabelFlag image (40px)Image name
1914Flag of New York City (1914–1915).pngFlag of New York City (1914–1915).png
1915Flag of New York City, New York (1915–1977).pngFlag of New York City, New York (1915–1977).png
navalFlag of the United States.svgFlag of the United States.svg
navyFlag of the New York City Police Department.svgFlag of the New York City Police Department.svg
air forceFlag of the New York City Police Department.svgFlag of the New York City Police Department.svg
armyFlag of the New York City Police Department.svgFlag of the New York City Police Department.svg


Example usage

  • {{flag|New York City}} →  New York City
  • {{flagicon|New York City}} → New York City
  • {{flagcountry|New York City}} →  New York

Using a flag variant

  • {{flag|New York City|1914}} →  New York City
  • {{flagicon|New York City|1914}} → New York City

Military ensigns

This template includes a naval flag variant that can be used with Template:Naval:

  • {{naval|New York City}} →  N.Y. City Police Department Harbor Unit
  • {{flagicon|New York City|naval}} → New York City

This template includes an air force ensign flag variant that can be used with Template:Air force:

  • {{air force|New York City}} →  N.Y. City Police Department Aviation Unit
  • {{flagicon|New York City|air force}} → New York City

This template includes an ensign flag variant that can be used with Template:Navy:

  • {{navy|New York City}} →  N.Y. City Police Department Harbor Unit
  • {{flagicon|New York City|navy}} → New York City

This template includes an army ensign flag variant that can be used with Template:Army:

  • {{army|New York City}} →  New York City Police Department
  • {{flagicon|New York City|army}} → New York City

Related templates

Please see the following related country_data templates:

  • Template:Country data United States United States
  • Template:Country data New York (state) New York (state)
  • Template:Country data Albany, New York Albany, 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 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.

Template parameters

ParameterDescriptionTypeStatus
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 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_City&oldid=11570"
Categories:
  • Country data templates of cities in the United States
  • Templates using TemplateData
  • Country data templates with documentation subpage
  • All country data templates
  • Country data templates with distinct shortname
Last edited on 12 August 2018, at 23:27

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 12 August 2018, at 23:27.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop