Difference between revisions of "Template:Lead rewrite/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
imported>Funandtrvl
(update TD)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
{{Twinkle standard installation}}
 
{{Twinkle standard installation}}
  
=== Usage ===
+
== 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:
  
Place {{Tlx|Lead rewrite|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}} at the top of articles where the [[Wikipedia:Manual of Style/Lead section|lead section]] needs to be rewritten.
+
:{{Tlxi|Lead rewrite|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|3=reason=Your critique here.}}
 
 
Please give the reason re-write is needed on the talk page or in the reason parameter, like this:
 
 
 
{{Tlx|Lead rewrite|reason{{=}}It is a jumble of sentence fragments}}
 
 
 
{{Tlx|Lead rewrite|reason{{=}}No definition is provided}}
 
 
 
=== Notes ===
 
  
 +
== 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.",
+
"description": "A banner to indicate that a lead section of article needs to be rewritten.",
    "params": {
+
"params": {
        "date": {
+
"date": {
            "label": "Date",
+
"label": "Date",
            "description": "Month and year when the template was added to the article",
+
"description": "Month and year when the template was added to the article",
            "autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}",
+
"autovalue": "{{SUBST:CURRENTMONTHNAME}} {{SUBST:CURRENTYEAR}}",
            "example": "November 2018",
+
"example": "November 2018",
            "type": "string",
+
"type": "string",
            "required": true
+
"required": true
        }
+
},
    }
+
"reason": {
 +
"type": "string",
 +
"autovalue": ""
 +
},
 +
"talk": {
 +
"type": "string"
 +
}
 +
}
 
}
 
}
 
</templatedata>
 
</templatedata>
Line 36: Line 37:
 
{{Introduction cleanup maintenance templates}}
 
{{Introduction cleanup maintenance templates}}
  
<includeonly>{{Sandbox other||<!--
+
<includeonly>{{sandbox other||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
+
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Introduction cleanup maintenance templates|{{PAGENAME}}]]
 
[[Category:Introduction cleanup maintenance templates|{{PAGENAME}}]]
</includeonly>
 
 
<includeonly>
 
[[ca:Plantilla:Millorar introducció]]
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 20:21, 10 December 2020

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

TemplateData

A banner to indicate that a lead section of article needs to be rewritten.

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
Reasonreason

no description

Auto value
Stringoptional
Talktalk

no description

Stringoptional


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