模板:Synthesis/doc

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:模板:Synthesis
                  | [[Category:{{#switch:模板 |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=11月 2024}} produces:

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


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

See also编辑

TemplateData编辑

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

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Synthesis}}.
|#default=[1]

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

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

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Synthesis}}.
|#default=[2]

}}}}

TemplateData for Synthesis

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:模板|模板
   | template
   | other
   }}
 }}

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

}} | other | #default = }} <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>