Difference between revisions of "Template:Ownership cat"

From Wikishire
Jump to: navigation, search
m
m
Line 5: Line 5:
 
|Irish Landmark Trust=[[Category:{{Owned by code|{{{1}}}}} properties in {{namefix 2|{{{2}}}}}]]
 
|Irish Landmark Trust=[[Category:{{Owned by code|{{{1}}}}} properties in {{namefix 2|{{{2}}}}}]]
 
|Cadw
 
|Cadw
|English Heritage=
+
|English Heritage
 
|Scottish Natural Heritage=[[Category:{{Owned by code|{{{1}}}}} sites in {{{2}}}]]
 
|Scottish Natural Heritage=[[Category:{{Owned by code|{{{1}}}}} sites in {{{2}}}]]
 
}}<noinclude>'''Template:Ownership cat''' is for placing in infoboxes.
 
}}<noinclude>'''Template:Ownership cat''' is for placing in infoboxes.

Revision as of 23:37, 21 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.)