[edit] [purge] Template documentation

Note: this is a multilingual template. When a non english user is logged in and viewing a page with this template, they will view the navbox in their native language (provided the template values have been translated in Nav place/<language code>). As with all multilingual templates, English users will view it in the page's language.


Within an article or one of its subpages, the place need not be indicated:

{{Nav place|locality}}

On other pages, the place may be indicated like this:

{{Nav place|locality|article=Den Haag (.nl)}}
parameter 1 legal values: locality, county, or subdivision (must be all lower case. Do not use variants (city, parish, province)
article name of the location. This must conform to the wikipedia article on the location for the language with the language postpended. Example: "Den Haag (.nl)" for dutch article on The Hague, "Den Haag (.de)" for German. Omitting language implies english. No variants or names corresponding to wikipedia redirect pages or disambiguation pages please.


This enables users to quickly

  • write or embellish on microhistory articles about a time period for the location
  • Access pictures of the location during different time periods
  • query information on a location (births, deaths, marriages, residencies)
  • access a forum for asking questions/ discussing local history,
  • providing information on local sources for research

How to set up a place article

(Warning- dated material need updating)

On main article or category for area

Just put the shortcut {{Navcty}} at the top of the main category or article for the county etc. Follow it with {{alsoWP}} to link to the Wikipedia equivalent, if any; where the WP page has a different name, include that after a pipe, e.g. {{alsoWP|Manhattan}}.

Template:ctycat probably supersedes the direct use of this for counties/parishes/boroughs of the United States, but not for other areas such as cities or other countries; see Template:ctycat-eu for Europe.

Structure of pages

The template's form assumes that that it is used on an article whose BASEPAGENAME corresponds to the subject of the navbox. That is, the base page (the name without any subpage "/" additions) is the name of the county or other division. That applies to the subpages (i.e. pages that begin with the county name followed by a slash). However, it is not true on the category pages (such as all of the "People" group) or most other pages where the template may be used. For those pages, override with parameter |article=NEWNAME (where NEWNAME is the county name). For example, on a page called "Category:Born in Greene County, Ohio" or "List of libraries in Greene County, Ohio", the template should be edited so as to look like this: {{Nav place|county|article=Greene County, Ohio}}

Technical notes

  • This uses SMW semantic search page for dynamic queries and makes hard codes categories like marriages in XX county in the 1800s obsolete.
  • Most information is provided through SMW.
  • Languages: each language is expected to have a subpage on this template. eg Template:Nav place/es
    • all articles have an "smwbasepage" where all common smw properties for a location are stored. The smwbasepage is also used for the english language article but carries information for all languages. The smwbasepage can be determined with a single call. Example "{{#ask: [[uses smwbasepage::La Haya (.es)]]|link=none|format=list|default=| ?mainlabel = }} will return "The Hague". Queries on the Hague will return information on that location.
  • (.nl) notation because of familiarity among users with .es .de etc as part of names of web sites in their language. The (. sequence is extremely unique, so all that is necessary is a #explode using "(." as a very reliable delimiter.