Difference between revisions of "Wiki Format Sheet"

From Alfino
Jump to navigationJump to search
Line 94: Line 94:
 
|<tt><nowiki>[[Main Page]]</nowiki></tt>
 
|<tt><nowiki>[[Main Page]]</nowiki></tt>
 
|[[Main Page]]
 
|[[Main Page]]
|-
 
|Piped link
 
|<tt><nowiki>[[Main Page|different text]]</nowiki></tt>
 
|[[Main Page|different text]]
 
 
|-
 
|-
 
|External link
 
|External link
Line 107: Line 103:
 
|<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt>
 
|<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt>
 
|[http://mediawiki.org MediaWiki]
 
|[http://mediawiki.org MediaWiki]
|-
 
|External link,<br />
 
numbered
 
|<tt><nowiki>[http://mediawiki.org]</nowiki></tt>
 
|[http://mediawiki.org]
 
|-
 
|Anchor link
 
|<tt><nowiki>[[#See also]]</nowiki></tt>
 
|[[#See also]]
 
|-
 
|Anchor link at another page
 
|<tt><nowiki>[[Help:Images#See also]]</nowiki></tt>
 
|[[Help:Images#See also]]
 
|-
 
|Category link
 
|<tt><nowiki>[[:Category:Help]]</nowiki></tt>
 
|[[:Category:Help]]
 
 
|-
 
|-
 
|Internal link to image file
 
|Internal link to image file
Line 132: Line 111:
 
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
 
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
 
|[[media:example.pdf]]
 
|[[media:example.pdf]]
|-
 
|Interwiki link
 
|<tt><nowiki>[[Wikipedia:MediaWiki]]</nowiki></tt>
 
|[[Wikipedia:MediaWiki]]
 
|-
 
|mailto link
 
|<tt><nowiki>[mailto:info@example.org email me]</nowiki></tt>
 
|[mailto:info@example.org email me]
 
|-
 
|redirect
 
|<tt><nowiki>#REDIRECT [[Main Page]]</nowiki></tt>
 
| &rarr; [[Main Page]]
 
|-
 
|External link to video file (.avi, .mpg)
 
|<tt><nowiki>[http://en.wikipedia.org/wiki/.avi .avi]</nowiki></tt>
 
|[http://en.wikipedia.org/wiki/.avi .avi]
 
|-
 
|External link to sound file (.mp3, .ogg, .wav)
 
|<tt><nowiki>[http://en.wikipedia.org/wiki/.wav .wav]</nowiki></tt>
 
|[http://en.wikipedia.org/wiki/.wav .wav]
 
|-
 
|External link to a document (.doc, .pdf)
 
|<tt><nowiki>[http://en.wikipedia.org/wiki/.doc .doc]</nowiki></tt>
 
|[http://en.wikipedia.org/wiki/.doc .doc]
 
 
|}
 
|}
  

Revision as of 04:08, 13 January 2009

Text formatting markup

For bold and italic text, use the icons in the editing window.

Template:Hl2 |Description Template:Hl2 |You type Template:Hl2 |You get
only at the beginning of the line
Indent text

:Single indent
::Double indent
:::::Multiple indent

Single indent
Double indent
Multiple indent
Headings of

different levels <ref>An article with four or more headings will automatically create a table of contents.</ref>

=level 1=<ref>Use of a level 1 heading is highly discouraged as it appears with the same formatting and size as the page title, which can be confusing.</ref>
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======

Level 1

Level 2

Level 3
Level 4
Level 5
Level 6

Horizontal rule

----


Bullet list

* one
* two
* three
** three point one
** three point two

  • one
  • two
  • three
    • three point one
    • three point two
Numbered list

# one
# two<br />spanning several lines<br />without breaking the numbering
# three
## three point one
## three point two

  1. one
  2. two
    spanning several lines
    without breaking the numbering
  3. three
    1. three point one
    2. three point two
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2

How to link

Template:Hl3|Description Template:Hl3|You type Template:Hl3|You get
Internal link [[Main Page]] Main Page
External link http://mediawiki.org http://mediawiki.org
External link,

different title

[http://mediawiki.org MediaWiki] MediaWiki
Internal link to image file [[media:example.jpg]] media:example.jpg
Internal link to pdf file [[media:example.pdf]] media:example.pdf

More advanced

Template:Hl3|Description Template:Hl3|You type Template:Hl3|You get
Piped link,

different title

[[Main Page|<span title="different title">different text</span>]] different text
External link,

same host unnamed

[http://{{SERVERNAME}}/pagename] [1]
External link,

other host, pass pagename

[http://google.com/search?q={{PAGENAMEE}}] [2]
mailto named with subject line and body [mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] info