Difference between revisions of "Template:Infobox church"

From Wikishire
Jump to: navigation, search
(2 intermediate revisions by the same user not shown)
Line 50: Line 50:
 
{{#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 87: Line 87:
 
! style="background: #D0F0C0;" {{!}} E-mail:
 
! style="background: #D0F0C0;" {{!}} E-mail:
 
{{!}} {{{email}}} }}
 
{{!}} {{{email}}} }}
|}<includeonly>{{#ifeq:{{lc:{{{status}}}}}|cathedral|{{#if:{{{church|}}}|[[Category:Cathedrals of the {{{church}}}]]}}}}{{#ifeq:{{#var:diotag}}|yes|{{#ifeq:{{lc:{{#sub:{{{diocese}}}|-8}}}}|peculiar|[[Category:Peculiars of the {{{church}}}]]|[[Category:Churches of the {{#var:dio}}]]}}}}
+
|}<includeonly>{{#ifeq:{{lc:{{{status}}}}}|cathedral|{{#if:{{{church|}}}|{{#switch:{{{church}}}
[[Category:Churches in {{namefix 2|{{#var:shire}}}}]]{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}</includeonly><noinclude>[[Category:Infoboxes|Church]]
+
|Anglican Church of Southern Africa
 +
|Anglican Church of Bermuda=[[Category:Cathedrals in the British overseas territories]]
 +
|[[Category:Cathedrals of the {{{church}}}]]}}}}}}{{#ifeq:{{#var:diotag}}|yes|{{#ifeq:{{lc:{{#sub:{{{diocese}}}|-8}}}}|peculiar|[[Category:Peculiars of the {{{church}}}]]|[[Category:Churches of the {{#var:dio}}]]}}}}
 +
[[Category:Churches in {{namefix 2|{{#var:shire}}}}]]<!--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}}}}<!--Picture test-->{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}</includeonly><noinclude>[[Category:Infoboxes|Church]]

Revision as of 08:22, 13 August 2020

Infobox church

{{{full name}}}

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

Status: {{{status}}}
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
{{{church}}}
Parish: {{{os grid ref}}}
Location
Grid reference:
Location: {{{latitude}}} {{{longitude}}}
Address: {{{address}}}
History
Built {{{built}}}
Material: {{{material}}}
{{{type}}}
{{{style}}}
Information
Website: {{{website}}}
E-mail: {{{email}}}