个人工具

“Ubuntu中文:如何编辑页面”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{H:h|editor toc}} On a wiki, it is customary to allow readers to edit content and structure. This is a brief overview of the editing and contributing process. The editing table of conten...)
 
第1行: 第1行:
{{H:h|editor toc}}
+
{{hh/zh}}
 +
__NOTOC__
 +
'''请参考[[Help:Editing]]进行翻译。'''
 +
----
  
On a wiki, it is customary to allow readers to edit content and structure. This is a brief overview of the editing and contributing process. The editing table of contents to the right contains more information on editing functions.
+
编辑一个[[Wiki]]页面十分容易。只要点击页面上方的“编辑本页”或右侧的[编辑]链接即可修改该页,或点击“讨论本页”然后再点击“编辑页面”来讨论该页面。點擊後您就会看到一个包含那个Wiki页面的可编辑的文字區域。
  
== Editing basics ==
+
输入文字,再在文字區域下的欄中輸入編輯摘要,完成后点击“保存本页”就可以了!您也可以在保存前先预览您的修改。
<!--It is intended to be brief, or as an overview. Otherwise why we separate the materials into different pages? Thus it's best NOT to add new materials or expand here. Add more examples or expand in other areas like Wikitext examples. Thanks!-->
+
===Review policy and conventions===
+
  
:Make sure that you submit information which is relevant to the specific purpose of the wiki, or your content might be deleted. You can always use the [[Help:Talk page|talk pages]] to ask questions or check to see if your idea will be accepted. Please make note of the license your contributions will be covered with.
+
先将文字复制到您最喜欢的文字编辑器,编辑并检查后再贴回浏览器预览往往更方便。這樣做方便你断线後用您的备份檔做修改。
  
=== Start editing ===
+
==wiki标记==
:To start editing a [[w:MediaWiki|MediaWiki]] page, click the '''Edit this page''' (or just '''edit''') link at one of its edges. This brings you to the edit page: a page with a text box containing the ''[[w:wikitext|wikitext]]'' - the editable code from which the server produces the finished page. ''If you just want to experiment, please do so in the [[{{ns:4}}:Sandbox|sandbox]], not here''.
+
  
===Type your changes===
+
下面表格的左邊顯示瀏覽效果。也就是说,要使文字实现像左边列一样的效果,輸入右边列的文字就行了。
:You can just type your text. However, also using basic wiki markup (described in the next section) to make links and do simple formatting adds to the value of your contribution. [[w:Wikimedia|Wikimedia]] wikis have style guidelines available. If you follow these, your contributions will be more valuable as they won't need to be cleaned up later.
+
  
===Summarize your changes===
+
您或许想在另一个窗口打开本页以做参考。如果您希望实验一下,您可以在[[wikipedia:沙盒|沙盒]]中实验。
:Write a short [[Help:Edit summary|edit summary]] in the small field below the edit-box. You may use shorthand to describe your changes, as described in the [[w:Wikipedia:Edit summary legend|edit summary legend]].
+
  
===Preview before saving===
+
参见: [[Wikipedia:格式指南]]、[[Wikipedia:使用表格]]
:When you have finished, click '''[[Help:Show preview|Show preview]]''' to see how your changes will look '''before''' you make them permanent.  Repeat the edit/preview process until you are satisfied, then click '''Save page''' and your changes will be immediately applied to the article.
+
  
