跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
天灾之下:危险连接官网(建设中)
天灾之下:危险连接QQ群
天灾之下:危险连接 Bilibili
冰糖服务器
冰糖服务器QQ群
天灾之下:危险连接资料站
搜索
搜索
中文(中国大陆)
外观
创建账号
登录
个人工具
创建账号
登录
查看“︁模板:Auto archiving/doc”︁的源代码
模板
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
[[雷光]]
外观
移至侧栏
隐藏
←
模板:Auto archiving/doc
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{Documentation subpage}} __NOTOC__ This template is used by [[User:ArchiverBot]], which runs approximately once per day, to archive old discussion pages. '''IMPORTANT''': Make sure to establish consensus before using this template on any page other than your user talk page. Note that in some cases archiving is better handled manually than with a bot, so a discussion is required prior to enabling automatic archiving. ===Usage=== See [[Manual:Pywikibot/archivebot.py/setup]] for complete details on how this template can be used. Please note that the template should be added directly to the page to be archived; the bot reads the wikitext of the page, so it won't find the configuration if it's transcluded from another page (like a talk header). Parameters that will most often be used here include: * '''archive''' - The pattern corresponding to where threads will be archived. For simple cases this might simply be a page name: "<code>Project:Page name/Archives</code>". In more complex cases the pattern might be based on the date: "<code>Project:Page name/Archives/%(year)d/%(monthname)s</code>". * '''algo''' - The maximum age of a thread before it can be archived. Note that this parameter corresponds to the last time a comment was added to a thread, ''not'' how long it has been since the thread was created. A value such as "<code>old(28d)</code>" would indicate that threads must have been inactive for 28 days before they will be archived. * '''minthreadsleft''' - The minimum number of threads to leave on a page. * '''minthreadstoarchive''' - The minimum number of threads to archive at once. * '''archiveheader''' - When new archive pages are created, this content will be placed at the top of the new page. ===Example=== The following is an example showing usage of this template to archive old threads: <syntaxhighlight lang="wikitext"> {{auto archiving |archive = Project:PageName/Archives/%(year)d/%(monthname)s |algo = old(14d) |minthreadsleft = 2 |minthreadstoarchive = 1 |archiveheader = {{talk archive}} }} </syntaxhighlight> <includeonly> [[Category:Templates]] </includeonly>
该页面嵌入的页面:
模板:Documentation subpage
(
查看源代码
)
模板:Documentation subpage/en
(
查看源代码
)
模板:IsDocSubpage
(
查看源代码
)
模板:Mbox
(
查看源代码
)
模块:Arguments
(
查看源代码
)
模块:Message box
(
查看源代码
)
模块:Message box/configuration
(
查看源代码
)
模块:Message box/ombox.css
(
查看源代码
)
模块:Template translation
(
查看源代码
)
模块:Yesno
(
查看源代码
)
返回
模板:Auto archiving/doc
。
搜索
搜索
查看“︁模板:Auto archiving/doc”︁的源代码
添加语言
添加话题