模板:Primary sources/doc

< 模板:Primary sources
Ph9讨论 | 贡献2020年12月27日 (日) 14:45的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:模板:Primary sources
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

{{#if:||{{#ifeq:Primary sources/doc|Primary sources|}}}}

{{Primary sources|date=11月 2024}}

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 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.

"Primary source" does not mean that the author is too closely affiliated with the subject. As a general rule, primary sources include all scientific journal articles about experiments, as well as news reports and other documents dating from around the time of an event. To tag an article as lacking independent reliable sources, please use the template {{third-party}} instead.

How to use

This template also has several optional fields.

If you pass in an unnamed parameter, it specifies which part of the article inappropriately relies solely on primary sources. By default, the entire article needs third-party sources, i.e. it's equivalent to:

{{Primary sources|article}}

To tag a specific section use:

{{Primary sources|section}}

If you pass in a |{{SAFESUBST:#if:date|date=}} parameter (month year), it sorts the article into subcategories of Category:Articles lacking reliable references and out of the parent category. This in turn allows the oldest problems to be identified and dealt with first. If the date parameter is omitted, a bot will add it later.

You can use |{{SAFESUBST:#if:talk|talk=}} to specify a section header on the talk page.

If you use {{BLP primary sources}} (which is a wrapper for {{Primary sources}} with the BLP=yes parameter), 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.

Note that order does not matter with respect to the above optional parameters. Both {{Primary sources|section|date=11月 2024}} and {{Primary sources|date=11月 2024|section}} will produce the same result.

Examples

{{BLP primary sources|date=11月 2024}}

{{#ifeq:{{{small}}}|left|}}

Redirects

Aliases include:

Aliases

  1. {{BLP primary sources}}—this template with BLP=yes

See also

TemplateData

{{#if:|{{#switch:
|={{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Primary sources}}.
|#default=[1]

}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:

|={{#ifeq:{{safesubst:#switch: yes
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Primary sources}}.
|#default=[2]

}}}}

TemplateData for Primary sources

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:模板|模板
   | template
   | other
   }}
 }}

| template = {{#if:{{#ifeq:doc|sandbox|1}}{{#ifeq:doc|doc|1}}||

}} | other | #default = }} <templatedata> { "description": "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.", "params": { "1": { "label": "Focus", "description": "Indicate if the focus is a particular section; not including this parameter implies the entire article", "type": "string", "required": false }, "date": { "label": "Month and year", "description": "Month and year when template was applied; if left blank, this will be filled by a bot", "type": "string", "required": false, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true } }, "format": "inline" } </templatedata>