Difference between revisions of "Template:Infobox NT"
From Wikishire
Line 41: | Line 41: | ||
! style="background: {{#var:bground}};" {{!}} Website: | ! style="background: {{#var:bground}};" {{!}} Website: | ||
{{!}} {{{website}}} }} | {{!}} {{{website}}} }} | ||
− | |}<includeonly>{{#if:{{{county|}}}|{{CatNT|{{#var:shire}}}}}}{{#if:{{{territory|}}}|{{CatNT|{{#var:shire}}}}}}{{#if:{{{bailiwick|}}}|{{CatNT|{{#var:shire}}}}}}{{#if:{{{county 1|}}}|{{CatNT|{{namefix|{{{county 1}}}}}}}}}{{#if:{{{county 2|}}}|{{CatNT|{{namefix|{{{county 2}}}}}}}}}{{#if:{{{county 3|}}}|{{CatNT|{{namefix|{{{county 3}}}}}}}}}{{#if:{{{county 4|}}}|{{CatNT|{{namefix|{{{county 4}}}}}}}}}{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | + | |}<includeonly>{{#if:{{{county|}}}|{{CatNT|{{#var:shire}}}}}}{{#ifeq:{{#varexists:riding}}|1|[[Category:National Trust properties in {{ridingfix 2|{{#var:riding}}}}]]}}{{#if:{{{territory|}}}|{{CatNT|{{#var:shire}}}}}}{{#if:{{{bailiwick|}}}|{{CatNT|{{#var:shire}}}}}}{{#if:{{{county 1|}}}|{{CatNT|{{namefix|{{{county 1}}}}}}}}}{{#if:{{{county 2|}}}|{{CatNT|{{namefix|{{{county 2}}}}}}}}}{{#if:{{{county 3|}}}|{{CatNT|{{namefix|{{{county 3}}}}}}}}}{{#if:{{{county 4|}}}|{{CatNT|{{namefix|{{{county 4}}}}}}}}}{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} |
|grand country house | |grand country house | ||
|stately home | |stately home |
Revision as of 22:23, 8 September 2019
Infobox NT | |
[[]] | |
---|---|
National Trust | |
[[File:{{{picture}}}|250px]] {{{picture caption}}} | |
{{{class}}} | |
Grid reference: | Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}} |
Location: | {{{latitude}}} {{{longitude}}} |
Address: | {{{address}}} |
Built {{{built}}} | |
Information | |
Owned by: | {{{ownership}}} |
Website: | {{{website}}} |