Template:Infobox church: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with "{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; pa..."
 
mNo edit summary
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
|colspan=2 class= style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|church}}{{#if: {{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#if: {{{greek| }}}| <br>{{lang|el|{{{greek}}} }} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}{{#switch:{{{church}}}
|colspan=2 style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|church}}{{#if: {{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#if: {{{greek| }}}| <br>{{lang|el|{{{greek}}} }} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}{{#switch:{{{church}}}
|Church of England
|Church of England
|Church of Ireland
|Church of Ireland
|Church in Wales={{#vardefine:diotag|yed}}{{#vardefine:dio:{{#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}}}}} }} }}
|Anglican Church of Bermuda=[[Category:Churches of the Diocese of Bermuda]]
|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 19:
|-
|-
! 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}}}}}, }}{{#if: {{{town<includeonly>|</includeonly>}}}|{{ifif|{{{town}}}}}, }}{#if: {{{village<includeonly>|</includeonly>}}}|{{ifif|{{{village}}}}}, }}{{#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 51:
{{#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}}}}} }}
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14|name={{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}}}}}} }}
|-
|-
{{#if: {{{address<includeonly>|</includeonly>}}} |
{{#if: {{{address<includeonly>|</includeonly>}}} |
Line 79: Line 88:
! style="background: #D0F0C0;" {{!}} E-mail:
! style="background: #D0F0C0;" {{!}} E-mail:
{{!}} {{{email}}} }}
{{!}} {{{email}}} }}
|}<includeonly>{{#ifeq:{{#var:diotag}}|yes|{{#ifeq:{{lc:{{{status}}}}}|cathedral|[[Category:Cathdrals 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 {{namefix 3|{{#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]]

Latest revision as of 17:09, 25 October 2024

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}}}