Difference between revisions of "Template:Ownership cat"

From Wikishire
Jump to: navigation, search
Line 1: Line 1:
 
{{#switch:{{Owned by code|{{{1}}}}}
 
{{#switch:{{Owned by code|{{{1}}}}}
|National Trust={{CatNT|{{{2}}}}}
+
|National Trust
 +
|National Trust for Scotland={{CatNT|{{{2}}}}}
 
|Landmark Trust
 
|Landmark Trust
 
|Irish Landmark Trust
 
|Irish Landmark Trust

Revision as of 22:43, 14 May 2016

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