Difference between revisions of "Template:Infobox monastery"

From Wikishire
Jump to: navigation, search
 
(5 intermediate revisions by the same user 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|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}}{{#ifeq:{{#var:shire}}|Yorkshire|{{#if:{{{riding|}}}|{{riding|{{{riding}}}}}<br /><small>{{#switch:{{#var:riding}}
+
{{#var:shire}}{{#ifeq:{{#var:shire}}|Yorkshire|{{#if:{{{riding|}}}|{{riding|{{{riding}}}}}<br /><small>{{ridinglink|{{#var:riding}}}}</small>}} }}
|East Riding of Yorkshire=[[East Riding of Yorkshire|East Riding]]
+
|North Riding of Yorkshire=[[North Riding of Yorkshire|North Riding]]
+
|West Riding of Yorkshire=[[West Riding of Yorkshire|West Riding]]
+
|}}</small>}} }}
+
 
|- class="note"
 
|- class="note"
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
Line 25: 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>}}} |
Line 48: 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 60: 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 72: Line 76:
 
! 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 107: Line 115:
 
|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}}
}}]]{{Riding category|Monastic sites}}{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}</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