Content deleted Content added
→When to use: No need |
m Reverted 1 edit by 2403:6200:8851:C809:CA3:115F:A460:2ACF (talk) to last revision by Mignof |
||
(21 intermediate revisions by 8 users not shown) | |||
Line 1:
{{Documentation subpage}}
{{Redirect|Template:Primary source|the template that tags inline statements|Template:Primary source inline}}
{{High-use}}
{{Twinkle standard installation}}
Use this template to
{{Tlx|Primary sources|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}▼
== Usage ==
* This template will categorize tagged articles into [[:Category:Articles lacking reliable references]].▼
* There is currently no consensus on where on the article to place templates such as this.▼
* {{Tlc|Primary sources|section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} for sections
[[Help:Substitution|Substitution]] of this template will automatically fill the date parameter.
Optional find parameters are available, for modifying the operation of the {{tl|find sources}} links displayed by the template:
* {{tlc|Primary sources|find{{=}}double-quoted search keyword(s)|find2{{=}}unquoted keywords|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
▲
==When to use==
▲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 stronger, secondary source. There is no need to do so. [[Wikipedia:Identifying and using primary and secondary sources|Primary sources may be used on Wikipedia, but they need to be handled with care.]]
The presence of [[WP:PRIMARY|primary sources]] in an article doesn't mean the article must be tagged.
[[Wikipedia:Identifying and using primary sources|Primary sources may be used on Wikipedia]], but they need to be handled with care.
Whether a source is '''[[Wikipedia:Independent sources|independent]]''' is a different concept from whether it is a '''primary source'''. To tag an article as lacking sufficient [[Wikipedia:independent sources|independent sources]], use instead the templates {{tlx|third-party}} or, in the case those sources are published directly by the person/organization itself, {{tlx|self-published}}.
== Parameters ==
There are five parameters, one positional, and four named parameters. All parameters are optional.
▲: {{tlc|Primary sources|article}}
* {{para|1}}{{snd}}scope of notification (e.g., 'paragraph', 'section', 'article', etc.) default: 'article'. ''see [[#Details|Details]].''
* {{para|date}}{{snd}}month name and year; e.g. '{{CURRENTMONTHNAME}} {{CURRENTYEAR}}' (no default)
* {{para|talk}}{{snd}}section or fullpage id of discussion
* {{para|find}}{{snd}}search keywords for {{tl|find sources}} param 1 (double-quoted search); default: page title. See details [[#Details|below]].
* {{para|find2}}{{snd}}search keywords for {{tl|find sources}} param 2 (unquoted search). Alias: <code>unquoted</code>. See [[#Details|below]].
=== Details ===
: {{tlc|Primary sources|section}}▼
'''Positional parameter 1'''
: Positional parameter {{para|1}} is the 'type' parameter, which may be set to ''paragraph'' or ''section'' or any string value.
'''Date parameter:'''
: The {{para|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:bot]]s 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 {{tlc|Primary sources|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. 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 [[Wikipedia:Bot policy|bot]] will add it later.
'''Find parameters:'''
If you use {{tl|BLP primary sources}} (which is a wrapper for {{tl|Primary sources}} with the <code><nowiki>BLP=yes</nowiki></code> parameter), it indicates that the article is a [[WP:BLP|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 [[WP:BLPSPS|policy on self-published sources in biographies of living persons]].▼
: There are two 'find' parameters available to control the presentation and operation of the {{tl|find sources}} links optionally displayed by the {{tl|Primary sources}} template. By default, the template displays {{tl|find sources}} with a quoted search query equivalent to the exact article title. Sometimes, especially if the article has a long, [[WP:NDESC|descriptive title]], or if it includes [[WP:PARENDIS|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 {{tl|find sources}} links. Use:
:* {{para|find}} to specify keywords for an exact search (double-quoted query); this corresponds to {{tl|find sources}} positional param <code>|1</code>.
:* {{para|find2}} to specify keywords for an unquoted search; this corresponds to {{tl|find sources}} param <code>|2</code>. The alias {{para|unquoted}} may be used instead. Note that booleans, exclusion terms (preceded by minus sign) and other search operators may be used in unquoted search ({{para|find2}}) if valid for the search domains:
:: {{tlc|Primary sources|find{{=}}John Adams|find2{{=}}president -Quincy}} ⟶ (see [[#Examples|Examples]] below)
:* Param {{para|find}} may take the special value {{pval|none}} in order to suppress display of ''find sources'' links. (Note that specifying {{para|find|none}} and a nonempty value for {{para|find2}} is not a valid combination.)
== Wrappers ==
To tag an individual section instead of the whole article, you can use {{tlx|Primary sources section}} template.
▲If you use template {{tl|BLP primary sources}}
==Examples==
:{{tlc|primary sources|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{{primary sources|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
Exclusion term in unquoted search:
: {{tlc|Primary sources|find{{=}}John Adams|find2{{=}}president -Quincy}} ⟶ {{Primary sources|find=John Adams|find2=president -Quincy}}
For Biographies of Living Persons:
Line 54 ⟶ 84:
== See also ==
* Primary source templates:
** {{tl|BLP primary sources}}
** {{tl|Only primary sources}}
** {{tl|Primary source inline}} – inline with text, to object to the inappropriate use of a [[WP:Party and person|primary source]] (regardless of whether the primary source is [[WP:Independent sources|independent of the subject]])
* Third-party source templates:
Line 62 ⟶ 95:
* [[Wikipedia:Template messages/Cleanup]]
* [[Wikipedia:Template messages/Sources of articles]]
==Notes==
{{reflist}}
==TemplateData==
Line 67 ⟶ 103:
<templatedata>
{
"description": "Use this template to
"params": {
"1": {
"label": "Focus",
"description": "
"type": "string",
"default": "article",
"required": false
},
Line 82 ⟶ 119:
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"suggested": true
},
"talk": {
"label": "Talk",
"description": "Section name or full page and section of discussion",
"type": "string",
"required": false,
"example": "Discussion section name"
},
"find": {
"label": "Find",
"description": "Search keywords for 'find sources' double-quoted (exact) search. May be one or more words. Leave empty to suppress 'find sources' output.",
"type": "string",
"required": false,
"example": "Austen's early life"
},
"find2": {
"label": "Find2",
"description": "Search keywords for 'find sources' unquoted search.",
"type": "string",
"required": false,
"aliases": ["unquoted"]
}
},
Line 93 ⟶ 151:
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Citation and verifiability maintenance templates]]
}}</includeonly>
|