Template:Refexample section/doc

From TWC Archive
Jump to navigation Jump to search

Template examples for copy-pasting:

{{Refexample section|date=November 2024|small=y}}

{{Refexample section|date=November 2024|talk=Talk page section name}}


Usage

When to use

This template indicates that a section needs additional inline citations that do not fall under self-sourcing examples. This template should be used only for sections where there are some, but insufficient, inline citations to support the material currently in the section.

Please consider marking individual poorly-referenced statements with {{Better source example}} instead of placing this template.

How to use

This can be made smaller with the optional |small= parameter set to any value.

A |talk= parameter is allowed; setting this to any value will result in the message "See talk page for details." being included in the tag. If the value is a valid anchor on the talk page (e.g., the title of a section or subsection heading), then the talk page link will go directly to that anchor; if not, to the top of the page.

This template also includes support for using the |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 {{Refexample section|{{subst:DATE}}}} but it can be done more explicitly as {{Refexample section|date=November 2024}} (both result in the same output). Do not use {{Refexample section|date={{subst:DATE}}}}: {{subst:DATE}} includes the leading date=.

A user warning template, {{Uw-refexample}}, is available to notify contributors that an article they created needs its referencing improved.

This template adds the article to Category:Articles needing additional references from November 2024, and Category:All articles needing additional references, both hidden categories.

General advantage

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Refexample section in articles based on its TemplateData.

TemplateData for Refexample section

This template generates a tag to indicate that the article needs additional inline citations that do not fall under "self-sourcing examples".

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Type (typically section)1

Something to replace "article" in the template, typically "section"

Stringoptional
Datedate

The month and year that the need for citations is identified, such as 'June 2013'; may use '{{subst:DATE}}' template instead

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

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

Stringoptional

See also