模板:Editnotice
外觀
{{{1}}} |
此模板被引用於MediaWiki:Editnotice-*中。 任何對此模板的修改會立即反映於維基百科的用戶介面。 為了避免造成大規模的影響,編者可以在本模板的沙盒 和測試樣例 頁面進行實驗。2 測試後無誤的版本可以一次性地加入此模板中,但是修改前請務必於討論頁發起討論。 |
此模板的文檔不存在、不全面或不能詳細描述其功能及/或其代碼中的參數。請幫助擴充並改進其文檔。 |
所有編輯提示請見Special:PrefixIndex/Template:Editnotices/和Special:PrefixIndex/MediaWiki:Editnotice。
用法
這個模板用於編輯提示,也就是編輯區上方的文字提示。編輯提示可以每個命名空間定製,也可以每頁定製。
如要創建一個編輯提示,請按照WP:編輯提示的步驟進行。
{{editnotice | header = | headerstyle = | text = | textstyle = | image = }}
注:除text
參數,所有參數均可省略。
參數
|header=頭部文本
|headerstyle=頭部文本的CSS格式
|text=主要文本
|textstyle=主要文本的CSS格式
|image=圖片
示例
{{editnotice | header = Attention editors | headerstyle = font-size: 150%; | text = Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | textstyle = font-size: 120%; | image = }}
Attention editors
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
{{editnotice | header = Frequently asked questions | headerstyle = font-size: 120%; | text = Before editing, please consult the list of Frequently Asked Questions specific to this article. The FAQ includes questions on many issues that have been discussed. | textstyle = background-color: #fee; | image = }}
Frequently asked questions
Before editing, please consult the list of Frequently Asked Questions specific to this article. The FAQ includes questions on many issues that have been discussed. |
{{editnotice | header = | headerstyle = | text = This article is written in '''[[British English]]''', which differs from [[American English]] in some ways. See [[American and British English differences]]. According to the [[Wikipedia:Manual of Style#National varieties of English|relevant style guide]], this should not be changed without broad consensus. | textstyle = | image = [[File:Flag of the United Kingdom.svg|50px]] }}
This article is written in British English, which differs from American English in some ways. See American and British English differences. According to the relevant style guide, this should not be changed without broad consensus. |
命名空間編號
0 – (Main)
1 – Talk:
2 – User: [note 1]
3 – User talk: [note 2]
4 – Wikipedia:
5 – Wikipedia talk:
6 – File:
7 – File talk:
8 – MediaWiki:
9 – MediaWiki talk:
10 – Template:
11 – Template talk:
12 – Help:
13 – Help talk:
14 – Category:
15 – Category talk:
100 – Portal:
101 – Portal talk:
- ^ 用戶頁編輯提示現在可以通過用戶頁子頁面 "/Editnotice" 實現。這允許非管理員用戶創建他們自己的用戶頁編輯提示。用戶頁編輯提示的顯示由 MediaWiki:Editnotice-2控制。
- ^ 用戶討論頁編輯提示現在可以通過用戶討論頁子頁面 "/Editnotice" 實現。這允許非管理員用戶創建他們自己的用戶討論頁編輯提示。用戶討論頁編輯提示的顯示由 MediaWiki:Editnotice-3控制。
參見
- Wikipedia:編輯提示 - 更多關於編輯提示的事項。
- {{editnotice pagename}} – 返回當前頁面用戶提示的頁名稱。
- {{editnotice talkpagename}} – 返回當前頁面用戶提示的討論頁名稱。