Difference between revisions of "Template:Charity"

From Wikishire
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
|n
 
|n
 
|u=NI
 
|u=NI
|{{#ifeq:{{#varexists:shire}}|1|{{Part-BI|{{#var:shire}}}}|EW}}}}}}{{#vardefine:bareno|{{#ifeq:{{#expr:{{{1}}}/1}}|{{{1}}}|{{{1}}}|{{#sub:{{{1}}}|2|{{#len:{{{1}}}-2}}}}}}}}{{#vardefine:ccweb|{{#switch:{{#var:jur}}
+
|{{#ifeq:{{#varexists:shire}}|1|{{#switch:{{Part-BI|{{#var:shire}}}}
 +
|Northern Ireland=NI
 +
|Scotland=SC
 +
|EW}}}}}}}}{{#vardefine:bareno|{{#ifeq:{{#expr:{{{1}}}/1}}|{{{1}}}|{{{1}}}|{{#sub:{{{1}}}|2|{{#len:{{{1}}}-2}}}}}}}}{{#vardefine:ccweb|{{#switch:{{#var:jur}}
 
|NI=https://www.charitycommissionni.org.uk/Showcharity/RegisterOfCharities/CharityFramework.aspx?RegisteredCharityNumber={{#var:bareno}}&SubsidiaryNumber=0
 
|NI=https://www.charitycommissionni.org.uk/Showcharity/RegisterOfCharities/CharityFramework.aspx?RegisteredCharityNumber={{#var:bareno}}&SubsidiaryNumber=0
 
|SC=https://www.oscr.org.uk/search-charity-register/charity-extract/?charitynumber=sc{{#var:bareno}}
 
|SC=https://www.oscr.org.uk/search-charity-register/charity-extract/?charitynumber=sc{{#var:bareno}}
|http://apps.charitycommission.gov.uk/ShowCharity/RegisterOfCharities/searchresulthandler.aspx?chyno={{#var:bareno}}
+
|EW=http://apps.charitycommission.gov.uk/ShowCharity/RegisterOfCharities/searchresulthandler.aspx?chyno={{#var:bareno}}
 
}}}}[{{#var:ccweb}} {{{2}}}] - Registered Charity no. {{{1}}} at the {{#switch:{{#var:jur}}
 
}}}}[{{#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 22:24, 1 March 2015

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