模板:Archive banner
![]() | 存檔: 未有存檔(建立) |
概要
編輯列出所有存檔頁,並創建一個搜索框以搜索存檔。
參數及使用方法
編輯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]
重定向
編輯參見
編輯- {{Archive box}}
- {{Archive box collapsible}}
- {{Search box}} - 一個簡單的搜索框
|
上述文件嵌入自Template:Archive banner/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |