“模板:Lead rewrite”的版本间的差异

wikilife>Funandtrvl
(update code)
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:51的最新版本

{{#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}}|| }}