“模板:Lead too short”的版本间的差异

wikilife>Funandtrvl
(add section link per talk page rqst)
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:46的最新版本

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

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

{{#ifeq:lead too short |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|Lead too short|}}}}

Usage编辑

Place {{Lead too short|date=11月 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=11月 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:Lead to|sandbox|1}}{{#ifeq:Lead too short|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.}}

{{#if:{{#ifeq:Lead to|sandbox|1}}{{#ifeq:Lead too short|doc|1}}|| }}