Jump to content

Template:Contradicts other/doc

From Wikipedia, the free encyclopedia


This template will categorise tagged articles into Category:Articles contradicting other articles.

Usage

[edit]

{{Contradicts other|article|here,there|section|date=December 2024}}

All parameters are optional.

Parameters:

  • first: The first is an article name; providing this argument adds a link to the article
  • second: The second optional parameter specifies which talk page is linked to; provide here to link to the talk page of the article on which the template appears, or provide there to link to the talk page of the article given in the first argument. This will default to "Talk:" namespace; if you need "Wikipedia talk:", etc., use the talk parameter below to name the talk page.
  • third: The third optional parameter is the name of a specific section on the specified talk page.
  • fourth: An optional replacement for the word article in reference to the current page, such as section or list.  Alternatively, |section=yes (or any other value like |section=y) can be used to change "article" to "section" in particular.
  • fifth: An optional replacement for the word article in reference to the other page, such as page or Wikipedia policy.
  • date: A further optional date parameter may be supplied in the format date=<month> <year>. If the date is not included it may be added later by a bot.
  • talk or discuss: Specify the exact talk page name, with namespace; use this when the talk page is not in the "Talk:" namespace, e.g. |talk=Wikipedia talk:Consensus. This prevents |there= from trying to incorrectly link to something like "Talk:Wikipedia:Consensus".

Example:

{{Contradicts other|Mary, Mary, Quite Contrary|there|Conflict with another article|date=December 2024}} becomes

TemplateData

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

TemplateData for Contradicts other

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
article1

The title of the other article. Used for linking.

Page namerequired
which talk page2

"here" to link to this article's talk page. "there" to link to the article's talk page.

Stringsuggested
talk page section3

The heading name on the talk page.

Stringoptional
this article or something else4

If this parameter is not given, the box will say "This article". If a parameter value is given, it will show that value (e.g. "section" or "list") after the word "This".

Stringoptional
other article or something else5

If a parameter value is given here, and the first parameter is not blank, the value of this parameter (e.g. "page" or "guideline") will replace the second occurrence of the word "article", the one referring to the other page.

Stringoptional
language codelang

If this parameter is given, and the first parameter is not blank, the link will point to an article in another language, and that language's name will be shown.

Stringoptional
talk page nametalk discuss

The name of the talk page (option; use when talk page is not in the "Talk:" namespace).

Stringoptional
datedate

Current month and year

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
sectionsection

Change the word "article" to the word "section" in the template's output

Suggested values
yes
Stringoptional


See also

[edit]