Difference between revisions of "Template:Infobox church"

From Wikishire
Jump to: navigation, search
(13 intermediate revisions by 2 users not shown)
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:{{#sub:{{{diocese}}}|-8}}}}|peculiar|({{{diocese}}})|{{#ifeq:{{#sub:{{{diocese}}}|0|7}}|diocese|{{{diocese}}}|Diocese of {{{diocese}}}}} }} }}
+
|Church in Wales
 +
|Anglican Church of Southern Africa={{#vardefine:diotag|yes}}{{#vardefine:dio|{{#ifeq:{{lc:{{#sub:{{{diocese}}}|-8}}}}|peculiar|({{{diocese}}})|{{#ifeq:{{lc:{{#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:{{lc:{{#sub:{{{presbytery}}}|0|7}}}}|presbyt|{{{presbytery}}}|{{#switch:{{{presbytery}}}
 +
|Europe
 +
|International
 +
|international=International Presbytery
 +
|Presbytery of {{{presbytery}}} }} }} }}
 
}}<!--Op codes here
 
}}<!--Op codes here
 
-->
 
-->
Line 13: Line 18:
 
|-
 
|-
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{#if: {{{city<includeonly>|</includeonly>}}}|{{ifif|{{{city}}}}},&#32;}}{{#if: {{{town<includeonly>|</includeonly>}}}|{{ifif|{{{town}}}}},&#32;}}{{#if: {{{village<includeonly>|</includeonly>}}}|{{ifif|{{{village}}}}},&#32;}}{{#var:shire}}
+
{{#if: {{{city<includeonly>|</includeonly>}}}|{{ifif|{{{city}}}}},&#32;}}{{#if: {{{town<includeonly>|</includeonly>}}}|{{ifif|{{{town}}}}},&#32;}}{{#if: {{{village<includeonly>|</includeonly>}}}|{{ifif|{{{village}}}}},&#32;}}{{#switch:{{#var:shire}}
 +
|St Helena, Ascension and Tristan da Cunha
 +
|South Georgia and the South Sandwich Islands={{#if:{{{island|}}}|{{{island}}}}}<br />{{#var:shire}}
 +
|{{#var:shire}}}}
 
|-
 
|-
 
{{#if: {{{status<includeonly>|</includeonly>}}} |
 
{{#if: {{{status<includeonly>|</includeonly>}}} |
Line 42: 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>}}} |
 
! style="background: #D0F0C0;" {{!}} Location:
 
! style="background: #D0F0C0;" {{!}} Location:
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14}} }}
+
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14|name={{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}}}}}} }}
 
|-
 
|-
 
{{#if: {{{address<includeonly>|</includeonly>}}} |
 
{{#if: {{{address<includeonly>|</includeonly>}}} |
Line 79: Line 87:
 
! 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}}}]]}}{{#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 {{#var:shire}}]]</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}}}