模板:Disputed/doc:修订间差异

来自决策链云智库
(创建页面,内容为“{{Documentation subpage}} {{nosubst}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Function == This template provides a quick reference sidebar of "Unsigned" templates. The purpose is to help the editor choose the correct such template. == Usage == This template may be used on the documentation pages of all "Unsigned" templates it exhibits. Place this template near the T…”)
 
无编辑摘要
 
第1行: 第1行:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
__NOTOC__
{{For|the inline template|Template:Disputed inline}}
{{Twinkle standard installation}}
{{nosubst}}
{{nosubst}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This template identifies a Wikipedia article as having content whose truth or factual nature is in dispute. If the problem is confined to one section, or a few sections in an article that has several, it is better to use {{tlg|Disputed section}}.


== Function ==
* This [[Wikipedia:Template namespace|template]] is a [[Wikipedia:Manual of Style/Self-references to avoid|self-reference]].
This template provides a quick reference sidebar of "Unsigned" templates. The purpose is to help the editor choose the correct such template.


== Usage ==
== Usage ==
This template may be used on the documentation pages of all "Unsigned" templates it exhibits. Place this template near the TOP of the /doc subpage as follows:


<syntaxhighlight lang="wikitext">
First add a new section named "Disputed" to the article's [[Help:Using talk pages|talk page]], describing the problems with the disputed statements. Then place <code><nowiki>{{Disputed}}</nowiki></code> at the top of the disputed article. If the talk page discussion is not in a section named "Disputed", use {{Tlx|Disputed|''talk page section name''}} (for a talk page section named "Disputed information", use {{Tlx|Disputed|Disputed information}} in the article). If there is no talk page, the tag won't refer to it (in which case it's recommended to consider whether the tag should be there, since there is no reason given). Articles using this template as shown above are placed into [[:Category:Accuracy disputes]].
{{Unsigned templates}}
</syntaxhighlight>


<includeonly>{{Sandbox other||
If a dispute spans multiple pages, please centralize the discussion in one location and link to it by specifying the talk page where the discussion is: {{tlx|Disputed|talkpage{{=}}Talk:Page name|section name|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}.
 
This template can take an optional date parameter in the format {{Tlx|Disputed|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} or {{Tlx|Disputed|talk page section name|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. If the date is not included it will be added later by a [[WP:BOT]]. Articles using this template with a date are added to a monthly subcategory of [[:Category:Accuracy disputes]].
 
;Example
 
: {{Tlx|Disputed|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
Output:
{{Disputed|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
Category:
: [[:Category:Accuracy disputes from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]]
 
=== Sections===
If applied to part of an article, this template takes an optional parameter "what", for example: {{tlx|Disputed|what{{=}}section}}. An alternative is to use either {{tl|Disputed section}} or {{tl|Dispute about}}. To make the message box small, set the "small" parameter to "left":
 
:{{Tlx|Disputed|what{{=}}table|small{{=}}left}}
Output:
{{Disputed|what=table|small=left}}
 
== Template Data ==
 
{{TemplateDataHeader}}
 
<templatedata>
{
"params": {
"what": {
"description": "Type of content. Fits the sentence \"This (what) is disputed\"",
"example": "section",
"default": "article",
"type": "line"
},
"discuss": {
"label": "1",
"aliases": [
"talk",
"talkpage"
],
"description": "The location (Talk:Page, Section, or Talk:Page#Section) where the dispute is discussed.",
"type": "wiki-page-name"
},
"date": {
"description": "Date template was added.",
"example": "May 2016",
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
"suggested": true
}
},
"description": "Identifies that the article has content whose truth or factual nature is in dispute."
}
</templatedata>
 
== Redirects ==
*{{Tl|Accuracy}}
*{{Tl|Accuracy dispute}}
*{{Tl|BLP dispute}}
*{{Tl|Content disputed}}
*{{Tl|Factual accuracy}}
*{{Tl|Factual accuracy disputed}}
 
== See also ==
{{Dispute templates}}
{{Citation and verifiability article maintenance templates}}
 
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Documentation shared content templates]]
[[Category:Citation and verifiability maintenance templates|{{PAGENAME}}]]
[[Category:Username internal link templates| ]]
[[Category:Dispute templates|{{PAGENAME}}]]
}}</includeonly>
}}</includeonly>

2024年1月17日 (三) 12:15的最新版本

This template identifies a Wikipedia article as having content whose truth or factual nature is in dispute. If the problem is confined to one section, or a few sections in an article that has several, it is better to use {{Disputed section}}.

Usage

First add a new section named "Disputed" to the article's talk page, describing the problems with the disputed statements. Then place {{Disputed}} at the top of the disputed article. If the talk page discussion is not in a section named "Disputed", use {{Disputed|<talk page section name>}} (for a talk page section named "Disputed information", use {{Disputed|<Disputed information>}} in the article). If there is no talk page, the tag won't refer to it (in which case it's recommended to consider whether the tag should be there, since there is no reason given). Articles using this template as shown above are placed into Category:Accuracy disputes.

If a dispute spans multiple pages, please centralize the discussion in one location and link to it by specifying the talk page where the discussion is: {{Disputed|<talkpage=Talk:Page name>|<section name>|<date=11月 2024>}}.

This template can take an optional date parameter in the format {{Disputed|<date=11月 2024>}} or {{Disputed|<talk page section name>|<date=11月 2024>}}. If the date is not included it will be added later by a WP:BOT. Articles using this template with a date are added to a monthly subcategory of Category:Accuracy disputes.

Example
{{Disputed|<date=11月 2024>}}

Output:

Category:

Category:Accuracy disputes from 11月 2024

Sections

If applied to part of an article, this template takes an optional parameter "what", for example: {{Disputed|<what=section>}}. An alternative is to use either {{Disputed section}} or {{Dispute about}}. To make the message box small, set the "small" parameter to "left":

{{Disputed|<what=table>|<small=left>}}

Output:

Template Data

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

TemplateData for Disputed

Identifies that the article has content whose truth or factual nature is in dispute.

模板参数

参数描述类型状态
whatwhat

Type of content. Fits the sentence "This (what) is disputed"

默认值
article
示例值
section
单行文本可选
1discusstalktalkpage

The location (Talk:Page, Section, or Talk:Page#Section) where the dispute is discussed.

页面名称可选
datedate

Date template was added.

示例值
May 2016
自动值
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
未知推荐

Redirects

See also

模板:Dispute templates