模板:BLP sources/doc

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

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

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

Usage编辑

This template is intended to be placed at the top of articles about living persons that need additional references, and are therefore in need of immediate attention. If the article is not about a living or recently deceased subject, you may wish to use {{Refimprove}} instead.

Please add a date parameter. Adding a date parameter sorts the article into subcategories of Category:BLP articles lacking sources and out of the parent category, allowing the oldest problems to be identified and dealt with first.

Finally, if the article has a defaultsort, this is used for these categories as well. Otherwise, it is sorted on the first word (usually the first name).

Parameters编辑

  • date = 11月 2024 - required parameter, will be added by bot
  • reason = text - optional parameter which appends advisory text

The following parameter is obsolete: |{{SAFESUBST:#if:suffix|suffix=}} (simply use the first unnamed parameter).

Examples编辑

Paste-ready example: {{BLP sources|date=11月 2024}}
Example with reason: {{BLP sources|date=11月 2024|reason=}}

This template can be used with a "section" parameter to tag specific sections: {{BLP sources|section|date=11月 2024}}

Redirects编辑

  1. {{BLP+}}
  2. {{BLP Improvereferences}}
  3. {{BLP improvereferences}}
  4. {{blp improvereferences}}
  5. {{BLPImprovereferences}}
  6. {{BLPimprovereferences}}
  7. {{blpimprovereferences}}
  8. {{BLPmoreref}}
  9. {{BLP Refimprove}}
  10. {{BLP refimprove}}
  11. {{blp refimprove}}
  12. {{BLPRefimprove}}
  13. {{BLPrefimprove}}
  14. {{blprefimprove}}
  15. {{BLP Sources}}
  16. {{blp sources}}
  17. {{BLPSources}}
  18. {{BLPsources}}
  19. {{blpsources}}
  20. {{BLP more sources}}
  21. {{refimprove-BLP}}
  22. {{BLP refimprove}}
  23. {{BLP citations needed}}

Tracking categories编辑

The template populates:

  • [[:Category:{{#ifeq:Pages usi|Category:|模板:Str right|Pages using BLP sources with unknown parameters}}|{{#if:|{{{name}}}|Category:{{#ifeq:Pages usi|Category:|模板:Str right|Pages using BLP sources with unknown parameters}}}}]] (0) – when unrecognized parameters are invoked on the transcluding page.

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:BLP 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:BLP sources}}.
|#default=[2]

}}}}

TemplateData for BLP sources

{{#switch:

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

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

}} | other | #default = }} <templatedata>{ "params": { "1": { "label": "Section", "description": "Add \"section\" if the tag applies to a particular section", "type": "string" }, "date": { "label": "Date", "description": "The month and year the template was added, in the form \"July 2013\"", "type": "string", "required": true, "autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}", "example": "June 2016" }, "reason": { "label": "Reason", "description": "A reason for adding the tag", "type": "string" } } }</templatedata>

See also编辑

  • {{BLP IMDb refimprove}} – for biographies of living persons (BLPs) that rely primarily or entirely on the Internet Movie Database (IMDb) as a source
  • {{BLP unsourced}} – for biographies of living persons (BLPs) that do not include any references or sources
  • {{BLP more footnotes needed}} – for BLPs that include a list of sources or external links, but have insufficient inline citations
  • {{BLP no footnotes}} – for BLPs that include a list of sources or external links, but have no inline citations at all
  • {{BLP unverified}} – for stubbing inadequately referenced BLPs
  • {{BLP noticeboard}} – for BLP articles that are being discussed on the BLP noticeboard
  • {{Like resume}} – for biographical articles that promote the subject