Différences entre les versions de « Modèle:Disputed/doc »

De La documentation de La Raffinerie
Aller à :navigation, rechercher
([[WP:BOLD correction.)
 
m (1 version importée)
 
(Aucune différence)

Dernière version du 16 juillet 2022 à 14:53

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

| <templatestyles src="Module:Message box/ombox.css"></templatestyles>

        }}{{#if: |
         |   {{#ifexist:Modèle:Disputed
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

{{#if:||{{#ifeq:Disputed/doc|Disputed|}}}} <templatestyles src="Module:Message box/ombox.css"></templatestyles>

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|talkpageModèle:=Talk:Page name|section name|dateModèle:=mai 2024}}.

This template can take an optional date parameter in the format {{Disputed|dateModèle:=mai 2024}} or {{Disputed|talk page section name|dateModèle:=mai 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|dateModèle:=mai 2024}}

Output:

<templatestyles src="Module:Message box/ambox.css"></templatestyles>

{{#ifeq:;10|left;0|}}

Category:

Category:Accuracy disputes from mai 2024

Sections

If applied to part of an article, this template takes an optional parameter "what", for example: {{Disputed|whatModèle:=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|whatModèle:=table|smallModèle:=left}}

Output:

<templatestyles src="Module:Message box/ambox.css"></templatestyles>

{{#ifeq:left;10|left;0|}}

Template Data

{{#if:|{{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CDisputed%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|C|c}}lick here] to see a monthly parameter usage report for {{#if:|[[Template:]]|this template}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CDisputed%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CDisputed%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report] for {{#if:|[[Template:]]|Template:Disputed}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:|its|this}} TemplateData}}.

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

}}|yes| based on {{#if:|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:

|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CDisputed%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|C|c}}lick here] to see a monthly parameter usage report for {{#if:|[[Template:]]|this template}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CDisputed%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CDisputed%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|P|p}}arameter usage report] for {{#if:|[[Template:]]|Template:Disputed}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|yes| based on {{#if:|its|this}} TemplateData}}.

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

}}|yes| based on {{#if:|its|this}} TemplateData}} }}}}

TemplateData for Disputed

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Modèle|Modèle
   | template
   | other
   }}
 }}

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

}} | other | #default = }}

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

Paramètres du modèle

ParamètreDescriptionTypeÉtat
1Talk page section name

Talk page section name, section where the dispute is discussed.

Lignefacultatif
Whatwhat

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

Par défaut
article
Exemple
section
Lignefacultatif
Talkpagetalkpage talk

The page where the dispute is discussed.

Pagefacultatif
Datedate

Date template was added.

Exemple
May 2016
Valeur automatique
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Inconnusuggéré

aucune description

Inconnufacultatif
Smallsmall

aucune description

Inconnufacultatif

Redirects

See also

Wikipedia project pages

Templates

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Disputed factual accuracy

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

{{#ifeq: Modèle | Category |{{#if: |{{#if: |}}}}}}

Both accuracy and POV

Disputed neutrality (POV)

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

{{#ifeq: Modèle | Category |{{#if: |{{#if: |}}}}}}

Wiki