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

Template:Canmore

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1.


This template is used to provide a link to the Canmore online database of Scotland's National Record of the Historic Environment (http://canmore.org.uk/) for a specified monument record in Scotland. Formerly maintained by RCAHMS, since 2015 it is maintained by Historic Environment Scotland.

The database record contains nearly 320,000 records on buildings, archaeological, industrial and maritime sites across Scotland.

Usage

Required parameter

  • num: The monument, collection or event number from the database.

Optional parameters

  • class: to link to the 'collection', 'event' and 'gallery' pages of the website, for example: https://canmore.org.uk/collection/######. Do not use for 'site' which is the default url. Accepted values are:
    • C = collection
    • E = event
    • G = gallery
  • desc: The name of the database entry. If this parameter is not used default text "Monument No." will be displayed instead. (or if using 'class' the default text will be "Collection No.", "Event ID." or "Gallery")
  • access-date: The date information was retrieved from the database. Alias: accessdate
  • mode: defaults to |mode=cs1; set to |mode=cs2 to provide consistency with citation style 2, as produced by {{citation}}
  • postscript: controls the closing punctuation for the citation; defaults to a period (.); for no terminating punctuation, set to |postscript=none, however using |mode=cs2 does this automatically
  • fewer-links: Use |fewer-links=yes to remove repeated links to 'Historic Environment Scotland' where the template is used more than once in an article, or if similar templates with the same links are used (e.g. {{Historic Environment Scotland}})


Examples

{{Canmore |num=4121}} gives:

Historic Environment Scotland. "Monument No. 4121". Canmore.

{{Canmore |num=383697 |class=C}} gives:

Historic Environment Scotland. "Collection No. 383697". Canmore.

{{Canmore |num=4121 |desc=Lewis, Dun Carloway}} gives:

Historic Environment Scotland. "Lewis, Dun Carloway (4121)". Canmore.

{{Canmore |num=4121 |desc=Lewis, Dun Carloway |access-date=21 December 2025}} gives:

Historic Environment Scotland. "Lewis, Dun Carloway (4121)". Canmore. Retrieved 21 December 2025.

{{Canmore |num=4121 |desc=Lewis, Dun Carloway |access-date=21 December 2025 |fewer-links=yes}} gives:

Historic Environment Scotland. "Lewis, Dun Carloway (4121)". Canmore. Retrieved 21 December 2025.

{{Canmore |num=904119 |class=E |desc=J. S. Lees Grocers (Former) |mode=cs2 |access-date=21 December 2025}} gives:

Historic Environment Scotland, "J. S. Lees Grocers (Former) (904119)", Canmore, retrieved 21 December 2025


Template data

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 Canmore

Provides an external link to an entry on the Canmore database

Template parameters

ParameterDescriptionTypeStatus
numnum

the Canmore ID number from the database

Stringrequired
classclass

to change the URL for sections of the database other than 'site': enter as 'C', 'E' or 'G'.

Stringoptional
descdesc

Additional text description such as the name of the building or site. Useful if there are several listed objects in an article. If this parameter is not used default text 'Monument No.' will be displayed instead.

Default
Monument No.
Stringsuggested
access-dateaccess-date accessdate

The date a Wikipedia editor retrieved information from the Canmore database.

Auto value
{{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
modemode

defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by {{citation}}

Stringoptional
postscriptpostscript

controls the closing punctuation for the citation; defaults to a period (.); for no terminating punctuation set to none, however using mode=cs2 does this automatically

Default
.
Stringoptional
fewer-linksfewer-links

Set to 'yes' to remove repeated links where the template is used more than once in an article.

Default
yes
Stringoptional

See also

  • {{Historic England research records}} — provides a link to the Historic England research records available through the Heritage Gateway (which replaced PastScape), formerly known as the National Monuments Record (NMR)
  • {{Historic Environment Scotland}} — provides a link to the Historic Environment Scotland database (formerly maintained by Historic Scotland)
The above documentation is transcluded from Template:Canmore/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Canmore&oldid=7159"
Categories:
  • Templates that wrap Cite web
  • Templates using TemplateData
  • Heritage citation templates
  • Specific-source templates
Last edited on 28 October 2021, at 15:14

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 28 October 2021, at 15:14.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop