Difference between revisions of "Template:Infobox building"

From Wikishire
Jump to: navigation, search
Line 128: Line 128:
 
|roman villa={{buildcat|Roman villas|{{#var:shire}}}}
 
|roman villa={{buildcat|Roman villas|{{#var:shire}}}}
 
|{{buildcat|Buildings and structures|{{#var:shire}}}}
 
|{{buildcat|Buildings and structures|{{#var:shire}}}}
}}|{{buildcat|Buildings and structures|{{#var:shire}}}}}}{{#ifeq:{{lc:{{{garden}}}}}|yes|{{buildcat|Gardens|{{#var:shire}}}}}}{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}</includeonly><noinclude>[[Category:Infoboxes|Building]]
+
}}|{{buildcat|Buildings and structures|{{#var:shire}}}}}}{{#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>[[Category:Infoboxes|Building]]

Revision as of 21:39, 30 September 2019

Infobox building
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
{{{class}}}
Type: {{{type}}}
Location
Grid reference: Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
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}}}