« Modèle:Unreferenced/doc » : différence entre les versions
(→Paramters : Removed description of 'Type' parameter as 'deprecated'; that doesn't match the template code, and doesn't seem to correspond to anything in the Talk archives.) |
m (1 version importée) |
(Aucune différence)
|
Dernière version du 16 juillet 2022 à 14:52
<templatestyles src="Module:Hatnote/styles.css"></templatestyles>
<templatestyles src="Module:Hatnote/styles.css"></templatestyles>
<templatestyles src="Shortcut/styles.css"></templatestyles>
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| <templatestyles src="Module:Message box/ombox.css"></templatestyles>
Modèle:Strong for Modèle:Terminate sentence It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Modèle:Unreferenced | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
<templatestyles src="Module:Message box/ombox.css"></templatestyles>
This template is used on 181 000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
<templatestyles src="Module:Message box/ombox.css"></templatestyles>
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! {{#if:| {{{1}}}}} |
{{#if:||{{#ifeq:Unreferenced/doc|Unreferenced|}}}} <templatestyles src="Module:Message box/ombox.css"></templatestyles>
This template should only be used on articles that have no citations or references at all. Don't add this template to articles that contain even one general reference, bare URL, or citation-containing footnote. A citation is any description of a reliable source that supports any of the article content. The format of the citation and the name of the section heading are not what determines whether a link or citation is a source. |
Usage
{{Unreferenced|date=novembre 2024}}
{{Unreferenced|find=World War II|find2=Mediterranean|date=novembre 2024}}
When to use
You should only add this template to articles that contain no citations or references of any kind.
Do not add this template:
- In articles that have some citations, but not enough, the {{More citations needed}} template should be used instead as a general template, or the {{Unreferenced section}} template for individual sections that have no citations.
- In articles containing a list of sources at the end, but no inline citations, including parenthetical references or in-text attributions, consider {{no footnotes}} when the article would be significantly improved by detailed attribution of sources to specific claims.
- Watch out for lists of general references that someone has incorrectly listed under
==External links==
. If the link leads to a reliable source that supports some article content, then that website is a reference, not an external link. - Other templates, listed below, should be used when the citations are inadequate for other reasons.
Alternatives:
- Be bold! Consider searching for sources and citing them in the article, instead of adding this template.
- In articles about people and businesses, consider using the more specific
{{Third-party sources}}
template, to encourage citation of WP:Independent sources rather than the subject's own website. - See Wikipedia:Biographies of living people for guidance on dealing with unreferenced biographies of living people.
- Consider not adding this template to very brief stubs, since anyone visiting the page can see, in a single glance, that it contains no citations.
Parameters
There are six parameters, one positional, and five named parameters. All parameters are optional.
|{{SAFESUBST:#if:1|1=}}
– scope of notification (e.g., 'paragraph', 'section', 'article', etc.) default: 'article'. see Details.|{{SAFESUBST:#if:date|date=}}
– month name and year; e.g. 'novembre 2024' (no default)|{{SAFESUBST:#if:find|find=}}
– search keywords for {{find sources}} param 1 (double-quoted search); default: page title. See details below.|{{SAFESUBST:#if:find2|find2=}}
– search keywords for {{find sources}} param 2 (unquoted search). Alias:unquoted
. See below.|{{SAFESUBST:#if:small|small=}}
– set toleft
orno
; see details at Ambox. Default: standard-width banner.|{{SAFESUBST:#if:status|status=}}
– if set tohasaref
, alters the tracking category to Category:All articles possibly lacking sources
Examples
{{Unreferenced|date=novembre 2024}}
or
{{subst:Unreferenced}}
Substitution of this template will automatically fill the date parameter.
The optional |{{SAFESUBST:#if:find|find=}}
parameter is available, for modifying the operation of the {{find sources}} links displayed by the template:
{{Unreferenced|find=search keyword(s)|date=novembre 2024}}
see below for details.
To flag an individual section as being unreferenced, use the {{Unreferenced section}}
template, which categorizes more narrowly:
{{Unreferenced section|date=novembre 2024}}
Details
Positional parameter 1
- Positional parameter
|{{SAFESUBST:#if:1|1=}}
is the 'type' parameter, which may be set to paragraph or section or any string value. To mark an unreferenced section of an article, please use {{Unreferenced section}} instead.
Date parameter:
- The
|{{SAFESUBST:#if:date|date=}}
parameter is (generally<ref name="date">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.</ref>) used to indicate when the template was added to a page. An example of its usage is{{Unreferenced|date=novembre 2024}}
. Adding this parameter sorts the article into monthly subcategories of Category:Articles lacking sources, rather than adding it to Category:Articles lacking sources 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 {{Unreferenced}} 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:
|{{SAFESUBST:#if:find|find=}}
to specify keywords for an exact search (double-quoted query); this corresponds to {{find sources}} positional param|1
.|{{SAFESUBST:#if:find2|find2=}}
to specify keywords for an unquoted search; this corresponds to {{find sources}} param|2
. The alias|{{SAFESUBST:#if:unquoted|unquoted=}}
may be used instead.
The value "none" may be passed to 'find' (|{{SAFESUBST:#if:find|find=}}none
) to suppress display of find sources links. (Note that specifying |{{SAFESUBST:#if:find|find=}}none
and a nonempty value for |{{SAFESUBST:#if:find2|find2=}}
is not a valid combination.)
General information
This template can either be placed at the top of an article, at the bottom of the article page (in an empty "References" or "Notes" section—usually just before a {{Reflist}} template), or on the article's talk page.
Categorization
This template adds the article to Category:Articles lacking sources and a monthly subcategory such as Category:Articles lacking sources from novembre 2024 (as described above), which are hidden categories.
The similar template {{More citations needed}} adds an article to Category:Articles needing additional references. {{More medical citations needed}} adds the article to Category:Articles needing additional medical references as well as Category:Articles needing additional references.
Short-cut
- {{Unref}}
- {{NR}}
- {{No ref}}
- {{No sources}}
- {{Citesources}}
TemplateData
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CUnreferenced%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|C|c}}lick here] to see a monthly parameter usage report for {{#if:|[[Template:]]|this template}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CUnreferenced%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CUnreferenced%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:|[[Template:]]|Template:Unreferenced}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:|its|this}} TemplateData}}.
|#default=[1]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CUnreferenced%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|C|c}}lick here] to see a monthly parameter usage report for {{#if:|[[Template:]]|this template}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CUnreferenced%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CUnreferenced%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:|[[Template:]]|Template:Unreferenced}}{{#ifeq:{{safesubst:#switch: y
|no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:|its|this}} TemplateData}}.
|#default=[2]{{#ifeq:{{safesubst:#switch: y |no |n |f |false |off |0 = no | = no |¬ = no |yes |y |t |true |on |1 = yes |#default = no
}}|yes| based on {{#if:|its|this}} TemplateData}} }}}}
TemplateData for Unreferenced
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Modèle|Modèle | template | other }} }}
| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||
}} | other | #default = }}
This template generates a tag to indicate that an article has no citations.
Paramètre | Description | Type | État | |
---|---|---|---|---|
Type (e.g., section) | 1 | Text to replace the word "article", usually "section". This is a legacy feature, and this usage has been replaced with the separate '{{Unreferenced section}}' template.
| Chaîne | facultatif |
Month and year | date | Provides the month and year of the citation request; e.g., 'January 2013', but not 'jan13'
| Chaîne | suggéré |
Find sources keywords | find | Search string for 'find sources' template. May be one or more words. Set to value 'none' to suppress 'find sources' output.
| Chaîne | facultatif |
Tracking categories
- {{#if:|{{{name}}}|Category:All articles lacking sources}} (0)
- {{#if:|{{{name}}}|Category:All articles needing additional references}} (0)
See also
- Wikipedia:Citation needed and {{Citation needed}} – for marking a particular claim as needing a citation
- {{Find sources}}
- {{More citations needed}}
- {{Unreferenced section}}
- Wikipedia:Template messages/Sources of articles
- Wikipedia:Template messages/Cleanup
Footnotes
<templatestyles src="Reflist/styles.css" />
| {{#iferror: {{#ifexpr: 1 > 1 }} |style="column-width: {{{1}}};"}} | {{#if: |style="column-width: {{{colwidth}}};"}} }}><references group="" responsive="{{#if:|0|1}}"></references>