Difference between revisions of "Template:Ownership cat"

From Wikishire
Jump to: navigation, search
(Created page with '{{#switch:{{Owned by code|{{{1}}}}} |National Trust={{NT cat|{{{2}}}}} |Cadw |English Heritage |Historic Scotland |Scottish Natural Heritage=[[Category:{{Owned by code|{{{1}}}}} …')
 
m
Line 1: Line 1:
 
{{#switch:{{Owned by code|{{{1}}}}}
 
{{#switch:{{Owned by code|{{{1}}}}}
|National Trust={{NT cat|{{{2}}}}}
+
|National Trust={{CatNT|{{{2}}}}}
 
|Cadw
 
|Cadw
 
|English Heritage
 
|English Heritage

Revision as of 00:39, 12 February 2013

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.)