模板:RFC countdown/doc
外观
此页面是Template:RFC countdown的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
描述
[编辑]本模板提供一种简单的请求评论倒数计时。由于请求评论机器人会将持续开启超过30日的议题自动存档,因此预设为30日开始倒数。
Warning: The figures may only update when a page is purged. Consequently, this template may be of limited use for a rarely updated talk page.
用法
[编辑]{{RFC countdown| date RFC started | total run time in days | RFC}}
Only the first parameter is mandatory and should be set to the date the RFC was raised. The date should be in the format "YYYY-MM-DD".
The optional total run time defaults to 30 and may be set to any number.
The optional third parameter displays "This RFC will close in <n> days." only if the parameter equals "RFC".
- Example 1 code
{{RFC countdown|2009-07-16}} days left.
- Example 1 result (on 25 July 2009)
20 days left.
- Example 2 code
{{RFC countdown|2009-07-16|30|RFC}}
- Example 2 result (on 25 July 2009)
This RFC will close in 20 days.