幫助:格式
跳至導覽
跳至搜尋
文本格式化標記
描述 | 用戶鍵入 | 輸出效果 |
---|---|---|
字符 (內嵌) 格式 – 適用於任何地方 | ||
斜體文字 | ''斜体'' |
斜體 |
粗體文字 | '''粗体''' |
粗體 |
粗斜體 | '''''粗斜体''''' |
粗斜體 |
刪除線 | <strike> 删除线 </strike> |
|
顯示維基標記符號 | <nowiki>不使用 ''标记符号''</nowiki> |
不使用 ''标记符号'' |
單次顯示維基標記符號 | [[API]]<nowiki/>扩展 |
API擴展 |
區域格式 – 僅在行首起作用 | ||
不同等級的小標題 | == 第二级 == === 第三极 === ==== 第四级 ==== ===== 第五级 ===== ====== 第六级 ====== |
第二級第三級第四級第五級第六級 |
水平分割先 | 之前的文字 ---- 之后的文字 |
之前的文字 之後的文字 |
圓點列表 |
* 在每一行的开始 * 加入一个 [[Wikipedia:asterisk|asterisk]] (*). ** 越多的星号意味着 *** 更深的层级. * 换行符 <br /> 并不会破坏层级. *** 多层级间的跳转会产生空白。 一个不带星号的行会使列表结束 |
一個不帶星號的行會使列表結束 |
有序列表 |
# 在每一行的开始 # 加入一个 [[Wikipedia:Number_sign|number sign]] (#). ## 越多的井号意味着 ### 更深的. ### 层级. # 换行符 <br /> 并不会破坏层级. ### 多层级间的跳转会产生空白。 # 空白的行 # 会结束一个列表,并开启另一个新的列表 另外的一个空行,同样会终结一个列表 |
另外的一個空行,同樣會終結一個列表 |
Definition list | ;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2 |
|
Indent text | : Single indent :: Double indent ::::: Multiple indent |
|
Mixture of different types of list |
# one # two #* two point one #* two point two # three #; three item one #: three def one # four #: four def one #: this looks like a continuation #: and is often used #: instead <br />of <nowiki><br /></nowiki> # five ## five sub 1 ### five sub 1 sub 1 ## five sub 2 |
|
Preformatted text | Start each line with a space. Text is '''preformatted''' and ''markups'' '''''can''''' be done. |
Start each line with a space. Text is preformatted and markups can be done. |
Preformatted text blocks | <nowiki>Start with a space in the first column, (before the <nowiki>). Then your block format will be maintained. This is good for copying in code blocks: def function(): """documentation string""" if True: print True else: print False</nowiki> |
Start with a space in the first column, (before the <nowiki>). Then your block format will be maintained. This is good for copying in code blocks: def function(): """documentation string""" if True: print True else: print False |
段落
MediaWiki會忽略所有的單個換行。 為了開始一個新的段落,請使用一個單獨的空白行。在段落中可以使用HTML的換行符 <br />
來強行換行。