Template:Owned by code: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
HS retro-branded
 
Line 9: Line 9:
|eh=English Heritage
|eh=English Heritage
|historic scotland
|historic scotland
|hs=Historic Environment Scotland
|historic environment scotland
|hs=Historic Scotland
|snh=Scottish Natural Heritage
|snh=Scottish Natural Heritage
|mnh=Manx National Heritage
|mnh=Manx National Heritage
Line 19: Line 20:
|England=English Heritage
|England=English Heritage
|Republic of Ireland=Heritage Ireland
|Republic of Ireland=Heritage Ireland
|Scotland=Historic Environment Scotland
|Scotland=Historic Scotland
|Wales=Cadw
|Wales=Cadw
|State care}}
|State care}}

Latest revision as of 14:32, 18 February 2019

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.