Modèle:Self-contradictory/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:Self-contradictory
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

This template will categorize tagged articles into Category:Self-contradictory articles.

After posting this template

Please start a section on the article's talk page to discuss and specify the specific section that contradicts itself. The third optional parameter is the name of a specific section on the specified talk page.

It is possible to specify the subject about which the article or section is contradictory with the optional parameter about.

Example of use
{{Self-contradictory|about=the cause of death|date=novembre 2024}}

This renders as:

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

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

Adding the optional text |section or |article changes the vague default wording to be more specific:

  • Default: "This article or section appears to contradict ..." followed by "itself" or a link to an article named with |{{SAFESUBST:#if:article|article=}}
  • |{{SAFESUBST:#if:|=}}article or |{{SAFESUBST:#if:1|1=}}article – "This article appears to contradict ..." followed by "itself" or a link to an article named with |{{SAFESUBST:#if:article|article=}}
  • |{{SAFESUBST:#if:|=}}section or |{{SAFESUBST:#if:1|1=}}section – "This section appears to contradict ..." followed by "itself" or a link to an article named with |{{SAFESUBST:#if:article|article=}}
  • |{{SAFESUBST:#if:|=}}othersection or |{{SAFESUBST:#if:1|1=}}othersection – "This section appears to contradict another section of this article" (this parameter is ignored if mutually exclusive parameter |{{SAFESUBST:#if:article|article=}} has a value; the default output will result).
More complex examples of use
{{Self-contradictory|section|date=novembre 2024}}
{{Self-contradictory|about=the cause of death|1=article|date=novembre 2024}}
{{Self-contradictory|othersection|date=novembre 2024}}
{{Self-contradictory|section|article=John F. Kennedy|about=the cause of death|date=novembre 2024}}

Notes:

  • The date-substitution template may be used to automatically generate the date, e.g., {{Self-contradictory|{{subst:DATE}}}}. See Help:Substitution for more information.
  • The |{{SAFESUBST:#if:date|date=}} parameter need not be added by the editor: if not entered, a bot will soon add it. The date parameter consists of the full English name of the current month with initial capital, a space, and the year, not full dates, ISO date order, or other formatting; e.g., "January 2013", but not "jan13" or "7 January 2013" or "2013-01". Any deviation from this rule will result in an "invalid date parameter" error.

See also

TemplateData

{{#if:|{{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CSelf-contradictory%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%7CSelf-contradictory%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%7CSelf-contradictory%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:Self-contradictory}}{{#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%7CSelf-contradictory%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%7CSelf-contradictory%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%7CSelf-contradictory%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:Self-contradictory}}{{#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 Self-contradictory

{{#switch:

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

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

}} | other | #default = }}

This template will categorize tagged articles into "Category:Self-contradictory articles".

Paramètres du modèle

ParamètreDescriptionTypeÉtat
Scope1 scope

Whether the whole article or one section is contradictory; enter either 'article' or 'section'

Ligne de textefacultatif
Talk page section2 talksection discuss

The section on the talk page where the contradiction is discussed or explained

Ligne de textefacultatif
Aboutabout

The subject about which the article or section is contradictory. Optional but recommended parameter.

Chaînesuggéré
Datedate

The month and year the template was added

Valeur automatique
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Contenusuggéré