Template:Owned by code: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
No edit summary
Line 6: Line 6:
|CADW=Cadw
|CADW=Cadw
|EH=English Heritage
|EH=English Heritage
|HS=Historic Scotland
|Historic Scotland
|HS=Historic Environment Scotland
|SNH=Scottish Natural Heritage
|SNH=Scottish Natural Heritage
|MNH=Manx National Heritage
|MNH=Manx National Heritage

Revision as of 15:01, 14 May 2016

Template:Owned by code is triggered by:

These latter templates interrogate the {{{ownership}}} field and {{#var:shire}} variable to produce respectively a visible "Ownership" label with or without a link and a Category based on ownership and county / territory.

Template:Owned by code is to interrogate the {{{ownership}}} field and simply regularises some names and abbreviations and reduces any National Trust name just to "National Trust" so as to use the various National Trust templates.