Changes
Update to TemplateData
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE -->
This template is used to mark sentences or phrases that contradict other material in the same page by default, or a different page if one is specified.
* This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]].
* This template is not useful for [[Wikipedia:Subst|substitution]].
== Usage ==
Append this template immediately after the contradictory material, and use one or more of the parameters below to specify the nature of the contradiction.
=== Parameters ===
{{strongbad|No links or other wikimarkup, and no double quotes, in these parameter values,}} except as noted below. This content appears in the mouse-over tooltip, when hovering over the template's "Contradictory" output. This feature cannot support links, italics, or other markup, and chokes on double quotes (use single, or the character entity code <code>&quot;</code> to generate a double quote character).
; Unnamed parameter (may be named explicitly as '''{{para|1}}''' or '''{{para|article}}''')
: Title of mainspace article with which the material is in conflict, e.g. {{para|article|Dove}}, and may contain a <code>#</code> anchor to a section, e.g. {{para|article|Dove#Domestication}}, though it will be more legible to specify the section with the {{para|section}} parameter below: {{para|article|Dove}}{{para|section|Domestication}}.
; {{para|page}}
: Title of a non-article (and optionally a section within it, or use {{para|section}}) with conflicting material, e.g. the article's talk page: {{para|page|Talk:Pigeon#New sources on genetics}} or {{para|page|Talk:Pigeon}}{{para|section|New sources on genetics}}. When the template is used in a non-article (e.g. a Wikipedia guideline page), this parameter and the above one are equivalent.
; {{para|section}}
: Name of a section (or other HTML anchor) in the present page or other page, to be more specific about whether the material is with which the tagged content conflicts; do not use the <code>#</code> symbol. When used alone, it indicates a section on the current page, e.g. {{para|section|Modern genetic research}}. When used with either of the above two parameters, indicates a section on the other page, e.g. {{para||Dove}}{{para|section|Domestication}}.
; {{para|reason}}
: Used to {{em|replace the entire output}} of the mouse-over tooltip,{{under discussion inline}} to provide an alternative explanation about the nature of the conflicting information. Use the talk page for detailed information, as the tooltip cannot supply a large amount of content (depending on browser, there are limits to both the amount of content that can be included, and the length of time it will display; it needs to be readable in a few seconds).
; {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
: To date the addition of the tag. If you leave this parameter off, a [[WP:Bot|bot]] will add it later.
== Categorisation ==
This template may categorise tagged articles, depending on parameters.
# If it is used in an article, and no conflicting article is specified, the article will be categorised into [[:Category:All self-contradictory articles]].
# If it is used in an article and a conflicting article is specified, the article in which the template appears will be categorised into [[:Category:Articles contradicting other articles]].
=== Examples ===
In the following examples, the word "page" will actually be "article" if the template is used inside an actual article, and parameter <code>1</code> (a.k.a. <code>article</code>) is used.
* The code: {{Tlx|Contradict-inline}}<br />produces: {{Contradict-inline}}
* The code: {{Tlx|Contradict-inline|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}<br />produces: {{Contradict-inline|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* The code: {{Tlx|Contradict-inline|Dove}}<br />produces: {{Contradict-inline|Dove}}
* The code: {{Tlx|Contradict-inline|1{{=}}Dove#Domestication}}<br />produces: {{Contradict-inline|1=Dove#Domestication}}
* The code: {{Tlx|Contradict-inline|article{{=}}Dove|section{{=}}Domestication}}<br />produces: {{Contradict-inline|article=Dove|section=Domestication}}
* The code: {{Tlx|Contradict-inline|page{{=}}Talk:Pigeon|section{{=}}New sources on genetics}}<br />produces: {{Contradict-inline|page=Talk:Pigeon|section=New sources on genetics}}
* The code: {{Tlx|Contradict-inline|section{{=}}Modern genetic research}}<br />produces: {{Contradict-inline|section=Modern genetic research}}
* The code: {{Tlx|Contradict-inline|article{{=}}Dove|section{{=}}Domestication|reason{{=}}Sources there have earlier domestication date.|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}<br />produces: {{Contradict-inline|article=Dove|section=Domestication|reason=Sources there have earlier domestication date.|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
==TemplateData==
<templatedata>
{
"description": "Tag for marking sentences or phrases that contradict other material in the same page by default, or a different page if one is specified.",
"params": {
"article": {
"label": "Article",
"description": "The article in which the contradictory information is found, if not the current article. The tag will link to that article.",
"type": "string",
"required": false,
"aliases": [
"1"
]
},
"page": {
"label": "Page",
"description": "The page, if not an article, in which the contradictory information is found, if not the current page.",
"required": false,
"type": "string"
},
"section": {
"label": "Section",
"description": "A specific section, if applicable, of the article or page in which the contradictory information is found.",
"required": false,
"type": "string"
},
"reason": {
"label": "Reason",
"description": "A brief explanation of the contradiction. Use the talk page for a longer explanation.",
"required": false,
"type": "string",
"autovalue": "",
"suggested": true
},
"date": {
"label": "Date",
"description": "The month and year on which this tag is being added, e.g., 'January 2018', but not 'jan18'. If you omit this parameter, a bot will fill it in later.",
"required": false,
"type": "date",
"autovalue": "{{subst:DATE}}",
"suggested": true
}
}
}
</templatedata>
== See also ==
* {{Tl|Contradicts other}}, an equivalent in the form of a message box
* {{Tl|Contradicts others}}
* {{Tl|Self-contradictory}}
* [[Wikipedia:Template messages/Cleanup]]
{{Inline tags}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS LINKS HERE, THANKS -->
[[Category:Coherency templates|{{PAGENAME}}]]
[[Category:Inline dispute templates|{{PAGENAME}}]]
</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE -->
This template is used to mark sentences or phrases that contradict other material in the same page by default, or a different page if one is specified.
* This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]].
* This template is not useful for [[Wikipedia:Subst|substitution]].
== Usage ==
Append this template immediately after the contradictory material, and use one or more of the parameters below to specify the nature of the contradiction.
=== Parameters ===
{{strongbad|No links or other wikimarkup, and no double quotes, in these parameter values,}} except as noted below. This content appears in the mouse-over tooltip, when hovering over the template's "Contradictory" output. This feature cannot support links, italics, or other markup, and chokes on double quotes (use single, or the character entity code <code>&quot;</code> to generate a double quote character).
; Unnamed parameter (may be named explicitly as '''{{para|1}}''' or '''{{para|article}}''')
: Title of mainspace article with which the material is in conflict, e.g. {{para|article|Dove}}, and may contain a <code>#</code> anchor to a section, e.g. {{para|article|Dove#Domestication}}, though it will be more legible to specify the section with the {{para|section}} parameter below: {{para|article|Dove}}{{para|section|Domestication}}.
; {{para|page}}
: Title of a non-article (and optionally a section within it, or use {{para|section}}) with conflicting material, e.g. the article's talk page: {{para|page|Talk:Pigeon#New sources on genetics}} or {{para|page|Talk:Pigeon}}{{para|section|New sources on genetics}}. When the template is used in a non-article (e.g. a Wikipedia guideline page), this parameter and the above one are equivalent.
; {{para|section}}
: Name of a section (or other HTML anchor) in the present page or other page, to be more specific about whether the material is with which the tagged content conflicts; do not use the <code>#</code> symbol. When used alone, it indicates a section on the current page, e.g. {{para|section|Modern genetic research}}. When used with either of the above two parameters, indicates a section on the other page, e.g. {{para||Dove}}{{para|section|Domestication}}.
; {{para|reason}}
: Used to {{em|replace the entire output}} of the mouse-over tooltip,{{under discussion inline}} to provide an alternative explanation about the nature of the conflicting information. Use the talk page for detailed information, as the tooltip cannot supply a large amount of content (depending on browser, there are limits to both the amount of content that can be included, and the length of time it will display; it needs to be readable in a few seconds).
; {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
: To date the addition of the tag. If you leave this parameter off, a [[WP:Bot|bot]] will add it later.
== Categorisation ==
This template may categorise tagged articles, depending on parameters.
# If it is used in an article, and no conflicting article is specified, the article will be categorised into [[:Category:All self-contradictory articles]].
# If it is used in an article and a conflicting article is specified, the article in which the template appears will be categorised into [[:Category:Articles contradicting other articles]].
=== Examples ===
In the following examples, the word "page" will actually be "article" if the template is used inside an actual article, and parameter <code>1</code> (a.k.a. <code>article</code>) is used.
* The code: {{Tlx|Contradict-inline}}<br />produces: {{Contradict-inline}}
* The code: {{Tlx|Contradict-inline|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}<br />produces: {{Contradict-inline|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* The code: {{Tlx|Contradict-inline|Dove}}<br />produces: {{Contradict-inline|Dove}}
* The code: {{Tlx|Contradict-inline|1{{=}}Dove#Domestication}}<br />produces: {{Contradict-inline|1=Dove#Domestication}}
* The code: {{Tlx|Contradict-inline|article{{=}}Dove|section{{=}}Domestication}}<br />produces: {{Contradict-inline|article=Dove|section=Domestication}}
* The code: {{Tlx|Contradict-inline|page{{=}}Talk:Pigeon|section{{=}}New sources on genetics}}<br />produces: {{Contradict-inline|page=Talk:Pigeon|section=New sources on genetics}}
* The code: {{Tlx|Contradict-inline|section{{=}}Modern genetic research}}<br />produces: {{Contradict-inline|section=Modern genetic research}}
* The code: {{Tlx|Contradict-inline|article{{=}}Dove|section{{=}}Domestication|reason{{=}}Sources there have earlier domestication date.|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}<br />produces: {{Contradict-inline|article=Dove|section=Domestication|reason=Sources there have earlier domestication date.|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
==TemplateData==
<templatedata>
{
"description": "Tag for marking sentences or phrases that contradict other material in the same page by default, or a different page if one is specified.",
"params": {
"article": {
"label": "Article",
"description": "The article in which the contradictory information is found, if not the current article. The tag will link to that article.",
"type": "string",
"required": false,
"aliases": [
"1"
]
},
"page": {
"label": "Page",
"description": "The page, if not an article, in which the contradictory information is found, if not the current page.",
"required": false,
"type": "string"
},
"section": {
"label": "Section",
"description": "A specific section, if applicable, of the article or page in which the contradictory information is found.",
"required": false,
"type": "string"
},
"reason": {
"label": "Reason",
"description": "A brief explanation of the contradiction. Use the talk page for a longer explanation.",
"required": false,
"type": "string",
"autovalue": "",
"suggested": true
},
"date": {
"label": "Date",
"description": "The month and year on which this tag is being added, e.g., 'January 2018', but not 'jan18'. If you omit this parameter, a bot will fill it in later.",
"required": false,
"type": "date",
"autovalue": "{{subst:DATE}}",
"suggested": true
}
}
}
</templatedata>
== See also ==
* {{Tl|Contradicts other}}, an equivalent in the form of a message box
* {{Tl|Contradicts others}}
* {{Tl|Self-contradictory}}
* [[Wikipedia:Template messages/Cleanup]]
{{Inline tags}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS LINKS HERE, THANKS -->
[[Category:Coherency templates|{{PAGENAME}}]]
[[Category:Inline dispute templates|{{PAGENAME}}]]
</includeonly>