模板:Lead rewrite

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

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

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

{{#ifeq:lead rewrite |doc

    | 

{{#ifeq:show |show

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

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=11月 2024|reason=Your critique here.}}

Notes

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>

Redirects

{{#if:

  1. {{cleanup lead}}
  2. {{intro}}
  3. {{intro-rewrite}}
  4. {{lead}}
  5. {{lead section}}
  6. {{lead-rewrite}}
  7. {{lede}}
  8. {{lede rewrite}}
  9. {{rewrite lead}}
  10. {{vagueintro}}
|
{{#if: #{{cleanup lead}}
  1. {{intro}}
  2. {{intro-rewrite}}
  3. {{lead}}
  4. {{lead section}}
  5. {{lead-rewrite}}
  6. {{lede}}
  7. {{lede rewrite}}
  8. {{rewrite lead}}
  9. {{vagueintro}}
{{#if:|
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
}}
   |#{{cleanup lead}}
  1. {{intro}}
  2. {{intro-rewrite}}
  3. {{lead}}
  4. {{lead section}}
  5. {{lead-rewrite}}
  6. {{lede}}
  7. {{lede rewrite}}
  8. {{rewrite lead}}
  9. {{vagueintro}}
{{#if:|
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
}}
}}{{#ifeq: |yes
   |}}}}

{{#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 re|sandbox|1}}{{#ifeq:Lead rewrite|doc|1}}|| }}