無盡的任務 II
Advertisement

使用[]

增加下列於你的交談頁面即可加入檔案櫃

{{檔案櫃|[[/檔案]]}}

在你想要出現的地方。[[/檔案]] 可替代檔案櫃頁面的語法但記得前面要加上斜線 '/'。而要怎麼呈現你的檔案櫃則操之於你,你可以把它們用逗號分開或排成清單的格式。你可以用 [[WP:PIPE|piped links]]

放置[]

檔案櫃的呈現方式是在畫面的右邊。這就表示說當它顯示在頁面上的時候會向右對齊。

檔案櫃寬度[]

寬度可以藉由設定 box-width= 調整參數:

{{檔案櫃|box-width=13em|[[/檔案]]}}
{{檔案櫃|box-width=200px|[[/檔案]]}}

標準寬度是 238px。

自動連結[]

如果一個交談頁面的所有檔案都正確命名為 /Archive 1, /Archive 2 等等 (/Archive1, /Archive 01 或子頁面的子頁面如 /Archives/Archive 1 皆無效),你可以用 auto 這個參數來自動顯示它們的連結。而清單的部份會在檔案變更的時候自行更新。如果還有已命名的檔案,你同樣可以加上他們的連結。

使用 auto=yes

The links to the archive pages will appear as simple numbers, separated with commas (1, 2, 3, ...). Note: Archives numbered past 100 will be ignored.

{{archive box|auto=yes}}
使用 auto=long

If there are no more than 36 archive pages, and you prefer a three-column output, set the auto parameter to "long". The links to the archive pages will appear as Archive 1, Archive 2, etc. The links will be put into lines with a line break after each third link, to create columns (re-arranging the columns, e.g. from top to bottom, is not possible).

{{archive box|auto=long}}

範例[]

For actual examples of the use of this template, use the what links here link in the toolbox on the sidebar.

Wikitext Appearance
{{檔案櫃|
[[/檔案 1]],
[[/檔案 2]],
[[/December 2005 - January 2006]] and
[[/Deletion discussion]]}}
{{檔案櫃|
[[/檔案 1]]<br />
[[/檔案 2]]<br />
[[/December 2005 - January 2006]]<br />
[[/Deletion discussion]]}}
{{檔案櫃|
: [[/檔案 1]]
: [[/檔案 2]]
: [[/December 2005 - January 2006]]
: [[/Deletion discussion]]}}
{{archive box|
# [[/檔案 1]]
# [[/檔案 2]]
# [[/December 2005 - January 2006]]
# [[/Deletion discussion]]}}
{{檔案櫃|box-width=14em|image-width=20px|
* [[/檔案 1]]
* [[/檔案 2]]
* [[/December 2005 - January 2006]]
* [[/Deletion discussion]]}}
Advertisement