Template:Diocese fix: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:dtag|{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{1}}}|&|and}}|Saint|St}}|.|}}}}|Diocese of |}}|Presbytery of |}}
{{#vardefine:atag|{{#replace:{{#replace:{{#replace:{{{1}}}|&|and}}|Saint|St}}|St.|St}}}}<!--
{{#switch:{{#var:dtag}}
-->{{#vardefine:btag|{{#switch:{{#sub:{{#var:atag}}|0|10}}
|Diocese of={{#sub:{{#var:atag}}|11|{{#expr:{{#len:{{#var:atag}}}}-11}} }}
|Presbytery={{#sub:{{#var:atag}}|14|{{#expr:{{#len:{{#var:atag}}}}-14}} }}
|{{#var:atag}} }} }}<!--
-->{{#switch:{{#var:btag}}
|Dublin=Dublin and Glendalough
|Dublin=Dublin and Glendalough
|St David
|St Davids=St David's
|St Davids=St David's
|{{#var:dtag}}}}<noinclude>[[Category:Name fix templates|Diocese fix]]</noinclude>
|Cashel
|Cashel and Ossory=Cashel, Ferns and Ossory
|Limerick and Killaloe
|Tuam, Killala and Achonry=Tuam, Limerick and Killaloe‎
|{{#var:btag}}}}<noinclude>[[Category:Name fix templates|Diocese fix]]</noinclude>

Latest revision as of 23:49, 30 November 2022

{{{1}}}