Template:Diocese fix: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine: | {{#vardefine:atag|{{#replace:{{#replace:{{#replace:{{{1}}}|&|and}}|Saint|St}}|St.|St}}}}<!-- | ||
{{#switch:{{#var: | -->{{#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 | ||
|Cashel | |Cashel | ||
|Cashel and Ossory=Cashel, Ferns and Ossory | |Cashel and Ossory=Cashel, Ferns and Ossory | ||
|{{#var: | |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}}}