{{#ifeq:{{#if:|left}}|left|}}

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:refexample section |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Refexample section
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Template examples for copy-pasting:

{{Refexample section|date=11月 2024|small=y}}

{{Refexample section|date=11月 2024|talk=Talk page section name}}


Usage编辑

When to use编辑

This template indicates that a section needs additional inline citations that do not fall under self-sourcing examples. This template should be used only for sections where there are some, but insufficient, inline citations to support the material currently in the section.

Please consider marking individual poorly-referenced statements with {{Better source example}} instead of placing this template.

How to use编辑

This can be made smaller with the optional |{{SAFESUBST:#if:small|small=}} parameter set to any value.

A |{{SAFESUBST:#if:talk|talk=}} parameter is allowed; setting this to any value will result in the message "See talk page for details." being included in the tag. If the value is a valid anchor on the talk page (e.g., the title of a section or subsection heading), then the talk page link will go directly to that anchor; if not, to the top of the page.

This template also includes support for using the |{{SAFESUBST:#if:date|date=}} parameter. Adding this parameter sorts the article into subcategories of Category:Articles needing additional references and out of the parent category, allowing the oldest problems to be identified and dealt with first. A bot will add this parameter if it is omitted. Be careful not to abbreviate the date, because then it will automatically add a redlinked category instead of the correct category. The simplest way to use this parameter manually is {{Refexample section|{{subst:DATE}}}} but it can be done more explicitly as {{Refexample section|date=11月 2024}} (both result in the same output). Do not use {{Refexample section|date={{subst:DATE}}}}: {{subst:DATE}} includes the leading date=.

A user warning template, {{Uw-refexample}}, is available to notify contributors that an article they created needs its referencing improved.

This template adds the article to Category:Articles needing additional references from 11月 2024, and Category:All articles needing additional references, both hidden categories.

General advantage编辑

Template data编辑

{{#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:Refexample section}}.
|#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:Refexample section}}.
|#default=[2]

}}}}

TemplateData for Refexample section

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

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

}} | other | #default = }} <templatedata> { "description": "This template generates a tag to indicate that the article needs additional inline citations that do not fall under \"self-sourcing examples\".", "params": { "1": { "label": "Type (typically section)", "description": "Something to replace \"article\" in the template, typically \"section\"", "type": "string", "required": false }, "date": { "label": "Date", "description": "The month and year that the need for citations is identified, such as 'June 2013'; may use '{{subst:DATE}}' template instead", "type": "string", "required": false, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "talk": { "label": "Talk", "description": "Any value (such as 'y') will result in the addition of 'See talk page for details.' to the tag", "type": "string", "required": false } }, "format": "block" } </templatedata>

See also编辑

{{#if:{{#ifeq:Refexam|sandbox|1}}{{#ifeq:Refexample section|doc|1}}|| }}