“模板:Citation style”的版本间的差异

wikilife>Primefac
(Changed protection level for "Template:Citation style": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 13:57的最新版本

{{#ifeq:|left|}}

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

{{#ifeq:citation style |doc

    | 

{{#ifeq:show |show

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

{{#if:{{#ifeq:Citatio|sandbox|1}}{{#ifeq:Citation style|doc|1}}||

it:Template:Citazioni }}