The Nomis website is run by the University of Durham on behalf of the Office for National Statistics (ONS), providing a database of UK labour market statistics. This template is used to provide a link to the Nomis database local area reports, based on the key statistics from the 2021 United Kingdom census. It can be used to replace citations linked to content at the ONS Local statistics site which is no longer available.
To obtain the value for this parameter:
https://www.nomisweb.co.uk/sources/census_2021/report?compare=E06000011
E06000011
) and add it to the template.Additional information for the title:
|date=
is also used.|mode=cs1
; set to |mode=cs2
to provide consistency with citation style 2, as produced by {{citation}}
..
); for no terminating punctuation, set to |postscript=none
, however using |mode=cs2
does this automatically.|fewer-links=yes
to remove repeated wikilinks where the template is used more than once in an article.|short=yes
with |id=
to produce an external link with just the list number shown; |short=yes
suppresses the display of other parameters.{{NOMIS2021|id=E06000011}}
displays as:
{{NOMIS2021|id=E06000011|short=yes}}
displays as:
{{NOMIS2021|id=E06000011|title=East Riding of Yorkshire Local Authority}}
displays as:
{{NOMIS2021|id=E06000011|title=East Riding of Yorkshire Local Authority|accessdate=7 November 2024}}
displays as:
{{NOMIS2021|id=E06000011|title=East Riding of Yorkshire Local Authority|ref=none|accessdate=7 November 2024|mode=cs2}}
displays as:
If a short citation is required (not to be confused with |short=
) and one of the {{harv}} templates or {{sfn}} is used then {{harv|Census 2021|record id}}
will link the short reference to the long one. For example, {{harv|Census 2021|E06000011}}
produces (Census 2021 & E06000011) that links to the 'East Riding of Yorkshire Local Authority' example above. This is different from the standard use of the {{harv}} that links using the parameters 'author' and 'date' or 'year'.
Some articles have multiple entries. |fewer-links=yes
can be used to remove the repeated internal wikilinks from any additional and subsequent instances of the template:
{{NOMIS2021|id=E06000011|title=East Riding of Yorkshire Local Authority|ref=none}}
{{NOMIS2021|id=E06000011|title=East Riding of Yorkshire Local Authority|ref=none|accessdate=|fewer-links=yes}}
displays as:
TemplateData for NOMIS2021
Provides an external link to an entry on the Office for National Statistics (ONS) — Nomis database for the 2021 United Kingdom census
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | the 'record id' from the database | String | required |
title | title | Additional text description, such as the name of the location | String | suggested |
author | author | defaults to 'Census 2021', but can be changed to another name if desired
| String | optional |
author-link | author-link | defaults to '2021 United Kingdom census', but is not set by default if author is set to something other than 2021 United Kingdom census
| String | optional |
date | date | the date provided by ; can be a full or partial date | String | optional |
orig-dateyear | orig-year | the date information was first provided by the Office for National Statistics; only appears if date parameter is also used | String | optional |
accessdate | accessdate access-date | the date a Wikipedia editor retrieved and/or verified information from the Office for National Statistics database
| String | suggested |
mode | mode | defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by {{citation}}
| String | optional |
postscript | postscript | controls the closing punctuation for the citation; defaults to a period (.); for no terminating punctuation set to none, however using mode=cs2 does this automatically
| String | optional |
fewer-links | fewer-links | set to 'yes' to remove repeated wikilinks to 'Office for National Statistics' and '2021 United Kingdom census', where the template is used more than once in an article
| String | optional |
ref | ref | defaults to author and the Nomis record id number, but can be set to any value | Number | optional |
short | short | use 'yes' with just the id parameter to produce an external link with just the record id number shown; suppresses the display of other parameters
| String | optional |