模板:Archives
存档 | |
---|---|
| |
Template:Intricate template Template:缺乏中文说明 Module:Namespace_pagename第106行Lua错误:attempt to call field '_ispseudo' (a nil value)
概要
编辑{{Archives}}
可以在讨论页添加子页面的存档连结,默认情况下如果子页面名称恰当,它会自动侦测存档子页面。
参数及使用方法
编辑{{Archives
| archivelist = <!-- 存檔頁面 -->
| auto = <!-- short/long/no -->
| index = <!-- /Archive index -->
| list =
| search = <!-- yes/no -->
| root =
| prefix =
| collapsible = <!-- yes/no -->
| collapsed = <!-- yes/no -->
| editbox = <!-- yes/no -->
| box-width =
| style =
| title =
| image =
| image-size =
| alt =
| link =
| target =
| bot =
| age =
| units = <!-- time units (defaults to days) -->
|
}}
没有翻译的内容
/. Use prefix if the addition of a trailing slash is not desired.
- search-break
- Default:no
- search-width
- Default:22
- search-button-label
- Default: Search
Archival method
编辑- target
- The title of the page (just the name, no link syntax) that threads are currently being archived to, for manual archiving.
- bot
- If specified, a note about automatic archiving will be shown.
- age
- If specified, this will be displayed as the archiving delay.
- units
- If specified, this will be displayed units for the archiving delay. The default is "days".
Other parameters
编辑- collapsible
- If yes, makes the list collapsible.
- collapsed
- If yes, makes the list collapsed.
- style
- An arbitrary string of CSS can be applied to the box (use with care). May also use box-width.
- title
- An alternative title, defaults to "Archives". The title is automatically linked to the archive index page if one is specified, otherwise a wiki link may be specified here.
- editbox
- If yes or omitted, includes a button to edit the archive box's sub-page /archivelist.
范例
编辑默认情况
编辑{{Archives}}
存档 | |
---|---|
| |
添加参数
编辑{{Archives|auto=short|index=/Archive index}}
存档 |
---|
未有存档(建立)
|
参见
编辑提供讨论页存档的连结。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
子页面名称 | archivelist | 讨论页存档的子页面名称
| 内容 | 可选 |