Template:Userboxtop
维基百科,自由的百科全书
目录 |
[编辑] 用途
這個模板可以將好幾個用戶框和其連帶的圖片整理收集為一個整齊的區塊。這個模板功能不只限於用戶框,它也可以用來整理圖片以方便在條目中展示。
[编辑] 使用方式
{{userboxtop | align = | backgroundcolor = | bordercolor = | extra-css = | textcolor = | toptext = }} [userboxes] {{userboxbottom}}
所有參數都是選擇性的。
[编辑] 個人化
以下有一些詳細介紹
參數 | 數值範圍 |
---|---|
對齊 |
向左 , 置中 , 或 向右 (預設值) |
背景顏色 |
任何 網頁顏色 (name or #XXXXXX hex format). 預設值為#FFFFFF. |
圍框顏色 |
任何 網頁顏色 (name or #XXXXXX hex format). 預設值為#99B3FF. |
額外-css |
Allows you to provide additional CSS style information. |
文字顏色 |
任何 網頁顏色 (name or #XXXXXX hex format). 預設值為#000000. |
頂置文字 |
Overrides the standard {{Userboxes}} text and link. Can include wiki-markup. |
中間可插入新行以及重組分類。詳情可參看{{Userboxbreak}}。
[编辑] 隱藏用戶框
You can hide userboxes which utilize this (as well as a few other) forms of template-based userbox organization. Simply edit your userspace CSS override (for example, monobook.css for the Monobook skin) and add the following–
#userboxes { display: none; }