Difference between revisions of "Template:Lead rewrite/doc"
Jump to navigation
Jump to search
imported>Andrybak (use Template:Sandbox other) |
imported>Funandtrvl (update TD) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
{{Twinkle standard installation}} | {{Twinkle standard installation}} | ||
| − | + | == Usage == | |
| + | Place this template at the top of articles where the [[Wikipedia:Manual of Style/Lead section|lead section]] needs to be rewritten. Include the current date and the reason the re-write is needed on the talk page or in the reason parameter, like this: | ||
| − | + | :{{Tlxi|Lead rewrite|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|3=reason=Your critique here.}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | == Notes == | ||
* This template will categorize tagged articles into [[:Category:Wikipedia introduction cleanup]] and [[:Category:Articles covered by WikiProject Wikify]]. | * This template will categorize tagged articles into [[:Category:Wikipedia introduction cleanup]] and [[:Category:Articles covered by WikiProject Wikify]]. | ||
| Line 20: | Line 14: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | + | "description": "A banner to indicate that a lead section of article needs to be rewritten.", | |
| − | + | "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 | |
| − | + | }, | |
| − | + | "reason": { | |
| + | "type": "string", | ||
| + | "autovalue": "" | ||
| + | }, | ||
| + | "talk": { | ||
| + | "type": "string" | ||
| + | } | ||
| + | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
| Line 36: | Line 37: | ||
{{Introduction cleanup maintenance templates}} | {{Introduction cleanup maintenance templates}} | ||
| − | <includeonly>{{ | + | <includeonly>{{sandbox other|| |
| − | + | <!-- Categories below this line; interwikis at Wikidata --> | |
[[Category:Introduction cleanup maintenance templates|{{PAGENAME}}]] | [[Category:Introduction cleanup maintenance templates|{{PAGENAME}}]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
}}</includeonly> | }}</includeonly> | ||
Revision as of 20:21, 10 December 2020
| This is a documentation subpage for Template:Lead rewrite. It contains usage information, categories and other content that is not part of the original template page. |
| 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! |
Usage
Place this template at the top of articles where the lead section needs to be rewritten. Include the current date and the reason the re-write is needed on the talk page or in the reason parameter, like this:
{{Lead rewrite|date=November 2025|reason=Your critique here.}}
Notes
- This template will categorize tagged articles into Category:Wikipedia introduction cleanup and Category:Articles covered by WikiProject Wikify.
TemplateData
A banner to indicate that a lead section of article needs to be rewritten.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Date | date | Month and year when the template was added to the article
| String | required |
| Reason | reason | no description
| String | optional |
| Talk | talk | no description | String | optional |
- 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.