Template:Charity: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:jur|{{#switch:{{lc:{{#str:{{{1}}}|0|1}} }}
{{#vardefine:jur|{{#switch:{{lc:{{#sub:{{{1}}}|0|1}}}}
|e=EW
|e=EW
|s=SC
|s=SC
|n
|n
|u=NI
|u=NI
|{{#ifeq:{{#varexist:shire}}|1|{{Part-BI|{{#var:shire}}}}|EW}} }} }}{{#vardefine:bareno|{{#ifeq:{{#expr:{{{1}}}/1}}|{{{1}}}|{{{1}}}|{{#str:{{{1}}}|2|{{#len:{{{1}}}-2}} }} }} }}{{#vardefine:weblink|{{#switch:{{#var:jur}}
|{{#ifeq:{{#varexists:shire}}|1|{{#switch:{{Part-BI|{{#var:shire}}}}
|NI=https://www.charitycommissionni.org.uk/Showcharity/RegisterOfCharities/CharityFramework.aspx?RegisteredCharityNumber={{#var:bareno}}&SubsidiaryNumber=0
|Northern Ireland=NI
|SC=https://www.oscr.org.uk/search-charity-register/charity-extract/?charitynumber=sc{{#var:bareno}}
|Scotland=SC
|http://apps.charitycommission.gov.uk/ShowCharity/RegisterOfCharities/searchresulthandler.aspx?chyno={{#var:bareno}}
|EW}}}}}}}}{{#vardefine:bareno|{{#ifeq:{{#expr:{{{1}}}/1}}|{{{1}}}|{{{1}}}|{{#sub:{{{1}}}|2|{{#len:{{{1}}}-2}}}}}}}}{{#vardefine:ccweb|{{#switch:{{#var:jur}}
}}}}[{{#var:weblink}} {{{2}}}] - Registered Charity no. {{{1}}} at the {{#switch:{{#var:jur}}
|NI=https://www.charitycommissionni.org.uk/charity-details/?regId={{#var:bareno}}}&subId=0
|SC=https://www.oscr.org.uk/about-charities/search-the-register/charity-details?number=SC{{#var:bareno}}
|EW=https://register-of-charities.charitycommission.gov.uk/charity-details/?regId={{#var:bareno}}&subId=0
}}}}[{{#var:ccweb}} {{{2}}}] - Registered Charity no. {{{1}}} at the {{#switch:{{#var:jur}}
|NI=Charity Commission for Northern Ireland
|NI=Charity Commission for Northern Ireland
|SC=Office of the Scottish Charity Regulator
|SC=Office of the Scottish Charity Regulator
|Charity Commission}}<noinclude>[[Category:Outside link templates|Charity]]
|Charity Commission}}<noinclude>[[Category:Outside link templates|Charity]]

Latest revision as of 21:30, 21 June 2024

[ {{{2}}}] - Registered Charity no. {{{1}}} at the Charity Commission