Template:Owned by code: Difference between revisions
Jump to navigation
Jump to search
Created page with '<includeonly>{{#switch:{{#sub:0|14|{{{1}}}}} |National Trust |NT |NTE=National Trust }}{{#switch:{{{ownership}}} |CADW=Cadw |EH=English Heritage |HS=Historic Scotland |SNH=Scotti…' |
mNo edit summary |
||
Line 8: | Line 8: | ||
|HS=Historic Scotland | |HS=Historic Scotland | ||
|SNH=Scottish Natural Heritage | |SNH=Scottish Natural Heritage | ||
|MNH=Manx National Heritage | |||
|GHT=Gibraltar Heritage Trust | |||
|{{{1}}} | |{{{1}}} | ||
}}</includeonly><noinclude>'''Template:Owned by code''' is triggered by: | }}</includeonly><noinclude>'''Template:Owned by code''' is triggered by: |
Revision as of 12:42, 13 April 2015
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.