Template:One source section/doc
This is a documentation subpage for Template:One source section. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
Usage
{{One source section|date=November 2024}}
{{One source section|find=some search keywords|date=November 2024}}
Parameters
- Find parameter
- The
|find=
parameter is available to control the presentation and operation of the {{find sources}} links optionally displayed by the template. The find parameter can be used to provide the search keywords of your choice to the {{find sources}} links. By default, this template displays no {{find sources mainspace}} output. If desired, such display may be added, using|find=
parameter. When used with a value, such as|find=search keyword(s)
, the output of {{find sources}} is added to the template output.
- Text
- You can replace the entire first sentence by specifying the
|text=
parameter. This can be used when the standard wording is not applicable, but the general intent of the template is.
- Date
- As with most cleanup templates, the
|date=
parameter sorts the article into subcategories of Category:Articles lacking sources, allowing the oldest problems to be identified and dealt with first. You do not need to specify the date manually; a bot will add it later automatically.
- Talk
- The
|talk=
parameter may be used to specify a discussion section on the talk page.
Template data
TemplateData for One source section
<templatedata> { "params": { "text": { "label": "First Sentence", "description": "You can replace the entire first sentence by specifying this parameter. ", "type": "line" }, "date": { "label": "Month and year", "description": "As with most cleanup templates, the date= parameter sorts the article into subcategories of Category:Articles lacking sources, allowing the oldest problems to be identified and dealt with first. You do not need to specify the date manually; a bot will add it later automatically.", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "talk": { "label": "Talk", "description": "Name of talk page section", "type": "string" }, "find": { "label": "Find", "description": "Custom search keywords to use, to search for sources for the section content.", "type": "line" } }, "description": "This template alerts people to an article section containing encyclopedic content which appears to rely on a single source.", "format": "block" } </templatedata>