Template:Owned by code

From Wikishire
Revision as of 20:09, 4 January 2013 by RB (Talk | contribs) (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…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.