This template provides an easy method to link to a city and list its parent state (or province, territory, etc.), rather than the city alone. Thus, Nashville, Tennessee becomes Nashville, Tennessee. The template works best on U.S. cities, but can work on some others, but check before using in those cases!

  • {{city-region|CITY|STATE (province, territory, etc.)}} produces: [[CITY, STATE|CITY]], [[STATE]]

Here are some cases of the template being used successfully for its intended purposes:

  • YesY {{city-region|Nashville|Tennessee}} produces: [[Nashville, Tennessee|Nashville]], Tennessee
    • Decent, appropriate use of this template
  • YesY {{city-region|Atlanta|Georgia}} produces: [[Atlanta, Georgia|Atlanta]], Georgia
  • YesY {{city-region|New York|New York}} produces: [[New York, New York|New York]], New York
    • Works, but unnecessary and possibly a poor stylistic choice as New York City is highly recognized
  • YesY {{city-region|Vieques|Puerto Rico}} produces: [[Vieques, Puerto Rico|Vieques]], Puerto Rico
    • Though PR is not a U.S. state, the template still handles it.
  • YesY {{city-region|Red Deer|Alberta}} produces: [[Red Deer, Alberta|Red Deer]], Alberta
    • The template can also handle Canadian provinces and territories. However, for locations in Newfoundland and Labrador, the full province name must be used, as Newfoundland is a disambiguation page.
  • YesY {{city-region|St. John's|Newfoundland and Labrador}} produces: [[St. John's, Newfoundland and Labrador|St. John's]], Newfoundland and Labrador
    • Decent, appropriate use of this template


"https://ml.wikipedia.org/w/index.php?title=ഫലകം:City-region/doc&oldid=1815566" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്