“模板:Primary sources”的版本间的差异

wikilife>Enterprisey
(add a "talk" template)
(没有差异)

2018年11月25日 (日) 17:36的版本

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

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:primary sources |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Primary sources
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}
{{#if:||{{#ifeq:Primary sources|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:Primary|sandbox|1}}{{#ifeq:Primary sources|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>

{{#if:{{#ifeq:Primary|sandbox|1}}{{#ifeq:Primary sources|doc|1}}|| }}