Difference between revisions of "Template:Charity"
From Wikishire
(Created page with "{{#vardefine:jur|{{#switch:{{lc:{{#str:{{{1}}}|0|1}} }} |e=EW |s=SC |n |u=NI |{{#ifeq:{{#varexist:shire}}|1|{{Part-BI|{{#var:shire}}}}|EW}} }} }}{{#vardefine:bareno|{{#ifeq:{{...") |
m |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#vardefine:jur|{{#switch:{{lc:{{# | + | {{#vardefine:jur|{{#switch:{{lc:{{#sub:{{{1}}}|0|1}}}} |
|e=EW | |e=EW | ||
|s=SC | |s=SC | ||
|n | |n | ||
|u=NI | |u=NI | ||
− | |{{#ifeq:{{# | + | |{{#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}} |
− | }} {{{2}}}] - Registered Charity no. {{{1}}} at the {{#switch: | + | }}}}[{{#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]] |
Revision as of 22:24, 1 March 2015
[ {{{2}}}] - Registered Charity no. {{{1}}} at the Charity Commission