Modèle:Synthesis/doc

De Wikisisar
< Modèle:Synthesis
Révision datée du 21 octobre 2017 à 20:59 par TDLaouer (discussion | contributions) (1 révision importée)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

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

Usage

The default words "article or section" and the topic are both replaceable: {{Synthesis|article}} produces:

{{#ifeq:{{{small}}}|left|}


If the section of the talk page for discussing it is named, for example, "Synthesis debate", use the parameter "talksection" e.g. {{Synthesis|article|talksection=Synthesis debate}}. If no talksection parameter is used, the link will go to a talk page section named "Synthesis" if one exists, otherwise it will simply direct the reader to the talk page.

As the default topic is the article name, the topic parameter needs to be used to change the topic to reflect the section name when using the section parameter: {{Synthesis|section}} produces:

{{#ifeq:{{{small}}}|left|}


A date parameter can also be used to inform other editors of the time the tag has been in place: {{Synthesis|article|date=mai 2024}} produces:

{{#ifeq:{{{small}}}|left|}


This template will categorize articles into Category:Articles that may contain original research.

See also

TemplateData

{{#if:| |This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools.}}

See the monthly error report for this template.

TemplateData for Synthesis

{{#ifeq:doc|sandbox||

}} <templatedata> { "description": "This template should be used on any articles or sections that unpublished synthesis, according to Wikipedia's policy on original research.", "params": { "1": { "label": "Scope (article or section)", "description": "This parameter allows an editor to replace the default phrasing \"article or section\" with another word, such as \"section\"", "type": "string", "required": false, "default": "article or section", "example": "section", "suggested": true }, "date": { "label": "Month and year", "description": "The month and year that the need for citations is identified, such as 'July 2017'; may use '{{subst:DATE}}' template instead; if not specified, this parameter will be filled automatically by a bot", "type": "string", "required": false, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "talksection": { "label": "Talk page section", "description": "Section name on the article's talk page for discussing", "type": "string" } }, "format": "inline" } </templatedata>