Difference between revisions of "Template:Ownership cat"
From Wikishire
Line 14: | Line 14: | ||
|National Trust for Jersey | |National Trust for Jersey | ||
|Manx National Heritage=[[Category:{{Owned by code|{{{1}}}}} properties]] | |Manx National Heritage=[[Category:{{Owned by code|{{{1}}}}} properties]] | ||
+ | |Commissioners of Irish Lights | ||
+ | |Commissioners of the Irish Lights | ||
+ | |Irish Lighthouse Board={{#ifeq:{{#var:type}}|lighthouse|[[Category:Lighthouses of the Commissioners of Irish Lights]]}} | ||
+ | |Commissioners of Northern Lights | ||
+ | |Commissioners of the Northern Lights | ||
+ | |Northern Lighthouse Board={{#ifeq:{{#var:type}}|lighthouse|[[Category:Lighthouses of the Northern Lighthouse Board]]}} | ||
+ | |Trinity House={{#ifeq:{{#var:type}}|lighthouse|[[Category:Lighthouses of Trinity House]]}} | ||
}}<noinclude>'''Template:Ownership cat''' is for placing in infoboxes. | }}<noinclude>'''Template:Ownership cat''' is for placing in infoboxes. | ||
Revision as of 17:28, 29 September 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.)