Template:Self-published/doc

From CAPipedia

[[Category:Template documentation pages{{#translation:}}]]

This template is for when multiple sources used in an article are self-published. Self-published means that the source was written and published by the same person or organization (e.g., a personal or corporate website, a print-to-order book, a company newsletter, a press release, a personally made YouTube video) rather than by separate authors and publishers (e.g., news media websites or traditional book publishing).

This template will categorize tagged articles into Category:Articles lacking reliable references.

Usage

Please try to improve the article, e.g. by looking for better sources to cite, before adding this template, and discuss the matter on the talk page. If the problem is not widespread, consider instead using inline templates, {{Self-published source}} if only one citation is problematic, or {{Self-published inline}} for particular statements with more than one such citation.

The simplest way to add this template to an article is to copy and paste {{Self-published|date=November 2024}} at the top of the article. To flag only an affected section, use {{Self-published|section|date=November 2024}}.

Use a more appropriate template for articles that have different sourcing problems or have neutrality problems.

Technical details

This template has two optional fields.

The first permits the user to specify what needs to be cited. For instance, if the entire article needs to be cited, a user would enter {{Self-published|article}}; but should the user wish to be more specific on which section of the article needs to be cited, then the user could enter {{Self-published|section called "Childhood"}}. Leaving the parameter undefined is acceptable, as it will print out the default text "article or section."

The second field is a date parameter, entered as |date=November 2024. Adding this sorts the article into subcategories of Category:Articles lacking reliable references, allowing the oldest problems to be identified and dealt with first. If the date parameter is omitted, a bot will add it later.

Note that order does not matter with respect to the above optional parameters. Both {{Self-published|section|date=November 2024}} and {{Self-published|date=November 2024|section}} will produce the same result.

See also

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Self-published in articles based on its TemplateData.

TemplateData for Self-published

<templatedata>

{

   "description": "Use this template when multiple sources used in an article are self-published. Self-published means that the source was written and published by the same person or organization (e.g., a personal or corporate website, a print-to-order book, a company newsletter, a press release, a personally made YouTube video) rather than by separate authors and publishers (e.g., news media websites or traditional book publishing).",
   "params": {
       "1": {
           "label": "Focus",
           "description": "Use if the focus is a particular section or paragraph",
           "type": "string",
           "default": "article",
           "required": false
       },
       "date": {
           "label": "Month and year",
           "description": "Month and year when template was applied; if left blank, this will be filled by a bot",
           "type": "string",
           "required": false,
           "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
           "suggested": true
       },
       "talk": {
           "label": "Talk",
           "description": "Section name or full page and section of discussion",
           "type": "string",
           "required": false,
           "example": "Discussion section name"
       },
       "find": {
           "label": "Find",
           "description": "Search keywords for 'find sources' double-quoted (exact) search. May be one or more words. Leave empty to suppress 'find sources' output.",
           "type": "string",
           "required": false,
           "example": "Austen's early life"
       },
       "find2": {
           "label": "Find2",
           "description": "Search keywords for 'find sources' unquoted search.",
           "type": "string",
           "required": false,
           "aliases": ["unquoted"]
       }
   },
   "format": "inline"

}

</templatedata>