Jump to content

Template:Primary sources/doc

From Wikipedia, the free encyclopedia

Use this template to tag information or analysis that you believe is improperly or unnecessarily supported by a primary source, so that other editors can see whether this use is appropriate or replace it with a citation to a secondary source.

Usage

[edit]
  • {{Primary sources|date=November 2024}} for entire articles
  • {{Primary sources|section|date=November 2024}} for sections

Substitution of this template will automatically fill the date parameter.

  • {{subst:Primary sources}}

Optional find parameters are available, for modifying the operation of the {{find sources}} links displayed by the template:

  • {{Primary sources|find=double-quoted search keyword(s)|find2=unquoted keywords|date=November 2024}}

This template will categorize tagged articles into Category:Articles lacking reliable references.

There is currently no consensus on where in the article to place templates such as this.

When to use

[edit]

The presence of primary sources in an article doesn't mean the article must be tagged. Primary sources may be used on Wikipedia, but they need to be handled with care.

Whether a source is independent is a different concept from whether it is a primary source. To tag an article as lacking sufficient independent sources, use instead the templates {{third-party}} or, in the case those sources are published directly by the person/organization itself, {{self-published}}.

Parameters

[edit]

There are five parameters, one positional, and four named parameters. All parameters are optional.

  • |1= – scope of notification (e.g., 'paragraph', 'section', 'article', etc.) default: 'article'. see Details.
  • |date= – month name and year; e.g. 'November 2024' (no default)
  • |talk= – section or fullpage id of discussion
  • |find= – search keywords for {{find sources}} param 1 (double-quoted search); default: page title. See details below.
  • |find2= – search keywords for {{find sources}} param 2 (unquoted search). Alias: unquoted. See below.

Details

[edit]

Positional parameter 1

Positional parameter |1= is the 'type' parameter, which may be set to paragraph or section or any string value.

Date parameter:

The |date= parameter is (generally[1]) used to indicate when the template was added to a page. An example of its usage is {{Primary sources|date=November 2024}}. Adding this parameter sorts the article into monthly subcategories of Category:Articles lacking sources, rather than adding it to the category itself, allowing the oldest problems to be identified and dealt with first. If the date parameter is omitted, a bot will add it later.

Find parameters:

There are two 'find' parameters available to control the presentation and operation of the {{find sources}} links optionally displayed by the {{Primary sources}} template. By default, the template displays {{find sources}} with a quoted search query equivalent to the exact article title. Sometimes, especially if the article has a long, descriptive title, or if it includes parenthetical disambiguation terms, this may not give useful results. The find parameters can be used to provide the search keywords of your choice to the {{find sources}} links. Use:
  • |find= to specify keywords for an exact search (double-quoted query); this corresponds to {{find sources}} positional param |1.
  • |find2= to specify keywords for an unquoted search; this corresponds to {{find sources}} param |2. The alias |unquoted= may be used instead. Note that booleans, exclusion terms (preceded by minus sign) and other search operators may be used in unquoted search (|find2=) if valid for the search domains:
{{Primary sources|find=John Adams|find2=president -Quincy}} ⟶ (see Examples below)
  • Param |find= may take the special value none in order to suppress display of find sources links. (Note that specifying |find=none and a nonempty value for |find2= is not a valid combination.)

Wrappers

[edit]

To tag an individual section instead of the whole article, you can use {{Primary sources section}} template.

If you use template {{BLP primary sources}}, it indicates that the article is a biography of a living person, and also sorts the article into subcategories of Category:BLP articles lacking sources. This serves to indicate a problem with the policy on self-published sources in biographies of living persons.

Examples

[edit]
{{primary sources|date=November 2024}}

Exclusion term in unquoted search:

{{Primary sources|find=John Adams|find2=president -Quincy}}

For Biographies of Living Persons:

{{BLP primary sources|date=November 2024}}

Redirects

[edit]

Aliases include:

Aliases

[edit]

See also

[edit]

Notes

[edit]
  1. ^ Because of the nature of the workflow using the current date makes sense, it is simpler to add, especially for the WP:bots it means that older dated categories do not have to be constantly created and deleted, and it enables some measure of progress. Moreover it is "good enough" to get the articles into the workflow and the intention is to ensure they are cleaned up eventually. Occasionally however it may be useful to bulk add items, to older categories, for example when the system was initially set up, when merging two schemes or when adding to the current month would swamp it disproportionately.

TemplateData

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

TemplateData for Primary sources

Use this template to tag information or analysis that you believe is improperly or unnecessarily supported by a primary source, so that other editors can see whether this use is appropriate and/or replace it with a citation to a stronger, secondary source. Primary sources may be used on Wikipedia, but they need to be handled with care.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Focus1

Use if the focus is a particular section or paragraph

Default
article
Stringoptional
Month and yeardate

Month and year when template was applied; if left blank, this will be filled by a bot

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Talktalk

Section name or full page and section of discussion

Example
Discussion section name
Stringoptional
Findfind

Search keywords for 'find sources' double-quoted (exact) search. May be one or more words. Leave empty to suppress 'find sources' output.

Example
Austen's early life
Stringoptional
Find2find2 unquoted

Search keywords for 'find sources' unquoted search.

Stringoptional