Modèle:Confusing/doc

De La documentation de La Raffinerie
Aller à :navigation, rechercher

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

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

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

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

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

{{#if:||{{#ifeq:Confusing/doc|Confusing|}}}}

Usage

  • This template categorises tagged articles into Category:Wikipedia articles needing clarification.
  • You can specify whether the template applies to an article (default) or section by adding |article or |section after the template's name. There is also the Template:Confusing section template for the sections.
  • It is recommended to use the reason parameter to explain what is confusing. For example:
{{Confusing|date=avril 2024|reason=the Wangler is referred to in the plural but the diagram shows only one}}

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

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

  • When a talk page discussion is held, a direct link to that discussion can be added via the |{{SAFESUBST:#if:talk|talk=}} parameter. For example:
{{Confusing|date=avril 2024|talk=Template talk:Confusing#Talk parameter please!}}

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

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

  • Do not capitalize the beginning of the reason, since it is preceded by "In particular, ".
  • Do not add a full stop/period at the end of the reason because the template automatically puts a full stop/period in.
  • Please do not subst: this template.

{{Confusing|smallModèle:=left}} generates:

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

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

{{Confusing|smallModèle:=left|reasonModèle:=the tensing of the article is ambiguous}} generates:

<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%7CConfusing%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%7CConfusing%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%7CConfusing%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:Confusing}}{{#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%7CConfusing%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%7CConfusing%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%7CConfusing%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:Confusing}}{{#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 Confusing

{{#switch:

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

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

}} | other | #default = }}

This template is used to mark an article or section as confusing and in need of clarification.

Paramètres du modèle

La mise en forme sur une seule ligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
Article or section?1

Set to 'section' to specify that you are referring to the section

Par défaut
article
Chaînefacultatif
Discussion locationtalk

The location at which the discussion on the issue is being held. Should be full page name, followed by #, followed by section name. Please do not enclose between [[ and ]]. The link will be automatically formatted using the section sign (§).

Exemple
Template talk:Confusing#Talk parameter please!
Pagesuggéré
What is confusing?reason

Explain what part of the text needs to be clarified.

Chaînefacultatif
Datedate

The date this template was added, in the format [full month name] [full year].

Exemple
January 2015
Valeur automatique
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Dateobligatoire
Small?small

Set to 'left' if a small version should be shown instead of the default

Chaînefacultatif


See also