Template:Citation style/doc: Difference between revisions

From CAPipedia
en>Tom.Reding
m (→‎top: {{High-use}})
 
m (Text replacement - "Wikipedia[^:]" to "CAPipedia")
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
Do not place this template on articles containing ''all'' parenthetical citations, a previously acceptable citation style that is now [[Deprecation|deprecated]] per [[WP:PARREF]].
Do not place this template on articles containing ''all'' parenthetical citations, a previously acceptable citation style that is now [[Deprecation|deprecated]] per [[WP:PARREF]].


[[Wikipedia:Citing sources|Wikipedia's guidelines]] generally prohibit editors from changing from one acceptable form of inline citations to another without [[WP:Consensus|consensus]], especially for reasons of personal preference or to make one article match the style in another article.
[[Wikipedia:Citing sources|CAPipedias guidelines]] generally prohibit editors from changing from one acceptable form of inline citations to another without [[WP:Consensus|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.
This template may be removed by anyone who fixes the problems with confusing citation styles.
Line 32: Line 32:
* '''{{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|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}}''' – add Month, year; for example: {{pval|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. This helps auto-categorization of the article into a subcategory of [[:Category:CAPipediareferences cleanup]]. A bot will add it, if you forget.


* '''{{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|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.
Line 38: Line 38:
== Categorization ==
== 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:CAPipediareferences cleanup]] and [[:Category:Articles covered by WikiProject Wikify]].


This template is a [[Wikipedia:Manual of Style/Self-references to avoid|self-reference]].
This template is a [[Wikipedia:Manual of Style/Self-references to avoid|self-reference]].
Line 53: Line 53:
"date": {
"date": {
"label": "Month and year",
"label": "Month and year",
"description": "The month and year that the template was placed (in full). \"{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}\" inserts the current month and year automatically.",
"description": "The month and year that the template was placed (in full). \"January 2024\" inserts the current month and year automatically.",
"type": "line",
"type": "line",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"autovalue": "January 2024",
"example": "January 2013",
"example": "January 2013",
"suggested": true
"suggested": true
Line 117: Line 117:
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Citation and verifiability maintenance templates|{{PAGENAME}}]]
[[Category:Citation and verifiability maintenance templates|{{PAGENAME}}]]
[[Category:Wikipedia style templates|Citation style]]
[[Category:CAPipediastyle templates|Citation style]]


[[it:Template:Citazioni]]
[[it:Template:Citazioni]]
}}</includeonly>
}}</includeonly>

Latest revision as of 15:19, 23 January 2024

[[Category:Template documentation pages{{#translation:}}]]

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=July 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.

CAPipedias 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: July 2024. This helps auto-categorization of the article into a subcategory of Category:CAPipediareferences 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:CAPipediareferences 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 for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Citation style in articles based on its TemplateData.

TemplateData for Citation style

<templatedata> {

   "description": "Use this cleanup template to indicate that an article has an unclear citation style.",

"format": "inline", "params": { "date": { "label": "Month and year", "description": "The month and year that the template was placed (in full). \"January 2024\" inserts the current month and year automatically.", "type": "line", "autovalue": "January 2024", "example": "January 2013", "suggested": true }, "reason": { "aliases": [ "details" ], "label": "Reason", "description": "The reason why the article has an unclear citation style", "type": "string", "example": "it uses multiple citation styles" }, "1": { "label": "Affected area", "description": "Text to replace the word \"article\", usually \"section\"", "type": "string", "autovalue": "section", "example": "section" }, "small": { "label": "Make template small", "description": "Enter \"left\" here to make the template box small and aligned to the left.", "type": "line", "autovalue": "left", "example": "left" } }, "paramOrder": [ "date", "reason",

       "1",
       "small"

] } </templatedata>

Tracking categories

Redirects

See also