Difference between revisions of "Template:Infobox house"
From Wikishire
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} | | {{#if: {{{os grid ref<includeonly>|</includeonly>}}} | | ||
! style="background: #D0F0C0;" {{!}} Grid reference: | ! style="background: #D0F0C0;" {{!}} Grid reference: | ||
− | {{!}} {{map|{{{os grid ref}}}}} }} | + | {{!}} {{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}} }} }} |
|- | |- | ||
{{#if: {{{latitude<includeonly>|</includeonly>}}} | | {{#if: {{{latitude<includeonly>|</includeonly>}}} | | ||
Line 98: | Line 98: | ||
|roman villa=[[Category:Roman villas in {{#var:shire}}]]{{riding category|Roman villas}}{{riding category|Roman villas}} | |roman villa=[[Category:Roman villas in {{#var:shire}}]]{{riding category|Roman villas}}{{riding category|Roman villas}} | ||
|{{buildcat|Buildings and structures|{{#var:shire}}}} | |{{buildcat|Buildings and structures|{{#var:shire}}}} | ||
− | }}|{{Buildcat|Buildings and structures|{{#var:shire}}}}{{riding category|Buildings and structures}}}}{{#if:{{{garden|}}}|{{#vardefine:gtag|{{#ifeq:{{#sub:{{{garden}}}|0|3}}|by |{{#sub:{{{garden}}}|3|{{#len:{{{garden}}}}}-3}}|{{{garden}}} }} }}{{#switch:{{lc:{{{#var:gtag}}}}} | + | }}|{{Buildcat|Buildings and structures|{{#var:shire}}}}{{riding category|Buildings and structures}}}}<!--Townsite code line-->{{#vardefine:town|{{extract name|{{#if:{{{city|}}}|{{{city}}}|{{#if:{{{town|}}}|{{{town}}}|{{#if:{{{village|}}}|{{{village}}}|0 }} }} }} }} }}{{town site|{{town fix|{{#var:town}}}}|{{#var:type}}}}<!--Garden code-->{{#if:{{{garden|}}}|{{#vardefine:gtag|{{#ifeq:{{#sub:{{{garden}}}|0|3}}|by |{{#sub:{{{garden}}}|3|{{#len:{{{garden}}}}}-3}}|{{{garden}}} }} }}{{#switch:{{lc:{{{#var:gtag}}}}} |
|no | |no | ||
|none= | |none= | ||
|{{Gardener|{{#var:gtag}}|{{#var:shire}}}} | |{{Gardener|{{#var:gtag}}|{{#var:shire}}}} | ||
− | }}}}{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}</includeonly><noinclude>[[Category:Infoboxes|House]] | + | }}}}<!--Picture test-->{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}</includeonly><noinclude>[[Category:Infoboxes|House]] |
Latest revision as of 08:29, 13 August 2020
Infobox house | |
[[]] | |
---|---|
[[File:{{{picture}}}|250px]] {{{picture caption}}} | |
{{{class}}} | |
Location | |
Grid reference: | |
Location: | {{{latitude}}} {{{longitude}}} |
City: | {{{city}}} |
Town: | {{{town}}} |
Village: | {{{village}}} |
History | |
Address: | {{{address}}} |
Built {{{built}}} | |
For: | {{{client}}} by {{{architect}}} |
Material: | {{{material}}} |
Structure: | {{{structural system}}} |
{{{type}}} | |
{{{style}}} | |
Information | |
Condition: | {{{condition}}} |
Owned by: | {{{ownership}}} (in the care of {{{controlled by}}}) |
Website: | {{{website}}} |
E-mail: | {{{email}}} |