维基百科:用戶框
|
用戶框是用戶用來介紹自己的顯示框,是巴別顯示框的延伸。維基共享資源有很多圖片給用戶放入用戶框內。
用戶框用途包括介紹用戶興趣、技能、技術資訊、活動,或者樂趣等等。有四類型userbox模板。用戶框例子在右上顯示。
您能夠使用四種模板來創造您自己的用戶框,或使用現有的userboxes模板。
如果您想創建新模板,您應該先閲讀下方的如何創建一個用戶框。
现存的用戶框
文化
語言
- Wikipedia:巴別,現實世界的語言。
- Wikipedia:用戶框/人工語言,非現實世界的語言。
- Wikipedia:用戶框/編程語言,编程語言。
- Wikipedia:用戶框/語法,語法和與方言相關的爭論。
個人狀態
- Wikipedia:用戶框/生活,顯示用戶的年齡、家庭狀態與職業。
- Wikipedia:用戶框/地域, for countries, states, and regional geographic disputes.
- Wikipedia:用戶框/政治團體, 根據地區,顯示用戶代表或所支持的的政治組織。
- Wikipedia:用戶框/教育程度, for educational qualifications, schools, colleges and universities.
- Wikipedia:用戶框/時間,顯示用戶的時間和時區。
- Wikipedia:用戶框/星座與生肖
兴趣爱好
- Wikipedia:用戶框/興趣,標示興趣愛好。
- Wikipedia:用戶框/計算機,標示瀏覽器,硬件等等。
- Wikipedia:用戶框/書本,標示喜愛看的書本和小說。
- Wikipedia:用戶框/動漫,標示喜愛看的動畫和漫畫書。
- Wikipedia:用戶框/食物,標示喜愛的食物、飲料和飲食習慣。
- Wikipedia:用戶框/遊戲, 標示喜愛的卡牌、棋盤、紙板和電子遊戲。
- Wikipedia:用戶框/媒體, 標示喜愛的廣播、節目電視、以及電影。
- Wikipedia:用戶框/音樂, 標示喜好的音樂。
- Wikipedia:用戶框/寵物, 標示喜愛的寵物。
- Wikipedia:用戶框/體育, 標示喜好的體育活動。
生活取向
Wikipedia Users
- Wikipedia:Userboxes/Wikipedia, for user category, association, editing philosophy and preferences.
- Wikipedia:Userboxes/WikiProjects, for userboxes related to WikiProjects.
其他用戶框
- Wikipedia:Userboxes/Emoticons, to view userboxes about your current mood.
- Wikipedia:Userboxes/Funny, to view userboxes that are considered humorous.
- Wikipedia:Userboxes/Life, for userboxes about age, ancestry and profession.
- Wikipedia:Userboxes/Personality, to view userboxes about your personality.
- Wikipedia:Userboxes/Seasonal, for userboxes about holidays.
- Wikipedia:Userboxes/Userboxes, for userboxes about userboxes and userbox policy
- Wikipedia:Userboxes/Other, for userboxes that don't seem to fit in any of the above categories/uncategorised.
Note to Editors
- If a userbox does not belong in a category, please note its removal in your edit summary, and re-add the box to its appropiate category.
- Issues concerning point of view and political correctness in userboxes have yet been resolved, so do not use this as criteria for deletion.
- If there is a userbox that does not belong here, please list it on Wikipedia:Templates_for_deletion. Do not orphan or speedy delete these boxes until a consensus has been reached. To do so will only cause more controversy.
如何創建一個用戶框
建立一个用户框前
- 通过浏览上面的分类列表,检查并确实你要建立的用户框还没有建立过。
- 如果你希望将你的用户框做成模板(并阵列在上面分类中),先评估一下你的用户框是否必要。
用户框命名
- 所有的用户框类模板必须加上User的前缀。
- 命名模板时,尽量让名称明确。像{{User code}}这样的名称可以代表很多事物,而 {{User Lost(TV Series)}}就更合适一些。
替换注意事项
- 当你将用户框存为模板时,必须使用subst:前缀来转换模板代码为Wiki标记, 也就是使用{{subst:userbox|...}}。参看avoid using meta templates。
- 你愿意的话,也可以在你的用户页上完成这些。
内容
- 用户框分布在用户页的内容中,因此,请遵循维基百科的关于用户页的指导方针。
- 如果你选择放置一张图像在用户框中,确保它的版权是自由的。维基百科的政策是不允许模板或用户页有版权作品在上面。版权作品的合理引用不允许出现在模板中,请参看维基百科合理使用指导方针获得更多信息。
- 模板空间的所有内容要符合礼节。
用户框的设计
There are a number of box types to select from when deciding to make a userbox. The most commonly used design is the "Standard box". It has one square shaped area on the left ("id") and a rectangular area on the right ("info").
For ease of use, userboxes are made using maker-templates that have a number of parameters. Once the maker-template is saved, it is automatically transformed to HTML. See #A note on substitution: above.
Template Parameters | Meaning | Value type |
---|---|---|
border-c | The border color of the userbox | CSS color value (#hex or color name) |
border-s | The border size of the userbox | Width in pixels |
id-c | The background color of the id box | CSS color value |
id-s | The font size of the id box | Size in PostScript points |
id-fc | The font color of the id box text | CSS color value |
info-c | The background color of info box | CSS color value |
info-s | The font size of info box | Size in PostScript points |
info-fc | The font color of info box | CSS color value |
id | This is the content of the id box | Text |
info | This is the content of info box | Text |
Userbox types
Code | Appearance | |||
---|---|---|---|---|
Standard box | ||||
{{Userbox |border-c = #000 |border-s = 1 |id-c = #fff |id-s = 12 |id-fc = #000 |info-c = #039 |info-s = 8 |info-fc = #fff |id = ID |info = info box content }} or {{Userbox|side-box colour|main box colour|side-box content|main box content}} |
| |||
Reverse box | ||||
{{Userbox-r |border-c = #000 |border-s = 1 |id-c = #fff |id-s = 12 |id-fc = #000 |info-c = #039 |info-s = 8 |info-fc = #fff |id = ID |info = info box content }} or {{Userbox-r|side-box colour|main box colour|side-box content|main box content}} |
| |||
Double box | ||||
{{Userbox-2 |border-c = #000 |border-s = 1 |id1-c = #fff |id1-s = 12 |id1-fc = #000 |id2-c = #000 |id2-s = 12 |id2-fc = #fff |info-c = #039 |info-s = 8 |info-fc = #fff |id1 = ID 1 |id2 = ID 2 |info = info box content }} or {{Userbox-2|side-box 1 color|main box color|side-box 1 content|message|side-box 2 content|border color|side-box 2 color|main box font-color|box border thickness}}
|
| |||
Mini box | ||||
{{Userbox-m |border-c = #000 |border-s = 1 |id-c = #fff |id-s = 12 |id-fc = #000 |id = ID }} or {{Userbox-m|box color|box content}} |
|
Grouping userboxes
![]() | 模板参数错误!(代码36)
|
Example 1
Template:User browser Template:User Rome Template:User friendly |
As with the Babel box, there is a box to group userboxes together. Just make a list of userboxes with {{Boxboxtop|box-name}} at the top and {{Boxboxbottom}} at the bottom. For example, the box to the right is created using the following list:
{{Boxboxtop|Example 1}} {{User wikipedia|administrator}} {{User wikipedia|welcoming committee}} {{User browser}} {{User Rome}} {{User friendly}} {{Boxboxbottom}}
You may also change the alignment by using 'right' or 'left' as the 2nd parameter, or explicitly using parameter align. Thus, it is possible to create the same boxbox on the right, but positioned on the left side of the page, by changing the the first line from {{Boxboxtop|Example 1}} to {{Boxboxtop|Example 1|left}}.
The actual Babel grouping system can also be used, e.g. {{Babel-4|sv|no-4|browser|rome}}. However, it only works for user boxes with a "User "-prefix, which must then be dropped for the arguments. Also, boxes that need arguments of their own can not be used with Babel, e.g. {{User wikipedia|administrator}}.)