模板:Archive banner/doc

本页使用了标题或全文手工转换,现处于中国大陆简体模式
模板页面

External contributors留言 | 贡献于2020年7月9日 (四) 19:00提交的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

概要

列出所有存档页,并创建一个搜索框以搜索存档。

参数及使用方法

As a list of archives, this is similar to 模板链接:{{archive box}}, but it presents in a banner-like format, as opposed to a box. This helps the flow of a page — there's not really a good place to put the Archive Box. Obviously it's to be put at the top of the page.

Also, this template collapses, which is always helpful on talk pages.

If you don't need a list (which is a mere row of numbers, thus of little help), you can use 模板链接:{{search box}} and similar templates.

基本用法

  • {{archive banner}}
    此功能与{{archive box|auto=yes}}相同。将自动列出所有页面名为“存档1”,“存档2”等的页面。

参数

index=true
显示 /存档目录 子页面。
list=
If the talk page wasn't archived using standard numbering, list the individual pages:
{{archive banner|numeric=false|list=
* Some archive 1
* Some other archive blah
}}

If |list= is specified, even if blank, a list of archives won't be automatically generated.

extra
Allows for user customization on the box, adding any extra text necessary.
state
Sets the state of the archive banner, [autocollapse, uncollapsed, collapsed]

重定向

参见