MozillaZine Knowledge Base:Formatting: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
Line 66: Line 66:
*Sign with nickname: <nowiki>~~~</nowiki> = [[User:Heroist|Heroist]] .
*Sign with nickname: <nowiki>~~~</nowiki> = [[User:Heroist|Heroist]] .
*Nickname and date: <nowiki>~~~~</nowiki> = [[User:Heroist|Heroist]] 09:27, 31 Jan 2004 (PST).
*Nickname and date: <nowiki>~~~~</nowiki> = [[User:Heroist|Heroist]] 09:27, 31 Jan 2004 (PST).
[http://cialis-online.bigclickmouse.com cialis]<br>
[http://propecia.bigclickmouse.com propecia]<br>
[http://xanax-online.bigclickmouse.com xanax]<br>
[http://guestbooks.pathfinder.gr/read/hydrocodone hydrocodone]<br>
[http://guestbooks.pathfinder.gr/read/lortab lortab]<br>
[http://guestbooks.pathfinder.gr/read/broyhill-furniture broyhill furniture]<br>
[http://guestbooks.pathfinder.gr/read/cialis cialis]<br>
[http://guestbooks.pathfinder.gr/read/adipex adipex]<br>
[http://guestbooks.pathfinder.gr/read/xenical xenical]<br>
[http://soma-s.blogdrive.com soma]<br>
[http://guestbooks.pathfinder.gr/read/viagra viagra]<br>
[http://guestbooks.pathfinder.gr/read/xanax xanax]<br>
[http://home.ripway.com/2005-9/438006/ tramadol]<br>
[http://home.ripway.com/2005-9/438013/ hydrocodone]<br>
[http://home.ripway.com/2005-9/438094/ adipex]<br>
[http://viagra546.bigclickmouse.com viagra]<br>
[http://vicodin751.sinemainternet.com vicodin]<br>
[http://vioxx.namezona.com vioxx]<br>
[http://xenical.bigclickmouse.com xenical]<br>
[http://777hydrocodone.mypiece.com hydrocodone]<br>
[http://realsoma.mypiece.com soma]<br>


==More Information==
==More Information==
More advanced editing is explained at [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide:_Editing_overview Wikipedia's MetaWiki].
More advanced editing is explained at [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide:_Editing_overview Wikipedia's MetaWiki].

Revision as of 09:21, 21 September 2005

Character Formatting

Emphasis

  • ''Two single quotes'' = Two single quotes
  • '''Three single quotes''' = Three single quotes
  • '''''Five single quotes''''' = Five single quotes

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: [[Rules]] = Rules.
  • To assist you when creating internal links within sentences, you may uncapitalize the first letter of the article: “read the [[rules]] for editing” = “read the rules for editing”.
  • Named internal links: [[Rules | rules for editing]] = rules for editing.
  • Contracted external links: [http://mozilla.org/] = [1].
  • Named external links: [http://mozilla.org/ Mozilla Home] = Mozilla Home.
  • Explicit external links: “visit http://mozilla.org/ now” = “visit http://mozilla.org/ now”.
  • Using link anchors (<a name="..."> in HTML):
    • Creating anchors. An anchor is created automatically for each section of a page. You can create additional anchors by putting an id attribute on any HTML tag understood by MediaWiki. Example: <div id="anchor">Text with anchor</div> =
      Text with anchor
      Note, that neither <a name="anchor">, nor <a id="anchor"> will work.
    • Linking to an anchor. You can link to an anchor on a page using this syntax: [[In-House Style#Commonly used names|Commonly used names]] = Commonly used names. For anchors on current page you can use [[#anchor|anchor]] = anchor.

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.