Template:HPC row/doc

From blackwiki
Jump to navigation Jump to search

Template:Uses Wikidata

This template provides a row in a table of entries from the Canadian Register of Historic Places. These are used primarily in lists accessed from Lists of historic places in Canada.

Usage

If Wikidata page exists

{{HPC row
|name=
|coordname=
|region=
|idf=
|idf2=
|idp=
|idm=
|wikidata=
}}

If Wikidata page does NOT exists

{{HPC row
|name=
|coordname=
|region=
|address=
|municipality=
|pc=
|lat=
|lon=
|provinceId=
|idf=
|idf2=
|idp=
|idm=
|image=
|commonscat=
}}

Parameters

  • name - this should be the name (or one of the names) as given in the CRHP for the site. It may contain links.
  • coordname - this is a plaintext name that will be used in mapping the site. It may not contain links or other wiki markup. Note: if "lat/lon" are used and the "name" contains links then "coordname" must be used to avoid problems with the coordinates display.
  • region - one of the two letter provincial/territorial codes.
  • address - the street address, or other description of the site's location with the community. Ideally this parameter will include the use of {{sort}} so that the entries in a table will sort well by this parameter. If blank, will use the Wikidata property located at street address or location.
  • municipality - the community in which the site is found. This should be wikilinked. If blank, will use the Wikidata property located in the administrative territorial entity.
  • pc - the three-digit Canadian postal code for the site. If blank, will use the Wikidata property postal code.
  • lat - the latitude (in decimal notation) for the site.
  • lon - the longitude (in decimal notation) for the site.
  • provinceId - the CRHP numeric identifier for the province in which the site is located.
  • image - the name of an image to use; do not include [[File:, [[Image:, or other image formatting. If blank, will use the Wikidata property image.
  • commonscat - The category on Wikimedia Commons for images of this site. If blank, will use the Wikidata property Commons category.
  • idf - a federal designation number in the CRHP; the template will provide a link to the CRHP using this number.
  • idf2 - a second federal designation number in the CRHP for sites registered twice at the federal level (used for national historic sites and historic railways); the template will provide a link to the CRHP using this number.
  • idp - a provincial designation number in the CRHP; the template will provide a link to the CRHP using this number.
  • idm - a municipal designation number in the CRHP; the template will provide a link to the CRHP using this number.
  • wikidata - the ID of the site on Wikidata

Microformat

Template:UF-hcard-geo

See also