模板:Lead too short/doc

< 模板:Lead too short
wikilife>Funandtrvl2020年12月19日 (六) 05:17的版本 (add tracking)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

{{#if:||{{#ifeq:Lead too short/doc|Lead too short|}}}}

Usage

Place {{Lead too short|date=7月 2024}} at the top of articles where the lead section is much shorter than what is recommended, relative to the length of the article. The appropriate length of the lead section depends on the total length of the article. If the lead fails to provide an adequate summary of the article's key points, without necessarily being too short, use the template {{lead rewrite}} instead.

You can use the |{{SAFESUBST:#if:reason|reason=}} parameter to specify the reason why the lead is too short, as in the following example:

{{Lead too short|date=7月 2024|reason=Your critique here.}}

Notes

Tracking category

  • [[:Category:{{#ifeq:All pages|Category:|模板:Str right|All pages needing cleanup}}|{{#if:|{{{name}}}|Category:{{#ifeq:All pages|Category:|模板:Str right|All pages needing cleanup}}}}]] (0)

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:Lead too short}}.
|#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:Lead too short}}.
|#default=[2]

}}}}

TemplateData for Lead too short

{{#switch:

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

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

}} | other | #default = }} <templatedata> { "description": "Use this cleanup template to indicate that the lead section of an article is too short relative to the length of the article and should be expanded.", "format": "inline", "params": { "date": { "label": "Month and year", "description": "The month and year that the template was placed (in full). \"{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}\" inserts the current month and year automatically.", "type": "line", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "required": true }, "reason": { "label": "Reason", "description": "The reason why the lead is too short (e.g., what it is missing)", "type": "string" }, "talk": {} }, "paramOrder": [ "date", "reason", "talk" ] } </templatedata>

Redirects

{{#if:

  1. {{build lead}}
  2. {{expand lead}}
  3. {{intro too short}}
  4. {{intro-expand}}
  5. {{intro-tooshort}}
  6. {{lead-too-short}}
  7. {{lede too short}}
  8. {{short intro}}
  9. {{short lead}}
  10. {{too short}}

|

{{#if: #{{build lead}}
  1. {{expand lead}}
  2. {{intro too short}}
  3. {{intro-expand}}
  4. {{intro-tooshort}}
  5. {{lead-too-short}}
  6. {{lede too short}}
  7. {{short intro}}
  8. {{short lead}}
  9. {{too short}}
{{#if:|
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
}}
   |#{{build lead}}
  1. {{expand lead}}
  2. {{intro too short}}
  3. {{intro-expand}}
  4. {{intro-tooshort}}
  5. {{lead-too-short}}
  6. {{lede too short}}
  7. {{short intro}}
  8. {{short lead}}
  9. {{too short}}
{{#if:|
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
}}

}}{{#ifeq: |yes

   |}}}}

{{#ifeq:模板|Template|* This template contains a self-reference (it refers to Wikipedia in its contents).

  • This template should not be substituted. Bots rely on the transcluded form for dating and categorisation.}}