因各种原因页面内容可能和源页面有所出入,非本站特有页面内容请以萌娘百科为准。
- 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
- 本镜像站和其他萌娘百科的镜像站无关,请注意分别。
Template:Archives
存档 | |
---|---|
| |
概要
{{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) --> | }}
Archive list
- archivelist
- 指定子页的链接,例如“/ archivelist”,包含档案列表。
- auto= <short|long|no>
- 指定的格式自动生成归档列表。如果未指定,默认是“长”;其他任何词(“不”除外)将导致“短”和“不”禁用自动侦测。
- index
- 链接指定的子页“档案”称号,如“/归档指数”,应该是所有归档的主题索引页的讨论。
用户:星海-adminbot可用于创建和维护一个索引。
沒有翻譯的內容 |
---|
With no explicit parameters, the archive list presented in the box is determined automatically. If a subpage called " If no archive list subpage is detected, numbered archive subpages will be listed in long format. Such pages must be named as "/Archive #" because other naming styles will not be detected. The " An additional list of archives can be passed in the first unnamed parameter, avoiding the need for a subpage. Using "auto=no" will disable archive auto-detection. Manually specified archives will still be shown. [The archive box will also contain an "Edit" link, targeted at the archive list subpage, which can then be used to begin manually populating the list, if desired. This seems broken.] Additional notesThe " The auto-generated archive list requires subpages to use the common naming convention. That is, "{{PAGENAME}}/Archive 1", "{{PAGENAME}}/Archive 2", and so on. The letter "A" must be capitalized, there must be a single space between the word "Archive" and the number, and there must be no leading zeros. If archive subpages do not conform to this convention, they can be renamed to conform, or a manual list can be maintained. Specifying " Icon image
The link and alt parameters only take effect if the image is changed from the default. Search
Archival method
Other parameters
|
範例
默認情況
{{Archives}}
存档 | |
---|---|
| |
添加參數
{{Archives|auto=short|index=/Archive index}}
存档 |
---|
未有存檔(建立)
|