Template:Canmore/doc
This is a documentation subpage for Template:Canmore. It contains usage information, categories and other content that is not part of the original template page. |
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.
Contents
Usage
Required parameter
- num: The monument number from the database.
Optional parameters
- desc: The name of the database entry. If this parameter is not used default text "Monument No." will be displayed instead.
- access-date: The date information was retrieved from the database. Alias: accessdate
- postscript: Controls the closing punctuation for the citation. Defaults to a period (
.
); for no terminating punctuation set to|postscript=none
- fewer-links: Use
|fewer-links=yes
to remove repeated links 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=4121 |desc=Lewis, Dun Carloway}}
gives:
Historic Environment Scotland. "Lewis, Dun Carloway (4121)". Canmore.
{{Canmore |num=4121 |desc=Lewis, Dun Carloway |access-date=2 December 2023}}
gives:
Historic Environment Scotland. "Lewis, Dun Carloway (4121)". Canmore. Retrieved 2 December 2023.
{{Canmore |num=4121 |desc=Lewis, Dun Carloway |access-date=2 December 2023 |fewer-links=yes}}
gives:
Historic Environment Scotland. "Lewis, Dun Carloway (4121)". Canmore. Retrieved 2 December 2023.
Template data
TemplateData for Canmore
Provides an external link to an entry on the Canmore database
Parameter | Description | Type | Status | |
---|---|---|---|---|
num | num | the Canmore ID number from the database | String | required |
desc | desc | 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.
| String | suggested |
access-date | access-date accessdate | The date a Wikipedia editor retrieved information from the Canmore database.
| String | suggested |
postscript | postscript | Controls the closing punctuation for the citation. Defaults to a period (.); for no terminating punctuation set to none.
| String | optional |
fewer-links | fewer-links | Set to 'yes' to remove repeated links where the template is used more than once in an article.
| String | optional |
See also
- {{PastScape}} — provides a link to the Historic England, Pastscape database
- {{Historic Environment Scotland}} — provides a link to the Historic Environment Scotland database (formerly maintained by Historic Scotland)