Template:One source section/doc: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
m (categorising)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 15:28, 28 May 2023

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

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>