模板:Lead extra info/doc

< 模板:Lead extra info
wikilife>Funandtrvl2020年12月11日 (五) 04:40的版本 (update info)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

Usage

Place {{Lead extra info|date=6月 2024}} at the top of articles where the lead section contains information that is not mentioned elsewhere in the article.

Notes

TemplateData

<templatedata> {

   "description": "A banner to indicate that a lead section of article contains information that is not mentioned elsewhere in 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>

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