模板:Citation style/doc

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

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

{{#if:||{{#ifeq:Citation style/doc|Citation style|}}}}

When to use编辑

This template should be used only on articles that have sources.

It may be used with {{Refimprove}} or other check references templates. This template should not be used with stubs.

The most common correct use of this template is to identify an article that uses more than one major citation style (e.g., half the citations use ref tags, and half are parenthetical citations).

Do not place this template on articles containing all parenthetical citations, a previously acceptable citation style that is now deprecated per WP:PARREF.

Wikipedia's guidelines generally prohibit editors from changing from one acceptable form of inline citations to another without consensus, especially for reasons of personal preference or to make one article match the style in another article.

This template may be removed by anyone who fixes the problems with confusing citation styles.

How to use编辑

To use this template, place {{Citation style|date=11月 2024}} on the article page or talk page in a location that may aid in conveying the message of the template. This template may be used within {{Multiple issues}} and placement of this template on the article page is guided by Template messages/Cleanup. The following parameters may be specified for this template:

  • |{{SAFESUBST:#if:date|date=}} should preferably be used to categorize the article in a subcategory of Category:Wikipedia references cleanup. This helps with addressing aged cleanup messages. (e.g., {{Citation style|date=11月 2024}}.)
  • |{{SAFESUBST:#if:details|details=}} may be used to provide more details on some of the aspects that should be addressed for the given article. (e.g., {{Citation style|date=11月 2024|details=In particular, citation titles should be specified}})
  • |{{SAFESUBST:#if:|=}} A first unnamed parameter may be used to specify whether the template applies to the entire article or a section of the article (e.g., {{Citation style|section|date=11月 2024}}. If not specified, the first unnamed parameter defaults to "article."

Operation编辑

This template will categorise tagged articles into Category:Wikipedia references cleanup and Category:Articles covered by WikiProject Wikify.

This template is a self-reference.

This template should not be substituted.

Template data编辑

{{#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:Citation style}}.
|#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:Citation style}}.
|#default=[2]

}}}}

TemplateData for Citation style

{{#switch:

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

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

}} | other | #default = }} <templatedata> { "description": "This template generates a tag to indicate that the article needs additional inline citations.", "params": { "1": { "label": "Section", "description": "Specifies the region of the page to which this template applies, such as 'section' or 'table'. Omit if the template applies to the whole article.", "type": "string", "required": false }, "date": { "label": "Month and year", "description": "The month and year of tagging are identified, such as 'June 2013'; you may use the '{{subst:DATE}}' template instead", "type": "string", "required": false, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "small": { "label": "Small", "description": "Any value (such as 'y') will result in the addition of 'See talk page for details.' to the tag", "type": "string", "required": false }, "details": { "label": "Details", "description": "A sentence explaining more about the problem.", "type": "string", "required": false } }, "format": "inline" } </templatedata>

Tracking categories编辑

  • [[:Category:{{#ifeq:All artic|Category:|模板:Str right|All articles needing references cleanup}}|{{#if:|{{{name}}}|Category:{{#ifeq:All artic|Category:|模板:Str right|All articles needing references cleanup}}}}]] (0)
  • [[:Category:{{#ifeq:All artic|Category:|模板:Str right|All articles covered by WikiProject Wikify}}|{{#if:|{{{name}}}|Category:{{#ifeq:All artic|Category:|模板:Str right|All articles covered by WikiProject Wikify}}}}]] (0)

Redirects编辑

See also编辑