Template:Citation style/doc: Difference between revisions

→‎Parameters: Rewrite, reorder, and drop pointless intro paragraph.
m (1 revision imported: Templates and CSS files)
imported>Mathglot
(→‎Parameters: Rewrite, reorder, and drop pointless intro paragraph.)
 
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]].
Anonymous user