Template:Self-contradictory/doc: Difference between revisions

From CAPipedia
en>Andrybak
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:01, 23 January 2024

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

This template will categorize tagged articles into Category:Self-contradictory articles.

After posting this template

Please start a section on the article's talk page to discuss and specify the specific section that contradicts itself. The third optional parameter is the name of a specific section on the specified talk page.

It is possible to specify the subject about which the article or section is contradictory with the optional parameter about.

Example of use
{{Self-contradictory|about=the cause of death|date=December 2024}}

This renders as:

Adding the optional text |section or |article changes the vague default wording to be more specific:

  • Default: "This article or section appears to contradict ..." followed by "itself" or a link to an article named with |article=
  • |article or |1=article – "This article appears to contradict ..." followed by "itself" or a link to an article named with |article=
  • |section or |1=section – "This section appears to contradict ..." followed by "itself" or a link to an article named with |article=
  • |othersection or |1=othersection – "This section appears to contradict another section of this article" (this parameter is ignored if mutually exclusive parameter |article= has a value; the default output will result).
More complex examples of use
{{Self-contradictory|section|date=December 2024}}
{{Self-contradictory|about=the cause of death|1=article|date=December 2024}}
{{Self-contradictory|othersection|date=December 2024}}
{{Self-contradictory|section|article=John F. Kennedy|about=the cause of death|date=December 2024}}

Notes:

  • The date-substitution template may be used to automatically generate the date, e.g., {{Self-contradictory|{{subst:DATE}}}}. See Help:Substitution for more information.
  • The |date= parameter need not be added by the editor: if not entered, a bot will soon add it. The date parameter consists of the full English name of the current month with initial capital, a space, and the year, not full dates, ISO date order, or other formatting; e.g., "January 2013", but not "jan13" or "7 January 2013" or "2013-01". Any deviation from this rule will result in an "invalid date parameter" error.

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-contradictory in articles based on its TemplateData.

TemplateData for Self-contradictory

<templatedata> { "description": "This template will categorize tagged articles into \"Category:Self-contradictory articles\". ", "params": { "1": { "label": "Scope", "description": "Whether the whole article or one section is contradictory; enter either 'article' or 'section'", "type": "line", "aliases": [ "scope" ] }, "2": { "label": "Talk page section", "description": "The section on the talk page where the contradiction is discussed or explained", "type": "line", "aliases": [ "talksection", "discuss" ] }, "about": { "label": "About", "description": "The subject about which the article or section is contradictory. Optional but recommended parameter.", "suggested": true, "type": "string" }, "date": { "label": "Date", "description": "The month and year the template was added", "suggested": true, "type": "content", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" } } } </templatedata>