模板:Lead too long
This article's lead section may be too long for the length of the article. (11月 2024) |
{{#ifeq:{{{small}}}|left|}}
{{#ifeq:lead too long |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for 模板:Lead too long. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Lead too long | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
50x40px | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! {{#if:| {{{1}}}}} |
Usage
Place {{Lead too long|date=11月 2024}}
at the top of articles with more than four paragraphs in their lead section.
Notes
- This template will categorize tagged articles into Category:Wikipedia introduction cleanup.
TemplateData
|={{#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
{{#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}}|| }}