跳至內容

模板: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) -->
| 
}}
沒有翻譯的內容
/. 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

討論頁存檔的子頁面名稱

範例
/存檔
內容非必填