ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:NOMIS2011/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

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 2011 United Kingdom census. It can be used to replace citations linked to content at the ONS Local statistics site which is no longer available.

Required parameter

[ਸੋਧੋ]

To obtain the value for this parameter:

  1. Search for and open the required report on the Nomis site, for example "Silverdale", at the
    Nomis Local Area Report search page
  2. The code is included in the body of the report and also in the URL. In this example the URL for Silverdale parish is:

    https://www.nomisweb.co.uk/reports/localarea?compare=E04005204

    or

    https://www.nomisweb.co.uk/sources/census_2011_ks/report?compare=E04005204

  3. Copy the code (in this case E04005204) and add it to the template.

Optional parameters

[ਸੋਧੋ]

Additional information for the title:

  • title: additional text description such as the name of the place, it is recommended to copy the title of the Nomis report. eg "Silverdale Parish".
  • author: defaults to UK Census, but can be changed to another name if desired.
  • author-link: defaults to 2011 United Kingdom census, but is not set by default if author is set to something other than UK Census.
  • date: the date provided by Office for National Statistics; can be a full or partial date.
  • orig-year: the date information was first provided by Office for National Statistics; only appears if |date= is also used.
  • accessdate: the date a Wikipedia editor retrieved information from the Nomis database.
  • mode: defaults to |mode=cs1; set to |mode=cs2 to provide consistency with citation style 2, as produced by {{citation}}.
  • postscript: controls the closing punctuation for the citation; defaults to a period (.); for no terminating punctuation, set to |postscript=none, however using |mode=cs2 does this automatically.
  • fewer-links: use |fewer-links=yes to remove repeated wikilinks where the template is used more than once in an article.
  • ref: defaults to author (Census 2011) and the id, but can be reset to any value.
  • short: use |short=yes with |id= to produce an external link with just the list number shown; |short=yes suppresses the display of other parameters.

Examples

[ਸੋਧੋ]

{{NOMIS2011|id=1170215054}} displays as:

UK Census (2011). "Local Area Report – (1170215054)". Nomis. Office for National Statistics.

{{NOMIS2011|id=1170215054|short=yes}} displays as:

1170215054

{{NOMIS2011|id=1170215054|title=Silverdale Parish}} displays as:

UK Census (2011). "Local Area Report – Silverdale Parish (1170215054)". Nomis. Office for National Statistics.

{{NOMIS2011|id=1170215054|title=Silverdale Parish|accessdate=30 ਨਵੰਬਰ 2024}} displays as:

UK Census (2011). "Local Area Report – Silverdale Parish (1170215054)". Nomis. Office for National Statistics. Retrieved 30 ਨਵੰਬਰ 2024.

{{NOMIS2011|id=1170215054|title=Silverdale Parish|ref=none|accessdate=30 ਨਵੰਬਰ 2024|mode=cs2}} displays as:

UK Census (2011), "Local Area Report – Silverdale Parish (1170215054)", Nomis, Office for National Statistics, retrieved 30 ਨਵੰਬਰ 2024

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 2011|record id}} will link the short reference to the long one. For example, {{harv|Census 2011|1170215054}} produces (Census 2011 1170215054) that links to the 'Silverdate Parish' 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:
{{NOMIS2011|id=1170215054|title=Silverdale Parish|ref=none}}
{{NOMIS2011|id=1170215054|title=Silverdale Parish|ref=none|accessdate=|fewer-links=yes}} displays as:

UK Census (2011). "Local Area Report – Silverdale Parish (1170215054)". Nomis. Office for National Statistics.
UK Census (2011). "Local Area Report – Silverdale Parish (1170215054)". Nomis. Office for National Statistics.

Template data

[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for NOMIS2011

Provides an external link to an entry on the Office for National Statistics (ONS) — Nomis database for the 2011 United Kingdom census

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
idid

the 'record id' from the database

Stringrequired
titletitle

Additional text description, such as the name of the location

Stringsuggested
authorauthor

defaults to 'Census 2011', but can be changed to another name if desired

ਮੂਲ ਰੂਪ
Census 2011
Stringoptional
author-linkauthor-link

defaults to '2011 United Kingdom census', but is not set by default if author is set to something other than 2011 United Kingdom census

ਮੂਲ ਰੂਪ
2011 United Kingdom census
Stringoptional
datedate

the date provided by ; can be a full or partial date

Stringoptional
orig-dateyearorig-year

the date information was first provided by the Office for National Statistics; only appears if date parameter is also used

Stringoptional
accessdateaccessdate access-date

the date a Wikipedia editor retrieved and/or verified information from the Office for National Statistics database

Auto value
{{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
modemode

defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by {{citation}}

ਮੂਲ ਰੂਪ
cs1
Stringoptional
postscriptpostscript

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

ਮੂਲ ਰੂਪ
.
Stringoptional
fewer-linksfewer-links

set to 'yes' to remove repeated wikilinks to 'Office for National Statistics' and '2011 United Kingdom census', where the template is used more than once in an article

ਮੂਲ ਰੂਪ
yes
Stringoptional
refref

defaults to author and the Nomis record id number, but can be set to any value

Numberoptional
shortshort

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

ਮੂਲ ਰੂਪ
yes
Stringoptional

Tracking categories

[ਸੋਧੋ]

See also

[ਸੋਧੋ]
  • {{NOMIS2001}} – The equivalent for the 2001 census