Difference between revisions of "Template:Infobox church"

From Wikishire
Jump to: navigation, search
Line 3: Line 3:
 
|Church of England
 
|Church of England
 
|Church of Ireland
 
|Church of Ireland
|Church in Wales={{#vardefine:diotag|yes}}{{#vardefine:dio|{{#ifeq:{{lc:{{{diocese}}}}}|peculiar|Peculiar|{{#ifeq:{{#sub:{{{diocese}}}|0|7}}|diocese|{{{diocese}}}|Diocese of {{{diocese}}}}} }} }}
+
|Church in Wales={{#vardefine:diotag|yes}}{{#vardefine:dio|{{#ifeq:{{lc:{{{diocese}}}}}|peculiar|(Peculiar)|{{#ifeq:{{#sub:{{{diocese}}}|0|7}}|diocese|{{{diocese}}}|Diocese of {{{diocese}}}}} }} }}
 
|Church of Scotland
 
|Church of Scotland
 
|Presbyterian Church of Ireland={{#vardefine:diotag|yes}}{{#vardefine:dio|{{#ifeq:{{#sub:{{{presbytery}}}|0|7}}|presbyt|{{{presbytery}}}|Presbytery of {{{presbytery}}}}} }}
 
|Presbyterian Church of Ireland={{#vardefine:diotag|yes}}{{#vardefine:dio|{{#ifeq:{{#sub:{{{presbytery}}}|0|7}}|presbyt|{{{presbytery}}}|Presbytery of {{{presbytery}}}}} }}
Line 79: Line 79:
 
! style="background: #D0F0C0;" {{!}} E-mail:
 
! style="background: #D0F0C0;" {{!}} E-mail:
 
{{!}} {{{email}}} }}
 
{{!}} {{{email}}} }}
|}<includeonly>{{#ifeq:{{#var:diotag}}|yes|{{#ifeq:{{lc:{{{status}}}}}|cathedral|[[Category:Cathedrals of the {{{church}}}]]}}[[Category:Churches of the {{#var:dio}}]]}}
+
|}<includeonly>{{#ifeq:{{#var:diotag}}|yes|{{#ifeq:{{lc:{{{status}}}}}|cathedral|[[Category:Cathedrals of the {{{church}}}]]}}{{#ifeq:{{#var|diotag}}|Peculiar|[[Category:Peculiars of the {{{church}}}]]|[[Category:Churches of the {{#var:dio}}]]}}}}
 
[[Category:Churches in {{#var:shire}}]]</includeonly><noinclude>[[Category:Infoboxes|Church]]
 
[[Category:Churches in {{#var:shire}}]]</includeonly><noinclude>[[Category:Infoboxes|Church]]

Revision as of 23:49, 12 May 2016

Infobox church

{{{full name}}}

{{{city}}}, {{{town}}}, {{{village}}},

Status: {{{status}}}
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
{{{church}}}
Parish: {{{os grid ref}}}
Location
Grid reference: Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
Location: {{{latitude}}} {{{longitude}}}
Address: {{{address}}}
History
Built {{{built}}}
Material: {{{material}}}
{{{type}}}
{{{style}}}
Information
Website: {{{website}}}
E-mail: {{{email}}}