Template:Update/doc

维基百科,自由的百科全书
跳转到导航 跳转到搜索

使用方式[编辑]

這個模板是提示有時效性之條目,進行反映時事的內容更新。

這個模板是一個自我提及

預設的「條目」字詞是可以修改的:{{Update|條目所有內容|time=2026-06-26T18:07:05+00:00}} 會產生

其中,time参数必须正确填写,否则会报告错误。

还可以用|reason=说明需要更新的原因、用|updated=说明上一次重大更新的时间:

{{Update|time=2026-06-26|reason=目前此用语的意思已经发生改变|updated=2016-02-29}}

若只想注明加入模板的时间|time=,可以使用自动填写时间戳的:

{{subst:update/auto}}

|small参数可显示一个较小的提示,用于标记特定章節

模板重定向[编辑]

模板数据[编辑]

<templatedata> { "description": "提示页面需要更新的模板", "params": { "1": { "description": "需要更新的部分", "example": "條目所有內容" }, "date": {}, "time": { "label": "时间", "description": "模板放置的时间", "example": "2023-04-08T16:36:39+00:00", "type": "date", "required": true }, "small": { "description": "在参数值为left时可以产生一个小型的模板,以于章节中使用。", "example": "left", "suggestedvalues": [ "left" ] }, "reason": { "label": "原因", "description": "需要更新的原因", "type": "line" }, "new": { "description": "页面在别处(例如沙盒)的新版本", "type": "wiki-page-name" }, "talk": { "description": "到讨论页相关讨论的链接", "type": "wiki-page-name" }, "updated": { "description": "最后一次大幅更新的时间", "type": "date" } } } </templatedata>

参见[编辑]