模板:Disputed

wikilife>TompaDompa2020年6月2日 (二) 01:00的版本 (Attempting to add an optional parameter for additional text.)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:|left|}}

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:disputed |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Disputed
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}
{{#if:||{{#ifeq:Disputed|Disputed|}}}}

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:

{{#ifeq:|left|}}

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:

{{#ifeq:left|left|}}

Template Data

{{#if:|{{#switch:
|={{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Disputed}}.
|#default=[1]

}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:

|={{#ifeq:{{safesubst:#switch: yes
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Disputed}}.
|#default=[2]

}}}}

TemplateData for Disputed

{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:模板|模板
   | template
   | other
   }}
 }}

| template = {{#if:{{#ifeq:Dispute|sandbox|1}}{{#ifeq:Disputed|doc|1}}||

}} | other | #default = }}

<templatedata> { "params": { "1": { "label": "Talk page section name", "description": "Talk page section name, section where the dispute is discussed.", "type": "line" }, "what": { "description": "Type of content. Fits the sentence \"This (what) is disputed\"", "example": "section", "default": "article", "type": "line" }, "talkpage": { "aliases": [ "talk" ], "description": "The page 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 }, "": {}, "small": {} }, "description": "Identifies that the article has content whose truth or factual nature is in dispute." } </templatedata>

Redirects

See also

Wikipedia project pages

Templates

Disputed factual accuracy

{{#ifeq: 模板 | Category |{{#if: |{{#if: |}}}}}}

Both accuracy and POV

Disputed neutrality (POV)

{{#ifeq: 模板 | Category |{{#if: |{{#if: |}}}}}}

Wiki

{{#if:{{#ifeq:Dispute|sandbox|1}}{{#ifeq:Disputed|doc|1}}|| }}