Difference between revisions of "Wiki Format Sheet"

From Alfino
Jump to navigationJump to search
Line 111: Line 111:
 
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
 
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
 
|[[media:example.pdf]]
 
|[[media:example.pdf]]
|}
 
 
=== More advanced ===
 
 
{| {{Prettytable}}
 
|-
 
|{{Hl3}}|'''Description'''
 
|{{Hl3}}|'''You type'''
 
|{{Hl3}}|'''You get'''
 
|-
 
|Piped link,<br />
 
different title
 
|<tt><nowiki>[[Main Page|<span title="different title">different text</span>]]</nowiki></tt>
 
|[[Main Page|<span title="different title">different text</span>]]
 
|-
 
|External link,<br />
 
same host unnamed
 
|<tt><nowiki>[http://{{SERVERNAME}}/pagename]</nowiki></tt>
 
|[http://{{SERVERNAME}}/pagename]
 
|-
 
|External link,<br />
 
other host, pass pagename
 
|<tt><nowiki>[http://google.com/search?q={{PAGENAMEE}}]</nowiki></tt>
 
|[http://google.com/search?q={{PAGENAMEE}}]
 
|-
 
|mailto named with subject line and body
 
|<tt><nowiki>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]</nowiki></tt>
 
|[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]
 
 
|}
 
|}

Revision as of 04:09, 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