MozillaZine Knowledge Base:Formatting: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎Subheader Example: undo vandalism)
Line 32: Line 32:
and adds an entry to the table of contents.
and adds an entry to the table of contents.
Note: there are six levels of document headers in MediaWiki, hence six different header code (largest header has one equal sign, second largest has two, etc.)
Note: there are six levels of document headers in MediaWiki, hence six different header code (largest header has one equal sign, second largest has two, etc.)
香港[http://6.88aabb.com 六合彩]奖券是香港奖券管理局委托香港赛马会经办的一种奖券游戏。自1975年推出以来,[http://6.88aabb.com 香港六合彩]为香港政府库房及奖券基金带来超过180亿港元的收入(仅在1999/2000年度,款额已达7亿5,000万港元),多年来惠泽无数慈善机构。过去25年来,[http://6.88aabb.com 六合彩公司]奖券基金的拨款总额超过53亿港元,[http://6.88aabb.com 香港六合彩公司]向政府缴付的奖券博彩税总额超过131亿港元。[http://6.88aabb.com 六合彩图库]奖券为一种由47个号码选取六个之电脑化奖券游戏,逢星期二及星期四晚上八时二十五分举行搅珠(若有大彩池或在暑期则会更改)。搅珠过程会由无线电视即场转播。马会搅珠结果热线(1888)。[http://6.88aabb.com 六合彩总公司]奖券彩票在所有马会投注处发售,[http://6.88aabb.com 香港六合彩]亦可透过电话及投注宝下注。


===Lists===
===Lists===

Revision as of 10:25, 3 December 2004

Character Formatting

Emphasis

  • ''Double apostrophes'' = Double apostrophes
  • '''Triple apostrophes''' = Triple apostrophes
  • '''''Five apostrophes''''' = Five apostrophes

Code

Code may be entered as monospace lines by beginning a line with a space. Formatting is preserved. For example:

for(int a=0;a<1;a++)
   {
     do_something();
   }    

HTML and Wiki-code is still processed in monospace lines.

URLs, Links

This is quite easy, use single [] or double [[ ]].

  • Internal links: [[Support Home]] = Support Home .
  • External links as footnotes: [http://mozilla.org/] = [1].
  • Named external links: [http://mozilla.org/ Mozilla Home] = Mozilla Home.
  • Any trick with anchors works in the wiki too.

Document structure

Section headers: =Header Example= gives you a:

Header Example

which will add an entry to the table of contents. Subsections: in order to have subsections, add one more equal sign to both sides of the code (====Subheader Example====)

Subheader Example

and adds an entry to the table of contents. Note: there are six levels of document headers in MediaWiki, hence six different header code (largest header has one equal sign, second largest has two, etc.)

Lists

Lists: *,# at the beginning of a line gives

  • Unordered list
  1. Ordered list

For levels of lists, add more *,#s:

    • Unordered list
    1. Ordered list

Indented Text

When you use the : (colon) at the beginning of a line it will be indented.
For example:

:Hello I am the indented line
:Hello I am the next indented line.

Gives:

Hello I am the indented line
Hello I am the next indented line.

Tables

Tables are explained on a separate page.

Miscellaneous

  • For those of us that like center aligned text: <center>'''Me'''</center>

gives you:

Me

Signatures

  • Sign with nickname: ~~~ = Heroist .
  • Nickname and date: ~~~~ = Heroist 09:27, 31 Jan 2004 (PST).

More Information

More advanced editing is explained at Wikipedia's MetaWiki.