Difference between revisions of "Template:Lead too long/doc"

From blackwiki
Jump to navigation Jump to search
imported>FlightTime
(Define lnk trgt)
imported>Ost316
(add TemplateData)
Line 8: Line 8:
 
=== Notes ===
 
=== Notes ===
 
* This template will categorize tagged articles into [[:Category:Wikipedia introduction cleanup]].
 
* This template will categorize tagged articles into [[:Category:Wikipedia introduction cleanup]].
 +
 +
== TemplateData ==
 +
<templatedata>
 +
{
 +
    "description": "A banner intended 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>
 +
 
{{Introduction cleanup maintenance templates}}
 
{{Introduction cleanup maintenance templates}}
 
<includeonly>
 
<includeonly>

Revision as of 16:27, 12 November 2018

Usage

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

Notes

TemplateData

A banner intended 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.

Template parameters

ParameterDescriptionTypeStatus
Datedate

Month and year when the template was added to the article

Example
November 2018
Auto value
{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}
Stringrequired


  • 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.