Template:Ownership insert: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
No edit summary
 
Line 1: Line 1:
<includeonly>{{#vardefine:otag|{{Owned by code|{{{1}}} }} }}{{#switch:{{#var:otag}}
<includeonly>{{#vardefine:otag|{{Owned by code|{{{1}}} }} }}{{#switch:{{#var:otag}}
|CIL
|Commissioners for the Irish Lights
|Commissioners of the Irish Lights
|Commissioners of Irish Lights
|Irish Lights=Commissioners of Irish Lights
|CNL
|Commissioners for the Northern Lights
|Commissioners of the Northern Lights
|The Commissioners for the Northern Lights
|The Commissioners of the Northern Lights
|Northern Lights
|NLB
|Commissioners of the Northern Lights
|Northern Lighthouse Board=Northern Lighthouse Board
|National Trust={{Owned by NT|{{Part-BI|{{{2}}}}}}}
|National Trust={{Owned by NT|{{Part-BI|{{{2}}}}}}}
|State care=(State care)
|State care=(State care)

Latest revision as of 19:26, 3 April 2025

Template:Ownership insert is for placing in infoboxes.

This template interrogates the {{{ownership}}} field and {{#var:shire}} variable to produce a visible "Ownership" label and to decide whether or not it has a link.