Difference between revisions of "Template:Infobox LT"
From Wikishire
(Created page with '{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{county 1| }}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefin…') |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|- | |- | ||
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}} | ! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}} | ||
− | {{#if:{{{village|}}}|{{ifif|{{{village}}}}}<br/>}}{{#if:{{{town|}}}|{{ifif|{{{town}}}}}<br/>}}[[{{#var:shire}}]] | + | {{#if:{{{village|}}}|{{ifif|{{{village}}}}}<br/>}}{{#if:{{{town|}}}|{{ifif|{{{town}}}}}<br/>}}[[{{#var:shire}}]]{{#ifeq:{{#var:shire}}|Yorkshire|{{#if:{{{riding|}}}|{{riding|{{{riding}}}}}<br /><small>{{ridinglink|{{{riding}}}}}</small>}} }} |
|- | |- | ||
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}} | ! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}} | ||
Line 18: | Line 18: | ||
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} | | {{#if: {{{os grid ref<includeonly>|</includeonly>}}} | | ||
! style="background: {{#var:bground}};" {{!}} Grid reference: | ! style="background: {{#var:bground}};" {{!}} Grid reference: | ||
− | {{!}} {{map|{{{os grid ref}}}}} }} | + | {{!}} {{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}} }} }} |
|- | |- | ||
{{#if: {{{latitude<includeonly>|</includeonly>}}} | | {{#if: {{{latitude<includeonly>|</includeonly>}}} | | ||
! style="background: {{#var:bground}};" {{!}} Location: | ! style="background: {{#var:bground}};" {{!}} Location: | ||
− | {{!}} {{ | + | {{!}} {{wmap|{{{latitude}}}|{{{longitude}}}}} }} |
|- | |- | ||
{{#if: {{{address<includeonly>|</includeonly>}}} | | {{#if: {{{address<includeonly>|</includeonly>}}} | | ||
Line 41: | Line 41: | ||
! style="background: {{#var:bground}};" {{!}} Website: | ! style="background: {{#var:bground}};" {{!}} Website: | ||
{{!}} {{{website}}} }} | {{!}} {{{website}}} }} | ||
− | |}<includeonly>{{#if:{{{county|}}}|{{ | + | |}<includeonly>{{#if:{{{county|}}}|[[Category:Landmark Trust properties in {{namefix 2|{{#var:shire}}}}]]}}{{#if:{{{territory|}}}|[[Category:Landmark Trust properties in {{namefix 2|{{#var:shire}}}}]]}}{{#if:{{{bailiwick|}}}|[[Category:Landmark Trust properties in {{namefix 2|{{#var:shire}}}}]]}}{{#if:{{{county 1|}}}|[[Category:Landmark Trust properties in {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|[[Category:Landmark Trust properties in {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|[[Category:Landmark Trust properties in {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|[[Category:Landmark Trust properties in {{namefix 2|{{{county 4}}}}}]]}}{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} |
+ | |grand country house | ||
+ | |stately home | ||
+ | |fortified house | ||
+ | |country house | ||
+ | |country mansion | ||
+ | |manor house | ||
+ | |estate house | ||
+ | |plantation house=[[Category:Country houses in {{namefix 2|{{#var:shire}}}}]]{{riding category|Country houses}} | ||
+ | |house | ||
+ | |cottage | ||
+ | |town house=[[Category:Buildings and structures in {{namefix 2|{{#var:shire}}}}]]{{riding category|Buildings and structures}} | ||
+ | |folly tower | ||
+ | |folly={{buildcat|Follies|{{#var:shire}}}} | ||
+ | |wood | ||
+ | |woodland | ||
+ | |forest | ||
+ | |coppice=[[Category:Forests and woodlands of {{#var:shire}}]]{{riding category|Forests and woodlands|of}} | ||
+ | |watermill | ||
+ | |water mill=[[Category:Watermills in {{namefix 2|{{#var:shire}}}}]]{{riding category|Watermills}} | ||
+ | |windmill=[[Category:Windmills in {{namefix 2|{{#var:shire}}}}]]{{riding category|Windmills}} | ||
+ | |garden=[[Category:Gardens in {{namefix 2|{{#var:shire}}}}]]{{riding category|Garden}}}}}}{{#if:{{{garden|}}}|{{#vardefine:gtag|{{#ifeq:{{#sub:{{{garden}}}|0|3}}|by |{{#sub:{{{garden}}}|3|{{#len:{{{garden}}}}}-3}}|{{{garden}}} }} }}{{#switch:{{lc:{{{#var:gtag}}}}} | ||
+ | |no | ||
+ | |none= | ||
+ | |{{Gardener|{{#var:gtag}}|{{#var:shire}}}} | ||
+ | }}}}{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}</includeonly><noinclude>{{Infobox LT property/doc}} | ||
[[Category:Infoboxes|Landmark Trust]] [[Category:Landmark Trust templates|Infobox]] | [[Category:Infoboxes|Landmark Trust]] [[Category:Landmark Trust templates|Infobox]] |
Latest revision as of 08:30, 13 August 2020
Infobox LT | |
[[]] | |
---|---|
Landmark Trust | |
[[File:{{{picture}}}|250px]] {{{picture caption}}} | |
{{{class}}} | |
Grid reference: | |
Location: | {{{latitude}}} {{{longitude}}} |
Address: | {{{address}}} |
Built {{{built}}} | |
Information | |
Owned by: | {{{ownership}}} |
Website: | {{{website}}} |