Template:Citation style/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
(→‎Template data: Updated and fixed TemplateData)
 
imported>Mathglot
(→‎Parameters: Rewrite, reorder, and drop pointless intro paragraph.)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Friendly standard installation}}
{{Friendly standard installation}}
A maintenance template which may be used on article pages to indicate an article in need of [[WP:TMCITE|citation or referencing cleanup]].
== Usage ==
{{tlc|Citation style |reason{{=}}''specify reason'' |date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}


=== When to use ===
=== When to use ===
Line 17: Line 23:
This template may be removed by anyone who fixes the problems with confusing citation styles.
This template may be removed by anyone who fixes the problems with confusing citation styles.


=== How to use ===
== Parameters ==
To use this template, place <code><nowiki>{{Citation style|</nowiki>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code> 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 {{tl|Multiple issues}} and placement of this template on the article page is guided by [[Wikipedia:Template messages/Cleanup|Template messages/Cleanup]]. The following parameters may be specified for this template:
 
All parameters are optional:
 
* '''{{para|1|section}}''' – set to {{pval|section}} to indicate that the template applies to just the section where it is placed. By default, the template is placed at the to and applies to the entire article. Any word may be used, e.g., {{para|1|paragraph}}, {{para|1|table}}, and so on.
 
* '''{{para|reason}}''' may be used to provide more details on some of the aspects that should be addressed for the given article. Alias: {{para|details}}.
 
* '''{{para|date}}''' – add Month, year; for example: {{pval|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. This helps auto-categorization of the article into a subcategory of [[:Category:Wikipedia references cleanup]]. A bot will add it, if you forget.


* '''{{para|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., <code><nowiki>{{Citation style|</nowiki>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>.)
* '''{{para|small|left}}''' – add this to reduce the banner to a small, flush-left box. Other values (such as 'no', 'yes', 'right') are invalid, and will not work as expected.
* '''{{para|details}}''' may be used to provide more details on some of the aspects that should be addressed for the given article. (e.g., <code><nowiki>{{Citation
style|</nowiki>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|details=In particular, citation titles should be specified<nowiki>}}</nowiki></code>)
* '''{{para|}}''' 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., <code><nowiki>{{Citation style|section|</nowiki>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>. If not specified, the first unnamed parameter defaults to "article."


=== Operation ===
== Categorization ==


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

Latest revision as of 23:34, 14 March 2023

A maintenance template which may be used on article pages to indicate an article in need of citation or referencing cleanup.

Usage

{{Citation style |reason=specify reason|date=June 2024}}

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.

Parameters

All parameters are optional:

  • |1=section – set to section to indicate that the template applies to just the section where it is placed. By default, the template is placed at the to and applies to the entire article. Any word may be used, e.g., |1=paragraph, |1=table, and so on.
  • |reason= may be used to provide more details on some of the aspects that should be addressed for the given article. Alias: |details=.
  • |date= – add Month, year; for example: June 2024. This helps auto-categorization of the article into a subcategory of Category:Wikipedia references cleanup. A bot will add it, if you forget.
  • |small=left – add this to reduce the banner to a small, flush-left box. Other values (such as 'no', 'yes', 'right') are invalid, and will not work as expected.

Categorization

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.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Citation style

Use this cleanup template to indicate that an article has an unclear citation style.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Month and yeardate

The month and year that the template was placed (in full). "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" inserts the current month and year automatically.

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Linesuggested
Reasonreason details

The reason why the article has an unclear citation style

Example
it uses multiple citation styles
Stringoptional
Affected area1

Text to replace the word "article", usually "section"

Example
section
Auto value
section
Stringoptional
Make template smallsmall

Enter "left" here to make the template box small and aligned to the left.

Example
left
Auto value
left
Lineoptional

Tracking categories

Redirects

See also