Template:Refexample section/doc: Difference between revisions

Find traditional instrumental music
*>BrightR
 
m (1 revision imported)
 

Latest revision as of 09:11, 15 May 2018

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 documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Refexample section

<templatedata> { "description": "This template generates a tag to indicate that the article needs additional inline citations that do not fall under \"self-sourcing examples\".", "params": { "1": { "label": "Type (typically section)", "description": "Something to replace \"article\" in the template, typically \"section\"", "type": "string", "required": false }, "date": { "label": "Date", "description": "The month and year that the need for citations is identified, such as 'June 2013'; may use '{{subst:DATE}}' template instead", "type": "string", "required": false, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "talk": { "label": "Talk", "description": "Any value (such as 'y') will result in the addition of 'See talk page for details.' to the tag", "type": "string", "required": false } }, "format": "block" } </templatedata>

See also