“模板:Expert needed”的版本间的差异

wikilife>Izno
(per tper)
(没有差异)

2018年12月17日 (一) 01:45的版本

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

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

{{#ifeq:expert needed |doc

    | 

{{#ifeq:show |show

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


This template flags an article for the badly-needed attention of an expert or experts in the subject(s) specified (please use {{Expert needed talk}} on the talk page for non-urgent requests).

The template has the option of being assigned to a specific subcategory of Category:Articles needing expert attention, depending on the topic of the article. These subcategories are named after WikiProjects.

When to use

Use this tag when you have identified a specific issue that requires help from a subject-matter expert (not a generally knowledgeable Wikipedia editor).

If you want help for most of the page, or if you want help soon, then try these much more effective options:

How to use

{{Expert needed|WikiProject|talk=|reason=|date=}}

Parameters

  • The first unnamed parameter accepts the name of the WikiProject from Active WikiProjects
  • A second optional unnamed parameter, may be used to override the default "article" text with, for example, "section", "diagram" or "paragraph".
  • ex2ex5: To add additional expert subjects, you can use these parameters to include more names of WikiProjects.
  • talk: If you have started a discussion on the article's talk page, you may link to that discussion with |{{SAFESUBST:#if:talk|talk=}}, using the section title of the discussion.
  • reason: You may use the |{{SAFESUBST:#if:reason|reason=}} parameter to provide a short explanation describing the issue directly within the template, instead of, or in addition to the talk parameter.
Add |{{SAFESUBST:#if:talk|talk=}}, |{{SAFESUBST:#if:reason|reason=}}, or both. Uses of this template with neither may be removed without further consideration.
  • date: The date of adding the template may be used as the next parameter, in the form of Month Year.

Examples

{{Expert needed|technology|documentation|talk=Section title goes here|reason=reason goes here|date=Month Year}}

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

{{Expert needed|technology|ex2=science|ex3=math|talk=Section title goes here|reason=reason goes here|date=Month Year}}

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

Follow up

When using this template, it is essential to provide an explanation using either the "reason" or the "talk" parameter. When adding a section on the talk page, you may use {{expert needed talk}} for this purpose. If the issue is of some urgency, you may also post a notice at the WikiProject that was included in the template.

Notes

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:Expert needed}}.
|#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:Expert needed}}.
|#default=[2]

}}}}

TemplateData for Expert needed

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

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

}} | other | #default = }} <templatedata> { "params": { "1": { "label": "Field of expertise", "description": "Field of expertise from which an expert is needed", "example": "Physics", "type": "string", "suggested": true }, "2": { "label": "Section needed for", "type": "string" }, "ex2": { "label": "Field of expertise 2", "description": "Second field of expertise needed", "type": "string" }, "ex3": { "label": "Field of expertise 3", "description": "Third field of expertise needed", "type": "string" }, "ex4": { "label": "Field of expertise 4", "description": "Fourth field of expertise needed", "type": "string" }, "ex5": { "label": "Field of expertise 5", "description": "Fifth field of expertise needed", "type": "string" }, "reason": { "label": "Reason expert needed", "description": "The reason an expert is needed", "type": "string" }, "talk": { "label": "Link talk page?", "description": "If 'y' or 'yes', links talk page", "type": "string" }, "date": { "label": "Month and year", "example": "September 1996", "type": "date", "suggested": true, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" } }, "format": "block" } </templatedata>

{{#if:{{#ifeq:Expert |sandbox|1}}{{#ifeq:Expert needed|doc|1}}||

}}