==Most frequent wiki markup explained==
+
===章节、段落,列表及线条===
<!--It is intended to be brief, or as an overview. Otherwise why we separate the materials into different pages? Thus it's best NOT to add new materials or expand here. Add more examples or expand in other areas like Wikitext examples. Thanks!-->
+
{| border="1" cellpadding="2" cellspacing="0"
Here are the 6 most frequently used types of wiki markup. If you need more help see [[Help:Wikitext examples|Wikitext examples]].
+
|-----
 
+
! 您所看到的
<br clear="right" />
+
! 您所输入的
{| class="wikitable"
+
|-----
! style="width: 50%" | What it looks like
+
! style="width: 50%" | What you type
+
|-
+
 
|
 
|
You can ''italicize text'' by putting 2
+
用下列格式表示[[Help:编辑章节|章节]]:
apostrophes on each side.
+
  
3 apostrophes will embolden '''the text'''.
+
==一级标题==
  
5 apostrophes will embolden and italicize
+
===二级标题===
'''''the text'''''.
+
  
(4 apostrophes doesn't do anything special -- there's just ''''one left over''''.)
+
====三级标题====
|<pre>
+
*請使用(==)表示一级标题,而不要使用這個(=)
You can ''italicize text'' by putting 2
+
*不要跳过下一级标题(例如一级标题下直接使用三级标题,而没有使用二级标题)
apostrophes on each side.
+
| valign="top" | <pre><nowiki>
  
3 apostrophes will embolden '''the text'''.
+
==一级标题==
  
5 apostrophes will embolden and italicize
+
===二级标题===
'''''the text'''''.
+
  
(4 apostrophes doesn't do anything
+
====三级标题====
special -- there's just ''''one left
+
</nowiki></pre>
over''''.)
+
|-----
</pre>
+
|-
+
 
|
 
|
You should "sign" your comments on talk pages: <br />
+
 
- Three tildes give your user name: [[User:Karl Wick|Karl Wick]] <br />
+
另起一行
- Four tildes give your user name plus date/time: [[User:Karl Wick|Karl Wick]] 07:46, 27 November 2005 (UTC) <br />
+
会变成一个空格。
- Five tildes give the date/time alone: 07:46, 27 November 2005 (UTC) <br />
+
 
|<pre>
+
但一个空行开始一个新段落。
You should "sign" your comments
+
*在使用列表时,换行会影响版面效果。
on talk pages: <br />
+
| valign="top" | <pre><nowiki>另起一行
- Three tildes give your user
+
会变成一个空格。
name: ~~~ <br />
+
 
- Four tildes give your user
+
但一个空行开始一个新段落。</nowiki></pre>
name plus date/time: ~~~~ <br />
+
|----- valign="top"
- Five tildes give the
+
| 您可以在不开始新一段的情况下<br/>
date/time alone: ~~~~~ <br />
+
另起一行。
</pre>
+
*请尽量不要使用这种方式。
|-
+
| valign="top" | <pre><nowiki>您可以在不开始新一段的情况下<br/>
 +
另起一行。</nowiki></pre>
 +
|-----
 +
|
 +
*符号列表很不错:
 +
**每一行用一个星号(*)开始
 +
***星号越多,表示列表的层级更深入
 +
****新起一行表示列表结束
 +
*注意符号必须是新一行的第一个字符。
 +
| valign="top" | <pre><nowiki>
 +
*符号列表很不错:
 +
**每一行用一个星号(*)开始
 +
***星号越多,表示列表的层级更深入
 +
****新起一行表示列表结束
 +
</nowiki></pre>
 +
|-----
 +
|
 +
#数字列表也不错
 +
##很整齐
 +
##容易理解
 +
| <pre><nowiki>#数字列表也不错
 +
##很整齐
 +
##容易理解</nowiki></pre>
 +
|-----
 +
|
 +
*您甚至可以使用混合列表
 +
*#还有层次哦
 +
*#*像这样
 +
| <pre><nowiki>*您甚至可以使用混合列表
 +
*#还有层次哦
 +
*#*像这样</nowiki></pre>
 +
|-----
 +
|
 +
;定義列表 : 包含許多定義的列表
 +
;條目 : 條目的定義
 +
;另外一条
 +
:其他的定义
 +
| <pre><nowiki>
 +
;定義列表 : 包含許多定義的列表
 +
;條目 : 條目的定義
 +
;另外一条
 +
:其他的定义
 +
</nowiki></pre>
 +
|-----
 +
|
 +
:每一行都可以
 +
::缩进
 +
:::好几层呢
 +
| <pre><nowiki>:每一行都可以
 +
::缩进
 +
:::好几层呢</nowiki></pre>
 +
|----- valign="top"
 
|
 
|
<div style="font-size:150%;border-bottom:1px solid rgb(170,170,170);">Section headings</div>
+
如果一行的开始是空格那么
 +
它将会以其原始形式
 +
出现;
 +
在一个这样的字体中;
 +
文字不会自动换行;
 +
如果结束
 +
这在以下情况下会十分有用:
 +
*粘贴格式化文字;
 +
*数学公式;
 +
*文字艺术;
  
''Headings'' organize your writing into sections.
+
注意: 这可能会拉长页面,影响阅读。
The Wiki software can automatically generate
+
| <pre><nowiki>
a [[Help:table of contents|table of contents]] from them.
+
如果一行的开始是空格那么
 +
它将会以其原始形式
 +
出现;
 +
在一个这样的字体中;
 +
文字不会自动换行
 +
如果结束
 +
这在一下情况下会十分有用:
 +
*粘贴格式化文字;
 +
*数学公式;
 +
*文字艺术;</nowiki></pre>
 +
|----- valign="top"
 +
| <center>居中文字。</center>
 +
| <pre><nowiki><center>居中文字。</center></nowiki></pre>
 +
|-----
 +
| 一条水平线将页面分隔成了上面
 +
----
 +
和下面。
 +
| <pre><nowiki>一条水平线将页面分隔成了上面
 +
----
 +
和下面。</nowiki></pre>
 +
|-----
 +
| 当您在对话页添加评语时,您应当签名。您可以输入三条~添加用户名:
 +
[[User:Foolevery|Foolevery]]
  
<div style="font-size:132%;font-weight:bold;">Subsection</div>
+
或四条~添加用户名及日期时间:
Using more equals signs creates a subsection.
+
[[User:Foolevery|Foolevery]] 08:24 2004年7月31日 (UTC)
  
<div style="font-size:116%;font-weight:bold;">A smaller subsection</div>
+
当输入五条~时只显示时间:
 +
08:26 2004年10月25日 (UTC)
  
Don't skip levels, like from two to four equals signs.
+
你可以参看[[help:签名]]获得更多的关于签名的信息。
 +
| <pre><nowiki>当您在对话页添加评语时,您应当签名。
 +
您可以输入三条~添加用户名:
 +
~~~
  
Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title.
+
或四条添加用户名及日期时间:
|<pre>
+
~~~~
== Section headings ==
+
  
''Headings'' organize your writing into sections.
+
当输入五条时只显示时间:
The Wiki software can automatically generate
+
~~~~~
a table of contents from them.
+
</nowiki></pre>
 +
|}
  
=== Subsection ===
+
===链接,URL和图像===
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|-----
 +
! 您所看到的
 +
! 您所输入的
 +
|----- valign="top"
 +
| 连接到[[Wikipedia:常见问题解答]].
 +
*英文名中第一个字母自动大写
 +
*空格用下划线代替。
 +
*如果要创建新页面:
 +
*#用这个方法创建一个连接。
 +
*#再保存您的页面。
 +
*#点击您所创建的连接。编辑新页面窗口就会打开。
 +
*请参见[[Wikipedia:命名常规]]。
 +
| <pre><nowiki>连接到[[Wikipedia:常见问题解答]].</nowiki></pre>
 +
|----- valign="top"
 +
| 同样连接目标,不同的名字:[[Wikipedia:常见问题解答|解答]]。
 +
| <pre><nowiki>同样连接目标,不同的名字:[[Wikipedia:常见问题解答|解答]]。
 +
</nowiki></pre>
 +
|----- valign="top"
 +
| 链接到一个页面的某一章节:[[Wikipedia:帮助#联系与讨论]]。
 +
| <pre><nowiki>链接到一个页面的某一章节:[[Wikipedia:帮助#联系与讨论]]。
 +
</nowiki></pre>
 +
|----- valign="top"
 +
| 自动隐藏圆括号:[[翻译 (消歧义)|翻译]]。
  
Using more equals signs creates a subsection.
+
自动隐藏名字空间[[Wikipedia:帮助|帮助]]
 +
| <pre><nowiki>自动隐藏圆括号:[[翻译 (消歧义)|]]。
  
==== A smaller subsection ====
+
自动隐藏名字空间[[Wikipedia:帮助|]]
 +
</nowiki></pre>
 +
|----- valign="top"
 +
| [[伦敦的天气]]是一个还不存在的页面。
 +
*您可以点击它来创建。
 +
*完成后搜索该题目来确定所有人都正确连接到它。
 +
| <pre><nowiki>[[伦敦的天气]]是一个还不存在的页面。 </nowiki></pre>
 +
|----- valign="top"
 +
|
 +
*将类似这段文字放在一条条目的第一行就会重定向该条目到另一条条目。注意该段文字之后不应有其他任何文字,否则[[Wikipedia:重定向|重定向]]不会成功。
 +
| <pre><nowiki>#REDIRECT [[中华人民共和国]]</nowiki></pre>
 +
|----- valign="top"
 +
| 外部连接:[http://www.nupedia.com Nupedia]
 +
| <pre><nowiki>外部连接:
 +
[http://www.nupedia.com Nupedia]</nowiki></pre>
 +
|----- valign="top"
 +
| 或者直接提供URL:http://www.nupedia.com. || <pre><nowiki>或直接提供URL:
 +
http://www.nupedia.com.</nowiki></pre>
 +
|----- valign="top"
 +
|
 +
也可以这样(比较麻烦):[http://www.nupedia.com http://www.nupedia.com].
 +
<p>
 +
一个直接使用外部连接的小问题是在"http://" 之后的整段文字都是连接的一部分直到一个空格为止。 <p>
  
Don't skip levels,
+
输入<nowiki>[http://www.nupedia.com]</nowiki>会出现一个意料不到的结果: [http://www.nupedia.com].<p>
like from two to four equals signs.
+
  
Start with 2 equals signs not 1
+
解决之道是重复URL两次,产生下面的结果:<br>[http://www.nupedia.com http://www.nupedia.com].
because 1 creates H1 tags
+
| <pre><nowiki>解决之道是重复URL两次:
which should be reserved for page title.
+
[http://www.nupedia.com http://www.nupedia.com].</nowiki></pre>
 +
|----- valign="top"
 +
| 一幅图片:[[Image:Wiki.png]]<br>
 +
<br>
 +
只有上载到维基百科的图像才可以使用。请到[[Special:Upload|上载页上载图像]]。您可以在[[Special:Imagelist|图像列表]]上查看已经上载的图像。详细的使用方法请参看[[Wikipedia:图像标记]]。
 +
| <pre><nowiki>
 +
 
 +
一幅图片:[[Image:Wiki.png]]
 +
 
 +
</nowiki>
 
</pre>
 
</pre>
|- id="lists"
+
|----- valign="top"
|
+
| 最新格式的一幅图片:[[Image:Wiki.png|thumb|Wiki]]
* ''Unordered [[Help:List|list]]s'' are easy to do:
+
| <pre><nowiki>
** Start every line with a star.
+
 
*** More stars indicate a deeper level.
+
一幅图片:[[Image:Wiki.png|thumb|Wiki]]
*: Previous item continues.
+
 
** A newline
+
</nowiki>
* in a list 
+
marks the end of the list.
+
*Of course you can start again.
+
|<pre>
+
* ''Unordered lists'' are easy to do:
+
** Start every line with a star.
+
*** More stars indicate a deeper level.
+
*: Previous item continues.
+
** A new line
+
* in a list 
+
marks the end of the list.
+
* Of course you can start again.
+
 
</pre>
 
</pre>
|-
+
|-----
 
|
 
|
# ''Numbered lists'' are:
+
*点击一幅上载的图像后会出现一个描述页。您可以通过使用下面的方法直接连接到该描述页:
## Very organized
+
[[:Image:Wiki.png]]
## Easy to follow
+
| <pre><nowiki>
A new line marks the end of the list.
+
# New numbering starts with 1.
+
  
|<pre>
+
 
# ''Numbered lists'' are:
+
[[:Image:Wiki.png]]
## Very organized
+
</nowiki></pre>
## Easy to follow
+
|-----
A new line marks the end of the list.
+
# New numbering starts with 1.
+
</pre>
+
|-
+
 
|
 
|
: A colon (:) indents a line or paragraph.
+
*要包括非图像上载文件,例如音像等,或要图像以连接的方式而不是图像本身显示,使用"media"连接。
A newline starts a new paragraph. <br>
+
Often used for discussion on [[talk pages]].
+
: We use 1 colon to indent once.
+
:: We use 2 colons to indent twice.
+
::: 3 colons to indent 3 times, and so on.
+
|<pre>
+
: A colon (:) indents a line or paragraph.
+
A newline starts a new paragraph. <br>
+
Often used for discussion on talk pages.
+
: We use 1 colon to indent once.
+
:: We use 2 colons to indent twice.
+
::: 3 colons to indent 3 times, and so on.
+
</pre>
+
  
 +
<br>[[media:Sg_mrob.ogg|声音]]
 +
<br>
 +
<br>[[media:Wiki.png|图像连接]]
 +
|
 +
<pre>
 +
<nowiki>
  
|-
+
[[media:Sg_mrob.ogg|声音]]
 +
 
 +
[[media:China_flag_medium.png|图像连接]]
 +
 
 +
</nowiki></pre>
 +
|-----
 
|
 
|
Here's a link to the [[Main page]].
+
要链接一本书,你可以使用[[Wikipedia:ISBN|ISBN]]链接,例如:ISBN 0123456789X
|<pre>
+
Here's a link to the [[Main page]].
+
</pre>
+
|-
+
 
|
 
|
[[The weather in London]] is a page that doesn't exist
+
<pre>
yet. You could create it by clicking on the link.
+
<nowiki>
|<pre>
+
 
[[The weather in London]] is
+
ISBN 0123456789X
a page that doesn't exist
+
</nowiki></pre>
yet. You could create it by
+
|}
clicking on the link.
+
 
</pre>
+
===字符格式===
|-
+
 
 +
参看:[[Wikipedia:数学公式]]
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|-----
 +
! 您所看到的
 +
! 您所输入的
 +
|----- valign="top"
 
|
 
|
You can link to a page section by its title:
+
''强调'', '''强烈''', '''''很强烈'''''.
 +
*这些是两个及三个单引号,不是双引号。
 +
|
 +
<pre><nowiki>''强调'', '''强烈''',
 +
'''''很强烈'''''.</nowiki></pre>
 +
|----- valign="top"
 +
|
 +
您也可以使用<i>斜体</i>和<b>粗体</b>,
 +
如果您希望的效果是某种字体风格而不是强调,例如在下面的数学公式中:
  
* [[List of cities by country#Morocco]].
+
:<b>F</b> = <i>m</i><b>a</b>
  
If multiple sections have the same title, add
+
*然而,这两种方法的差别很小,大多数人选择忽略它。
a number. [[#Example section 3]] goes to the
+
|
third section named "Example section".
+
<pre><nowiki>您也可以使用<i>斜体</i>和<b>粗体</b>,
|<pre>
+
如果您希望的效果是某种字体风格而不是强调,例如在下面的数学公式中:
  
You can link to a page section by its title:
+
:<b>F</b> = <i>m</i><b>a</b></nowiki></pre>
 +
|----- valign="top"
 +
| 您可以<s>删除字体</s><br>
 +
或<u>字体下划</u>。
 +
*对编辑很有帮助。
 +
| <pre><nowiki>您可以<s>删除字体</s><br>
 +
或<u>字体下划</u>。</nowiki></pre>
 +
|----- valign="top"
 +
|
 +
'''变音及重音符号:''' (参见[[wikipedia:特殊字符]])<br>
 +
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; <br>
 +
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; <br>
 +
&Igrave; &Iacute;
 +
&Icirc; &Iuml; &Ntilde; &Ograve; <br>
 +
&Oacute; &Ocirc; &Otilde;
 +
&Ouml; &Oslash; &Ugrave; <br>
 +
&Uacute; &Ucirc; &Uuml; &szlig;
 +
&agrave; &aacute; <br>
 +
&acirc; &atilde; &auml; &aring; &aelig;
  
* [[List of cities by country#Morocco]].
+
&ccedil; <br>
 +
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br>
 +
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; <br>
 +
&otilde;
 +
&ouml; &oslash; &ugrave; &uacute; &ucirc; <br>
 +
&uuml; &yuml;
 +
| <pre><nowiki>
  
If multiple sections have the same title, add
+
 
a number. [[#Example section 3]] goes to the
+
&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;
third section named "Example section".
+
&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;
</pre>
+
&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
 +
&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;
 +
&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;
 +
&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;
 +
&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;
 +
&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;
 +
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
 +
&amp;ucirc; &amp;uuml; &amp;yuml;</nowiki></pre>
 +
|----- valign="top"
 +
|
 +
'''标点符号:'''<br>
 +
&iquest; &iexcl; &laquo; &raquo; &sect; &para;<br>
 +
&dagger; &Dagger; &bull; &mdash;
 +
| <pre><nowiki>
 +
 
 +
&amp;iquest; &amp;iexcl; &amp;laquo; &amp;raquo; &amp;sect; &amp;para;
 +
&amp;dagger; &amp;Dagger; &amp;bull; &amp;mdash;</nowiki></pre>
 +
|----- valign="top"
 +
|
 +
'''商业符号:'''<br>
 +
&trade; &copy; &reg; &cent; &euro; &yen; <br>
 +
&pound; &curren;
 +
| <pre><nowiki>
 +
 
 +
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;
 +
&amp;pound; &amp;curren;
 +
</nowiki></pre>
 +
|----- valign="top"
 +
| 下标:x<sub>2</sub><br>
 +
上标:x<sup>2</sup> 或者 x&sup2;
 +
*上標的后一种方法可能在多数情况下无法使用,但情況許可下請使用因为這使文章看起來較順眼。
 +
&epsilon;<sub>0</sub> =
 +
8.85 &times; 10<sup>&minus;12</sup>
 +
C&sup2; / J m.
 +
| <pre><nowiki>下标: x<sub>2</sub>
 +
上标: x<sup>2</sup> 或者 x&amp;sup2;
 +
 
 +
&amp;epsilon;<sub>0</sub> =
 +
8.85 &times; 10<sup>&minus;12</sup>
 +
C&sup2; / J m.</nowiki></pre>
 +
|----- valign="top"
 +
| '''希腊字母:''' <br>
 +
&alpha; &beta; &gamma; &delta; &epsilon; &zeta; <br>
 +
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; <br>
 +
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf; <br>
 +
&tau; &upsilon; &phi; &chi; &psi; &omega;<br>
 +
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; <br>
 +
&Sigma; &Phi; &Psi; &Omega;
 +
| <pre><nowiki>
 +
 
 +
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;
 +
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;
 +
&amp;xi; &amp;omicron; &amp;pi; &amp;rho;  &amp;sigma; &amp;sigmaf;
 +
&amp;tau; &amp;upsilon; &amp;phi; &amp;chi; &amp;psi; &amp;omega;
 +
&amp;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;
 +
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
 +
</nowiki></pre>
 +
|----- valign="top"
 +
|
 +
'''数学符号:''' (参见[[Wikipedia:特殊符号]]) <br>
 +
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br>
 +
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;<br>
 +
&times; &middot; &divide; &part; &prime; &Prime;<br>
 +
&nabla; &permil; &deg; &there4; &alefsym; &oslash;<br>
 +
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;<br>
 +
&not; &and; &or; &exist; &forall; &rArr; &hArr;
 +
| valign="middle" | <pre><nowiki>
 +
 
 +
&amp;int; &amp;sum; &amp;prod; &amp;radic; &amp;minus; &amp;plusmn; &amp;infin;
 +
&amp;asymp; &amp;prop; &amp;equiv; &amp;ne; &amp;le; &amp;ge; &amp;rarr;
 +
&amp;times; &amp;middot; &amp;divide; &amp;part; &amp;prime; &amp;Prime;
 +
&amp;nabla; &amp;permil; &amp;deg; &amp;there4; &amp;alefsym; &amp;oslash;
 +
&amp;isin; &amp;notin; &amp;cap; &amp;cup; &amp;sub; &amp;sup; &amp;sube; &amp;supe;
 +
&amp;not; &amp;and; &amp;or; &amp;exist; &amp;forall; &amp;rArr; &amp;hArr;
 +
&amp;rarr; &amp;harr;</nowiki></pre>
 +
|----- valign="top"
 +
| <i>x</i><sup>2</sup>&nbsp;&nbsp;&nbsp;&ge;&nbsp;&nbsp;&nbsp;0 true.
 +
*要分开文字,使用不斷行空格 - <tt>&amp;nbsp;</tt>.
 +
*<tt>&amp;nbsp;</tt>也防止在文字中间换行。这在方程式中十分有用。
 +
| <pre><nowiki>
 +
<i>x</i><sup>2</sup>&amp;nbsp;&amp;nbsp;&amp;ge;&amp;nbsp;&amp;nbsp;0 true.
 +
</nowiki></pre>
 +
|-----
 +
|
 +
'''Ascii文字艺术(每行开始处留空):'''
 +
<pre>
 +
&infin; -x&sup2;
 +
&int; e  dx = &radic;&pi;
 +
-&infin; </pre>
 +
| <pre><nowiki>
 +
&amp;infin; -x&amp;sup2;
 +
&amp;int; e  dx = &amp;radic;&amp;pi;
 +
-&amp;infin; </nowiki></pre>
 +
|}
 +
 
 +
===表格===
 +
 
 +
====目录功能====
 +
 
 +
在当前版本的维基百科中使用了“目录”功能,该功能是自动启用的。当文中包含多个段落时,会在文章的开头自动生成目录。你可以在标题的开始用一个<nowiki>__NOTOC__ </nowiki>标记禁止这个功能。
 +
 
 +
====HTML表格====
 +
 
 +
您可以在维基百科中使用HTML表格,但是我们提供了更简单的表格编辑方法,详悉内容请参见[[Wikipedia:使用表格]]。
 +
 
 +
=== 变量 ===
 +
 
 +
以下是维基百科定义的变量:
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
!变量!!解释!!结果
 +
|-
 +
|<nowiki>{{CURRENTMONTH}}</nowiki>||当前月份||{{CURRENTMONTH}}
 +
|-
 +
|<nowiki>{{CURRENTMONTHNAME}}</nowiki>||当前月份||{{CURRENTMONTHNAME}}
 +
|-
 +
|<nowiki>{{CURRENTDAY}}</nowiki>||当前日||{{CURRENTDAY}}
 +
|-
 +
|<nowiki>{{CURRENTDAYNAME}}</nowiki>||今天星期几||{{CURRENTDAYNAME}}
 +
|-
 +
|<nowiki>{{CURRENTYEAR}}</nowiki>||当前年份||{{CURRENTYEAR}}
 +
|-
 +
|<nowiki>{{CURRENTTIME}}</nowiki>||当前时间([[UTC]])||{{CURRENTTIME}}
 +
|-
 +
|<nowiki>{{NUMBEROFARTICLES}}</nowiki>||目前的条目数||{{NUMBEROFARTICLES}}
 +
|-
 +
|<nowiki>{{PAGENAME}}</nowiki>||当前页面标题||{{PAGENAME}}
 +
|-
 +
|<nowiki>{{NAMESPACE}}</nowiki>||当前页面的名字空间||{{NAMESPACE}}
 +
|-
 +
|<nowiki>{{localurl:Wikipedia:沙盒|edit}}</nowiki>||编辑页面的url||{{localurl:Wikipedia:沙盒|edit}}
 +
|-
 +
|<nowiki>{{SERVER}}</nowiki>||当前的服务器||{{SERVER}}
 
|}
 
|}
  
==Further reading==
+
另请参看[[Help:变量]]
<!--More relevant links are welcome-->
+
  
===Editing help===
+
=== 定制消息 ===
* [[Help:Editing FAQ]]
+
*[[Help:Editing toolbar]]
+
*[[Help:Minor edit]]
+
  
===Wiki markups and codes===
+
[[Wikipedia:维基人|维基人]]也可以自定义一些页面模板,一般储存的是最常用的重复使用的文字,参见[[Wikipedia:页面模板]]
*[[Help:Wikitext examples]]
+
*[[m:Help:Reference card|Help:Reference card]] - a one-page summary of important commands, to be printed out and used next to the computer
+
*[[Help:HTML in wikitext]]
+
*[[w:HTML element|HTML elements]] - introduction to HTML
+
  
===Page management===
+
==参看==
*[[Help:Starting a new page]]
+
*[[顔色列表]]
*{{ml|Help:Administration|Protection|Protecting pages}}
+
*[[Wikipedia:PHP_脚本]]
*{{mlw|Wikipedia:Merging and moving pages|Merging and moving pages}}
+
*[[Wikipedia:保护页面]]
*{{mlm|Anti-spam features}}
+
* 另参见[[Wikipedia:条目编写应注意的主要事项|中文维基百科“条目编辑”应该注意的主要事项]]
{{h:f|enname=Editing}}
+
{{h:f|langs=zh|enname=Editing}}

2007年4月26日 (四) 23:46的版本

MediaWiki手册: 目录 |手冊指引| Handbook Guidelines | 編輯政策 | 其他

MediaWiki软件帮助 — 读者手册编辑者手册仲裁员手册系统管理员手册黑客手册

头部文本编辑

请参考Help:Editing进行翻译。


编辑一个Wiki页面十分容易。只要点击页面上方的“编辑本页”或右侧的[编辑]链接即可修改该页,或点击“讨论本页”然后再点击“编辑页面”来讨论该页面。點擊後您就会看到一个包含那个Wiki页面的可编辑的文字區域。

输入文字,再在文字區域下的欄中輸入編輯摘要,完成后点击“保存本页”就可以了!您也可以在保存前先预览您的修改。

先将文字复制到您最喜欢的文字编辑器,编辑并检查后再贴回浏览器预览往往更方便。這樣做方便你断线後用您的备份檔做修改。

wiki标记

下面表格的左邊顯示瀏覽效果。也就是说,要使文字实现像左边列一样的效果,輸入右边列的文字就行了。

您或许想在另一个窗口打开本页以做参考。如果您希望实验一下,您可以在沙盒中实验。

参见: Wikipedia:格式指南Wikipedia:使用表格

章节、段落,列表及线条

您所看到的 您所输入的

用下列格式表示章节

一级标题

二级标题

三级标题

  • 請使用(==)表示一级标题,而不要使用這個(=)
  • 不要跳过下一级标题(例如一级标题下直接使用三级标题,而没有使用二级标题)

==一级标题==

===二级标题===

====三级标题====

另起一行 会变成一个空格。

但一个空行开始一个新段落。

  • 在使用列表时,换行会影响版面效果。
另起一行
会变成一个空格。

但一个空行开始一个新段落。
您可以在不开始新一段的情况下

另起一行。

  • 请尽量不要使用这种方式。
您可以在不开始新一段的情况下<br/>
另起一行。
  • 符号列表很不错:
    • 每一行用一个星号(*)开始
      • 星号越多,表示列表的层级更深入
        • 新起一行表示列表结束
  • 注意符号必须是新一行的第一个字符。
*符号列表很不错:
**每一行用一个星号(*)开始
***星号越多,表示列表的层级更深入
****新起一行表示列表结束
  1. 数字列表也不错
    1. 很整齐
    2. 容易理解
#数字列表也不错
##很整齐
##容易理解
  • 您甚至可以使用混合列表
    1. 还有层次哦
      • 像这样
*您甚至可以使用混合列表
*#还有层次哦
*#*像这样
定義列表 
包含許多定義的列表
條目 
條目的定義
另外一条
其他的定义
;定義列表 : 包含許多定義的列表
;條目 : 條目的定義
;另外一条
:其他的定义
每一行都可以
缩进
好几层呢
:每一行都可以
::缩进
:::好几层呢
如果一行的开始是空格那么
它将会以其原始形式
出现;
在一个这样的字体中;
文字不会自动换行;
如果结束

这在以下情况下会十分有用:

  • 粘贴格式化文字;
  • 数学公式;
  • 文字艺术;

注意: 这可能会拉长页面,影响阅读。

 如果一行的开始是空格那么
 它将会以其原始形式
 出现;
 在一个这样的字体中;
 文字不会自动换行
 如果结束
这在一下情况下会十分有用:
*粘贴格式化文字;
*数学公式;
*文字艺术;
<center>居中文字。</center>
<center>居中文字。</center>
一条水平线将页面分隔成了上面

和下面。

一条水平线将页面分隔成了上面
----
和下面。
当您在对话页添加评语时,您应当签名。您可以输入三条~添加用户名:

Foolevery

或四条~添加用户名及日期时间: Foolevery 08:24 2004年7月31日 (UTC)

当输入五条~时只显示时间: 08:26 2004年10月25日 (UTC)

你可以参看help:签名获得更多的关于签名的信息。

当您在对话页添加评语时,您应当签名。
您可以输入三条~添加用户名: 
~~~

或四条添加用户名及日期时间:
~~~~

当输入五条时只显示时间:
~~~~~

链接,URL和图像

您所看到的 您所输入的
连接到Wikipedia:常见问题解答.
  • 英文名中第一个字母自动大写
  • 空格用下划线代替。
  • 如果要创建新页面:
    1. 用这个方法创建一个连接。
    2. 再保存您的页面。
    3. 点击您所创建的连接。编辑新页面窗口就会打开。
  • 请参见Wikipedia:命名常规
连接到[[Wikipedia:常见问题解答]].
同样连接目标,不同的名字:解答
同样连接目标,不同的名字:[[Wikipedia:常见问题解答|解答]]。
链接到一个页面的某一章节:Wikipedia:帮助#联系与讨论
链接到一个页面的某一章节:[[Wikipedia:帮助#联系与讨论]]。
自动隐藏圆括号:翻译

自动隐藏名字空间帮助

自动隐藏圆括号:[[翻译 (消歧义)|]]。

自动隐藏名字空间[[Wikipedia:帮助|]]
伦敦的天气是一个还不存在的页面。
  • 您可以点击它来创建。
  • 完成后搜索该题目来确定所有人都正确连接到它。
[[伦敦的天气]]是一个还不存在的页面。 
  • 将类似这段文字放在一条条目的第一行就会重定向该条目到另一条条目。注意该段文字之后不应有其他任何文字,否则重定向不会成功。
#REDIRECT [[中华人民共和国]]
外部连接:Nupedia
外部连接:
[http://www.nupedia.com Nupedia]
或者直接提供URL:http://www.nupedia.com.
或直接提供URL:
http://www.nupedia.com.

也可以这样(比较麻烦):http://www.nupedia.com.

一个直接使用外部连接的小问题是在"http://" 之后的整段文字都是连接的一部分直到一个空格为止。 <p> 输入[http://www.nupedia.com]会出现一个意料不到的结果: [1].<p> 解决之道是重复URL两次,产生下面的结果:
http://www.nupedia.com.

解决之道是重复URL两次:
[http://www.nupedia.com http://www.nupedia.com].
一幅图片:文件:Wiki.png


只有上载到维基百科的图像才可以使用。请到上载页上载图像。您可以在图像列表上查看已经上载的图像。详细的使用方法请参看Wikipedia:图像标记


一幅图片:[[Image:Wiki.png]]


最新格式的一幅图片:

一幅图片:[[Image:Wiki.png|thumb|Wiki]]


  • 点击一幅上载的图像后会出现一个描述页。您可以通过使用下面的方法直接连接到该描述页:

Image:Wiki.png



[[:Image:Wiki.png]]
  • 要包括非图像上载文件,例如音像等,或要图像以连接的方式而不是图像本身显示,使用"media"连接。


声音

图像连接



[[media:Sg_mrob.ogg|声音]]

[[media:China_flag_medium.png|图像连接]]

要链接一本书,你可以使用ISBN链接,例如:ISBN 0123456789X



ISBN 0123456789X 

字符格式

参看:Wikipedia:数学公式

您所看到的 您所输入的

强调, 强烈, 很强烈.

  • 这些是两个及三个单引号,不是双引号。
''强调'', '''强烈''', 
'''''很强烈'''''.

您也可以使用斜体粗体, 如果您希望的效果是某种字体风格而不是强调,例如在下面的数学公式中:

F = ma
  • 然而,这两种方法的差别很小,大多数人选择忽略它。
您也可以使用<i>斜体</i>和<b>粗体</b>,
如果您希望的效果是某种字体风格而不是强调,例如在下面的数学公式中:

:<b>F</b> = <i>m</i><b>a</b>
您可以删除字体

字体下划

  • 对编辑很有帮助。
您可以<s>删除字体</s><br>
或<u>字体下划</u>。

变音及重音符号: (参见wikipedia:特殊字符)
À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ

ç
è é ê ë ì í
î ï ñ ò ó ô
õ ö ø ù ú û
ü ÿ



&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; 
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; 
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; 
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; 
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; 
&acirc; &atilde; &auml; &aring; &aelig; &ccedil; 
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; 
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; 
&ucirc; &uuml; &yuml;

标点符号:
¿ ¡ « » § ¶
† ‡ • —


&iquest; &iexcl; &laquo; &raquo; &sect; &para;
&dagger; &Dagger; &bull; &mdash;

商业符号:
™ © ® ¢ € ¥
£ ¤


&trade; &copy; &reg; &cent; &euro; &yen; 
&pound; &curren;
下标:x2

上标:x2 或者 x²

  • 上標的后一种方法可能在多数情况下无法使用,但情況許可下請使用因为這使文章看起來較順眼。

ε0 = 8.85 × 10−12 C² / J m.

下标: x<sub>2</sub>
上标: x<sup>2</sup> 或者 x&sup2;

&epsilon;<sub>0</sub> =
8.85 × 10<sup>−12</sup>
C² / J m.
希腊字母:

α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω


&alpha; &beta; &gamma; &delta; &epsilon; &zeta; 
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; 
&xi; &omicron; &pi; &rho;  &sigma; &sigmaf;
&tau; &upsilon; &phi; &chi; &psi; &omega;
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; 
&Sigma; &Phi; &Psi; &Omega;

数学符号: (参见Wikipedia:特殊符号)
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥ →
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔


&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &alefsym; &oslash;
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr;
x2   ≥   0 true.
  • 要分开文字,使用不斷行空格 - &nbsp;.
  • &nbsp;也防止在文字中间换行。这在方程式中十分有用。
<i>x</i><sup>2</sup>&nbsp;&nbsp;&ge;&nbsp;&nbsp;0 true.

Ascii文字艺术(每行开始处留空):

∞ -x²
∫ e   dx = √π
-∞ 
 
&infin; -x&sup2;
&int; e   dx = &radic;&pi;
-&infin; 

表格

目录功能

在当前版本的维基百科中使用了“目录”功能,该功能是自动启用的。当文中包含多个段落时,会在文章的开头自动生成目录。你可以在标题的开始用一个__NOTOC__ 标记禁止这个功能。

HTML表格

您可以在维基百科中使用HTML表格,但是我们提供了更简单的表格编辑方法,详悉内容请参见Wikipedia:使用表格

变量

以下是维基百科定义的变量:

变量 解释 结果
{{CURRENTMONTH}} 当前月份 04
{{CURRENTMONTHNAME}} 当前月份 4月
{{CURRENTDAY}} 当前日 25
{{CURRENTDAYNAME}} 今天星期几 星期四
{{CURRENTYEAR}} 当前年份 2024
{{CURRENTTIME}} 当前时间(UTC 16:37
{{NUMBEROFARTICLES}} 目前的条目数 2,239
{{PAGENAME}} 当前页面标题 如何编辑页面
{{NAMESPACE}} 当前页面的名字空间 Ubuntu中文
{{localurl:Wikipedia:沙盒|edit}} 编辑页面的url /index.php?title=Wikipedia:%E6%B2%99%E7%9B%92&edit
{{SERVER}} 当前的服务器 https://wiki.ubuntu.org.cn

另请参看Help:变量

定制消息

维基人也可以自定义一些页面模板,一般储存的是最常用的重复使用的文字,参见Wikipedia:页面模板

参看

English (en) 中文 (zh)

+/-