« Modèle:Confusing/doc » : différence entre les versions
(→Usage : ce) |
m (1 version importée) |
Dernière version du 16 juillet 2022 à 14:52
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| <templatestyles src="Module:Message box/ombox.css"></templatestyles>
Modèle:Strong for Modèle:Terminate sentence It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#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 you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! {{#if:| {{{1}}}}} |
{{#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=novembre 2024|reason=the Wangler is referred to in the plural but the diagram shows only one}}
<templatestyles src="Module:Message box/ambox.css"></templatestyles>
This article may be confusing or unclear to readers. {{#if:the Wangler is referred to in the plural but the diagram shows only one|In particular, the Wangler is referred to in the plural but the diagram shows only one.}} (novembre 2024) |
{{#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=novembre 2024|talk=Template talk:Confusing#Talk parameter please!}}
<templatestyles src="Module:Message box/ambox.css"></templatestyles>
This article may be confusing or unclear to readers. {{#if:|In particular, {{{reason}}}.}} (novembre 2024) |
{{#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|small=left}}
generates:
<templatestyles src="Module:Message box/ambox.css"></templatestyles>
This article may be confusing or unclear to readers. {{#if:|In particular, {{{reason}}}.}} |
{{#ifeq:left;10|left;0|}}
{{Confusing|small=left|reason=the tensing of the article is ambiguous}}
generates:
<templatestyles src="Module:Message box/ambox.css"></templatestyles>
This article may be confusing or unclear to readers. {{#if:the tensing of the article is ambiguous|In particular, the tensing of the article is ambiguous.}} |
{{#ifeq:left;10|left;0|}}
Template data
|=[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ètre | Description | Type | État | |
---|---|---|---|---|
Article or section? | 1 | Set to 'section' to specify that you are referring to the section
| Chaîne | facultatif |
Discussion location | talk | 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 (§).
| Nom de page | suggéré |
What is confusing? | reason | Explain what part of the text needs to be clarified. | Chaîne | facultatif |
Date | date | The date this template was added, in the format [full month name] [full year].
| Date | obligatoire |
Small? | small | Set to 'left' if a small version should be shown instead of the default | Chaîne | facultatif |
See also
- Template:Clarify, an in-line version of this template
- Template:Confusing section, a section version of this template
- Wikipedia:Template messages/Cleanup for an overview of cleanup templates.