Template:Historic Scotland listed building number/doc

Usage
This template generates a link to a Historic Scotland listed building report.

It takes two optional parameters,


 * 1) the unique number given to each listed building in Scotland. If not present, the template will fetch the value from Wikidata. Note that the number must use the LB (Listed Building) or SM (Scheduled Monument) prefix
 * 2) the building's name (extracted from the page name by default)