Template:EW charity/doc

From Wikishire
Jump to: navigation, search


Usage

{{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.

This template provides an external link to the record for a charity at the Charity Commission for England and Wales. This provides confirmation of the charity's status and access to reports and accounts submitted to the Commission.

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 'Leukaemia Research', which has charity number 216032, {{EW charity|216032}} produces the output:

Leukaemia Research, Registered Charity no. 216032 at the Charity Commission

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

See also

TemplateData

<templatedata>{ "description": "A template to provide an external link to the record for a charity at the Charity Commission for England and Wales ", "params": {

 "1": {
   "label": "regno",
   "description": "The 6-digit charity registration number, must be entered without any spaces",
   "type": "string",
   "required": true
 },
 "2": {
   "label": "charityname",
   "description": "The name of the charity for display, if it is not the same as the page name",
   "type": "string"
 }

}}</templatedata>