Template:Self-sourcing examples/doc: Difference between revisions

Content deleted Content added
No edit summary
Line 56:
 
A {{para|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.
 
A {{para|small}} parameter is allowed; setting this to any value will result in a smaller, left-aligned message box.
 
This template also includes support for using the {{para|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 [[Wikipedia:Bot policy|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 <code><nowiki>{{Refexample|{{subst:DATE}}}}</nowiki></code> but it can be done more explicitly as <code><nowiki>{{Refexample|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code> (both result in the same output). Do ''not'' use <code><nowiki>{{Refexample|date={{subst:DATE}}}}</nowiki></code>: <code><nowiki>{{subst:DATE}}</nowiki></code> includes the leading <code>date=</code>.