Template:Refexample section/doc

Template examples for copy-pasting:

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  but it can be done more explicitly as   (both result in the same output). Do not use :   includes the leading.

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 August 2024, and Category:All articles needing additional references, both hidden categories.

General advantage

 * The naming scheme of Refexample parallels that used for Refbegin, Refend, and Reflist, thereby reducing confusion, in compliance with the KISS principle.

Template data
{	"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 '' template instead", "type": "string", "required": false, "autovalue": " ", "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" }