Template:Genuki/doc

Genuki is an external link template used for settlements in the United Kingdom. It provides a standardized link to the relevant parish entry at GENUKI.

Usage
or or or

Parameters
The template takes one named parameter, and between 1 and 3 positional parameters:
 * (required): The county in which the parish is found. The full list can be found here. County codes are not case-sensitive. The country code is added automatically (see note below).
 * (required):An unnamed parameter, this is the name of the parish. A decision was made not to use because the page might be moved, perhaps for disambiguation, at a later stage.
 * (optional):An unnamed parameter, this is the URL version of the parish name, if different, which is used on Genuki. For example, "Kirkella" must be used in the URL because "Kirk Ella" has a space in it. If this is the same as parishname, leave it blank.
 * (optional): An unnamed parameter, this is the name of the settlement if it is not the name of the parish itself. It will generate the additional note "(placename is in this parish)".

URL Note
The URL that GENUKI uses looks like this: http://www.genuki.org.uk/big/eng/BDF/Cranfield

The three-letter code (BDF in the example above) is the county code. Yorkshire parishes have two sets of letters; ignore the YKS (see "Kirk Ella" below).

Examples
Note that the Yorkshire parishes are named "The ancient parish of..." on GENUKI, which is added to the external link name automatically. The country and "YKS" (for Yorkshire parishes) are also automatically included in the URL.

TemplateData
{	"description": "\nThis template is used for settlements in the United Kingdom. It makes an External Link to the relevant parish entry at GENUKI.", "params": { "county": { "label": "Name of county", "type": "string", "required": true, "description": "The county in which the parish or place is located." },		"1": {			"label": "Name of parish", "type": "string", "required": true, "description": "May be the same as page name, or the parish in which the place \"page name\" is included." },		"2": {			"label": "Parish name as in URL (if different)", "type": "string", "description": "The version of the parish name which is used in the GENUKI URL - may have spaces removed, capitalisation changes, etc" },		"3": {			"label": "Name of place (if not parish name)", "type": "string", "description": "The placename, if not the same as the parish name: will usually be same as pagename, but omitting any disambiguation." }	} }