Template:Update
此模板需要更新。 |
| File:Police man Twinkle Head.svg | 如果您計劃大幅修改、移動或提出刪除該模板,請在此页通知Twinkle的使用者與維護員。 Twinkle默认會用到該模板,修改可能会影响大量用户。谢谢您的配合! |
使用方式[编辑]
這個模板是提示有時效性之條目,進行反映時事的內容更新。
預設的「條目」字詞是可以修改的:{{Update|條目所有內容|time=2026-06-25T18:54:04+00:00}} 會產生
此條目所有內容需要更新。 (2026年6月25日) |
其中,time参数必须正确填写,否则会报告错误。
还可以用|reason=说明需要更新的原因、用|updated=说明上一次重大更新的时间:
{{Update|time=2026-06-25|reason=目前此用语的意思已经发生改变|updated=2016-02-29}}
此模板需要更新,原因:目前此用语的意思已经发生改变。 (2026年6月25日) |
若只想注明加入模板的时间|time=,可以使用自动填写时间戳的:
{{subst:update/auto}}
|small参数可显示一个较小的提示,用于标记特定章節
| File:Ambox outdated serious.svg | 此模板需要更新。 (2026年6月25日) |
模板重定向[编辑]
模板数据[编辑]
<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>
参见[编辑]
- {{Update after}}
- {{As of}}
- {{Show by date}}