Difference between revisions of "Template:Infobox monastery"

From Wikishire
Jump to: navigation, search
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| 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|castle}}{{#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}}} }} }}{{#vardefine:type|heritage}}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}<!--Op codes here
+
|colspan=2 class= style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|heritage}}{{#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: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}<!--Op codes here
 
-->
 
-->
 
|-
 
|-
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{#var:shire}}
+
{{#var:shire}}{{#ifeq:{{#var:shire}}|Yorkshire|{{#if:{{{riding|}}}|{{riding|{{{riding}}}}}<br /><small>{{ridinglink|{{#var:riding}}}}</small>}} }}
 
|- class="note"
 
|- class="note"
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
Line 21: Line 21:
 
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
 
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Grid reference:
 
! style="background: #D0F0C0;" {{!}} Grid reference:
{{!}} {{{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: {{{town<includeonly>|</includeonly>}}} |
 
{{#if: {{{town<includeonly>|</includeonly>}}} |
Line 33: Line 33:
 
{{#if: {{{village<includeonly>|</includeonly>}}} |
 
{{#if: {{{village<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Village:
 
! style="background: #D0F0C0;" {{!}} Village:
{{!}} {{{main village}}} }}
+
{{!}} {{{village}}} }}
 
|-
 
|-
 
{{#if: {{{order<includeonly>|</includeonly>}}} |
 
{{#if: {{{order<includeonly>|</includeonly>}}} |
Line 44: Line 44:
 
! style="background: #D0F0C0;" {{!}}  
 
! style="background: #D0F0C0;" {{!}}  
 
{{!}} Built {{{built}}} {{#if: {{{builder<includeonly>|</includeonly>}}} by {{{builder}}} }}{{#if: {{{demolished<includeonly>|</includeonly>}}}<br/>Demolished in {{{demolished}}} }} }}
 
{{!}} Built {{{built}}} {{#if: {{{builder<includeonly>|</includeonly>}}} by {{{builder}}} }}{{#if: {{{demolished<includeonly>|</includeonly>}}}<br/>Demolished in {{{demolished}}} }} }}
 +
|-
 +
{{#if: {{{founded<includeonly>|</includeonly>}}} |
 +
! style="background: #D0F0C0;" {{!}} Founded:
 +
{{!}} {{{founded}}} }}
 
|-
 
|-
 
{{#if: {{{established<includeonly>|</includeonly>}}} |
 
{{#if: {{{established<includeonly>|</includeonly>}}} |
Line 56: Line 60:
 
! style="background: #D0F0C0;" {{!}} Founder:
 
! style="background: #D0F0C0;" {{!}} Founder:
 
{{!}} {{ifif|{{{founder}}}}} }}
 
{{!}} {{ifif|{{{founder}}}}} }}
 +
|-
 +
{{#if: {{{foundress<includeonly>|</includeonly>}}} |
 +
! style="background: #D0F0C0;" {{!}} Foundress:
 +
{{!}} {{ifif|{{{foundress}}}}} }}
 
|-
 
|-
 
{{#if: {{{dedication<includeonly>|</includeonly>}}} |
 
{{#if: {{{dedication<includeonly>|</includeonly>}}} |
Line 63: Line 71:
 
{{#if: {{{diocese<includeonly>|</includeonly>}}} |
 
{{#if: {{{diocese<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Diocese:
 
! style="background: #D0F0C0;" {{!}} Diocese:
{{!}} {{ifif:Diocese of {{{diocese}}}}} }}
+
{{!}} {{ifif|Diocese of {{{diocese}}}}} }}
 
|-
 
|-
 
{{#if: {{{churches<includeonly>|</includeonly>}}} |
 
{{#if: {{{churches<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Controlled<br/>churches:
 
! style="background: #D0F0C0;" {{!}} Controlled<br/>churches:
 
{{!}} {{{churches}}} }}
 
{{!}} {{{churches}}} }}
 +
|-
 +
{{#if: {{{dissolved<includeonly>|</includeonly>}}} |
 +
! style="background: #D0F0C0;" {{!}} Dissolved:
 +
{{!}} {{{dissolved}}} }}
 
|-
 
|-
 
{{#if: {{{disestablished<includeonly>|</includeonly>}}} |
 
{{#if: {{{disestablished<includeonly>|</includeonly>}}} |
Line 85: Line 97:
 
{{#if: {{{ownership<includeonly>|</includeonly>}}} |
 
{{#if: {{{ownership<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Owned by:
 
! style="background: #D0F0C0;" {{!}} Owned by:
{{!}} {{Ownership insert|{{{ownership}}}|{{#var:shire}}}}{{Ownership cat|{{{ownership}}}|{{#var:shire}}}} }}
+
{{!}} {{Ownership insert|{{{ownership}}}|{{#var:shire}}}}{{#if:{{{controlled by<includeonly>|</includeonly>}}}|<br/>(in the care of {{{controlled by}}}){{Ownership cat|{{{controlled by}}}|{{#var:shire}}}} }}{{Ownership cat|{{{ownership}}}|{{#var:shire}}}} }}
 
|-
 
|-
 
{{#if: {{{public access<includeonly>|</includeonly>}}} |
 
{{#if: {{{public access<includeonly>|</includeonly>}}} |
Line 98: Line 110:
 
! style="background: #D0F0C0;" {{!}} E-mail:
 
! style="background: #D0F0C0;" {{!}} E-mail:
 
{{!}} {{{email}}} }}
 
{{!}} {{{email}}} }}
|}</includeonly><includeonly>[[Category:{{#switch:
+
|}<includeonly>[[Category:{{#switch:{{#var:shire}}
 
|Bailiwick of Jersey
 
|Bailiwick of Jersey
 
|Bailiwick of Guernsey=Monastic sites in the {{#var:shire}}
 
|Bailiwick of Guernsey=Monastic sites in the {{#var:shire}}
 
|Isle of Man=Monastic sites on the Isle of Man
 
|Isle of Man=Monastic sites on the Isle of Man
 
|Monastic sites in {{#var:shire}}
 
|Monastic sites in {{#var:shire}}
}}]]</includeonly><noinclude>{{Infobox monastery/doc}}
+
}}]]{{Riding category|Monastic sites}}<!--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>{{Infobox monastery/doc}}
 
[[Category:Infoboxes|Monastery]]</noinclude>
 
[[Category:Infoboxes|Monastery]]</noinclude>

Latest revision as of 22:34, 14 August 2023

Infobox monastery
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
{{{class}}}
Type: {{{type}}}
Location
Grid reference:
Location: {{{latitude}}} {{{longitude}}}
Main town: {{{town}}}
Village: {{{village}}}
Order: {{{order}}}
History
Built {{{built}}}
Founded: {{{founded}}}
Established: {{{established}}}
Mother house: {{{mother}}}
Founder: {{{founder}}}
Foundress: {{{foundress}}}
Dedication: {{{dedication}}}
Diocese: Diocese of {{{diocese}}}
Controlled
churches:
{{{churches}}}
Dissolved: {{{dissolved}}}
Disestablished: {{{disestablished}}}
Information
Condition: {{{condition}}}
Remains: {{{remains}}}
Owned by: {{{ownership}}}
(in the care of {{{controlled by}}})
Public access: {{{public access}}}
Website: {{{website}}}
E-mail: {{{email}}}
Template:Infobox monastery/doc