Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 TemplateData  





3 Examples  





4 See also  














Template:EW charity






العربية
فارسی

Հայերեն
Ilokano
Bahasa Indonesia



Português
سنڌي
Српски / srpski
Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


"EW charity, registered charity no. number needed". Charity Commission for England and Wales.

Thanks are due to Mr Tony Dunn of the Register Development Team at the Charity Commission, whose helpful response to an email in Feb 2009 allowed this template to be updated to provide access to the records after redesign of the Charity Commission website.

And further thanks for his help in May 2013 after another redesign of the Charity Commission website.
Another redesign of the Charity Commission website in 2020 was less helpful, as in some cases charity numbers no longer map to the correct URL. Instead we are now linking to a search for the charity number.

This template calls {{cite web}} and passes into {{cite web}} the parameters described in the section "usage". Calling {{cite web}}, means that this template is formatted in a similar way to other citations and contains the ability to be linked to short citations using {{harv}}.

Usage

Two non-standard parameters:

 num=charity regno — This must be present or there is a visual red warning
 name=charity name — For now, if no name is given, then the Wikipedia article name is used (in the future, the default will be changed to display nothing).

All the remaining parameters are described in detail in Help:CS1 as used in standard citation templates such as {{cite book}}

Two parameters are filled in by the template and can not be changed:

|title=charity name , registered charity no. charity regno
|url=url + charity regno

Thee parameters are filled by the template (if desired one or more all three can be reassigned):

|publisher=[[Charity Commission for England and Wales]]
|ref= Charity Commission charity regno — This can be set to none if no reference link is needed; see {{SfnRef}} for alternative settings.

The parameters below are available and will be displayed if given a value:

|date=
|year=
|orig-year=
|access-date=
|mode=

Deprecated parameters

{{EW charity|regno}}

or

{{EW charity|regno|charityname}}

Where "regno" is the charity's registration number, and "charityname" is the name to appear in the link, if this is not the pagename.

The template has one required parameter, the charity's registration number. This must be input without any spaces.

If the name of the page is not the name of the charity (perhaps it has a disambiguation, or the page includes several branches of an international charity), then the second parameter is the name which should appear in the link.

Thus on the Leukaemia Research page, {{EW charity|216032}} produces the output:

"Leukaemia Research, registered charity no. 216032". Charity Commission for England and Wales.

and the same result would be produced by {{EW charity|216032|Leukaemia Research}} on this or any other page.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:EW charity in articles based on its TemplateData.

TemplateData for EW charity

A template to provide an external link to the record for a charity at the Charity Commission for England and Wales

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
regno1

The 6-digit charity registration number, must be entered without any spaces

Stringrequired
charityname2

The name of the charity for display, if it is not the same as the page name

Stringoptional

Examples

The ordering of the parameters is not important.

Two main parameters num=charity regno and name=charity name:

{{EW charity |num=216032 |name=Bloodwise}}
"Bloodwise, registered charity no. 216032". Charity Commission for England and Wales.

Two main parameters with mode=cs2 (the separator is changed from dot to comma)

{{EW charity |num=216032 |name=Bloodwise |mode=cs2}}
"Bloodwise, registered charity no. 216032", Charity Commission for England and Wales

Two main parameters with ref=none

{{EW charity |num=216032 |name=Bloodwise |ref=none}}
"Bloodwise, registered charity no. 216032". Charity Commission for England and Wales.

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:EW_charity&oldid=1078232342"

Categories: 
External link templates
Europe society and social science templates
Hidden categories: 
Wikipedia semi-protected templates
Templates using TemplateData
 



This page was last edited on 20 March 2022, at 15:10 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki