模板:Lead too long

Ph9讨论 | 贡献2020年12月27日 (日) 14:46的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

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

{{#ifeq:lead too long |doc

    | 

{{#ifeq:show |show

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

Usage

Place {{Lead too long|date=11月 2024}} at the top of articles with more than four paragraphs in their lead section.

Notes

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

}}}}

TemplateData for Lead too long

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

| template = {{#if:{{#ifeq:Lead to|sandbox|1}}{{#ifeq:Lead too long|doc|1}}||

}} | other | #default = }} <templatedata> {

   "description": "A banner to indicate that a lead section of article should be reduced, as it is longer than what is recommended, relative to the length of the article.",
   "params": {
       "date": {
           "label": "Date",
           "description": "Month and year when the template was added to the article",
           "autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}",
           "example": "November 2018",
           "type": "string",
           "required": true
       }
   }

} </templatedata>

{{#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 long|doc|1}}|| }}