Difference between revisions of "Template:Citation style"

From blackwiki
Jump to navigation Jump to search
imported>Lwc
m (Added support for article/section parameter)
imported>Primefac
m (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)))
 
(52 intermediate revisions by 35 users not shown)
Line 1: Line 1:
{{ambox
+
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
 +
<!--{{Citation style}} begin-->{{Ambox
 +
| name  = Citation style
 +
| subst = <includeonly>{{subst:substcheck}}</includeonly>
 
| type  = style
 
| type  = style
| text = The references in this {{{1|article}}} would be clearer with a different or consistent style of '''[[Wikipedia:Citing sources|citation]], [[Wikipedia:Footnote|footnoting]], or [[Wikipedia:External links|external linking]]'''.
+
| small = {{{small|}}}
}}<includeonly>{{{category|[[Category:Wikipedia references cleanup]]}}}</includeonly><noinclude>
+
| class = ambox-citation_style
 
+
| sect = {{{1|}}}
* A parameter could be specified for article/section (e.g. {{tlx|Citation style|section}}
+
| issue = '''has an unclear citation style'''.
* This template will categorise tagged articles into [[:Category:Wikipedia references cleanup]].
+
| fix  = The references used may be made clearer with a different or consistent style of [[Wikipedia:Citing sources|citation]] and [[Help:Footnotes|footnoting]]. {{#if:{{{details|}}}|<em>{{{details}}}.</em>}}
* This [[{{SITENAME}}:Template|template]] is a [[{{SITENAME}}:Avoid self-references|self-reference]].
+
| cat  = Wikipedia references cleanup
* This template is not useful for [[{{SITENAME}}:Subst]].
+
| all  = All articles needing references cleanup
* There is currently no consensus about where to place this template; most suggest either the bottom of the article page (in the 'References' section), or on the article's talk page.
+
| cat2  = Articles covered by WikiProject Wikify
* This template should not be used with [[{{SITENAME}}:Stub|stubs]].
+
| all2  = All articles covered by WikiProject Wikify
 
+
| date  = {{{date|}}}
==Usage==
+
| removalnotice = yes
'''This template should be used only on articles that have sources.''' It may be used with '''{{tl|Refimprove}}''' or other check references templates.
+
}}<!--{{Citation style}} end-->
 
+
}}<noinclude>
==Redirects==
+
{{Documentation}}
* {{tl|Cleanup-references}}
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
* {{tl|Citationstyle}}
 
* {{tl|Citation-style}}
 
* {{tl|Reference style}}
 
 
 
==See also==
 
The following templates are useful in cases where there are ''some'' sources, but these are inadequate or insufficient
 
* {{tl|Unreferencedsection}}
 
* {{tl|Refimprove}}
 
* {{tl|Primarysources}}
 
* [[Wikipedia:Template messages/Sources of articles]]
 
* [[Wikipedia:Template messages/Cleanup]]
 
 
 
[[Category:Citation and verifiability maintenance templates|{{PAGENAME}}]]
 
[[ja:Template:参照方法]]
 
[[zh:Template:Citation style]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:29, 23 February 2018

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

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=January 2026}} 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:

  • |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=January 2026}}.)
  • |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=January 2026|details=In particular, citation titles should be specified}})
  • | 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=January 2026}}. 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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Citation style

This template generates a tag to indicate that the article needs additional inline citations.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Section1

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.

Stringoptional
Month and yeardate

The month and year of tagging are identified, such as 'June 2013'; you may use the '{{subst:DATE}}' template instead

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Smallsmall

Any value (such as 'y') will result in the addition of 'See talk page for details.' to the tag

Stringoptional
Detailsdetails

A sentence explaining more about the problem.

Stringoptional

Tracking categories

Redirects

See also

it:Template:Citazioni