“模板:Disputed”的版本间的差异

wikilife>TompaDompa
(Attempting to add an optional parameter for additional text.)
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:45的最新版本

{{#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}}|| }}