Modèle:Refimprove section/doc : Différence entre versions

De Wikisisar
Aller à : navigation, rechercher
m (add {{TemplateData header}} (via JWB))
 
m (1 révision importée)
 
(Aucune différence)

Version actuelle datée du 21 octobre 2017 à 21:00

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Modèle:Refimprove section
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

This template is intended to be placed at the top of sections of articles which need additional references. Many editors understand this template to be redundant when it is used on articles clearly marked as stubs.

Usage

This template also includes support for using the |{{#if:date|date=}} parameter. Adding this parameter sorts the article into subcategories of Category:Articles needing additional references and out of the parent category, allowing the oldest problems to be identified and dealt with first. A bot will add this parameter if it is omitted. Be careful not to abbreviate the date, because then it will automatically add a redlinked category instead of the correct category. The simplest way to use this parameter manually is {{Refimprove section|{{subst:DATE}}}} but it can be done more explicitly as {{Refimprove section|date=mai 2024}} (both result in the same output).

The template will display in a small format by default. To prevent this specify |{{#if:small|small=}}no

Listed below are three options for usage:

{{Refimprove section}}

{{Refimprove section|date=mai 2024}}

{{Refimprove section|{{subst:DATE}}}}

{{Refimprove section|{{subst:DATE}}|talk=Talk page section name|small=y}}

Differences from related templates

General advantages

  • {{Refimprove section}} is easy to use.

Differences from {{Primary sources}} and {{Unreferenced}}

  • {{Refimprove section}} uses simple, general wording so that the template can be used any time referencing in an article section needs improvement.

Differences from {{Citation needed}}

  • {{Refimprove section}} works for general and specific references whereas {{Citation needed}} can only be used in place of specific references.
  • Unlike {{Citation needed}}, {{Refimprove section}} places a very conspicuous banner at the top of the article section.

Note that {{Citation needed}} was formerly called {{fact}}.

Redirects

  1. {{Cite-section}}
  2. {{Refimprovesect}}
  3. {{Refimprovesection}}
  4. {{Refimprove-sect}}
  5. {{Refimprove-section}}
  6. {{Verify section}}

See also

TemplateData

{{#if:| |This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools.}}

See the monthly error report for this template.

TemplateData for Refimprove section

{{#ifeq:doc|sandbox||

}} <templatedata> { "params": { "date": { "label": "Month and year", "description": "Provides the month and year of the refimprove request; e.g., 'January 2013', but not 'jan13'", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "talk": {}, "small": {} }, "description": "This template is intended to be placed at the top of sections of articles which need additional references." } </templatedata>