Template:Ownership cat: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
No edit summary
Line 1: Line 1:
{{#switch:{{Owned by code|{{{1}}}}}
{{#switch:{{Owned by code|{{{1}}}}}
|National Trust={{CatNT|{{{2}}}}}
|National Trust={{CatNT|{{{2}}}}}
|Historic Scotland
|Landmark Trust
|Irish Landmark Trust=[[Category:{{Owned by code|{{{1}}}}} properties in {{{2}}}]]
|Cadw
|Cadw
|English Heritage
|English Heritage=
|Historic Scotland
|Scottish Natural Heritage=[[Category:{{Owned by code|{{{1}}}}} sites in {{{2}}}]]
|Scottish Natural Heritage=[[Category:{{Owned by code|{{{1}}}}} properties in {{{2}}}]]
}}<noinclude>'''Template:Ownership cat''' is for placing in infoboxes.
}}<noinclude>'''Template:Ownership cat''' is for placing in infoboxes.



Revision as of 21:16, 10 March 2014

Template:Ownership cat is for placing in infoboxes.

This template interrogates the {{{ownership}}} field and {{#var:shire}} variable to produce a Category for the article based on ownership and county / territory, if such a category has been created and included in this template. (Currently the only ownership categories which it anticipates are various national trusts and some statutory heritage bodies.)