Difference between revisions of "Wiki Format Sheet"

From Alfino
Jump to navigationJump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Return to [[Main Page]]
 +
 
== Text formatting markup ==
 
== Text formatting markup ==
  
Line 22: Line 24:
 
|-
 
|-
 
|Headings of<br />
 
|Headings of<br />
different levels <ref>An article with four or more headings will automatically create a [http://en.wikipedia.org/wiki/Wikipedia:Section#Table_of_contents_.28TOC.29 table of contents].</ref>
+
different levels  
 
|
 
|
<tt><nowiki>=level 1=</nowiki></tt><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><br />
+
<tt><nowiki>=level 1=</nowiki></tt><br />
 
<tt><nowiki>==level 2==</nowiki></tt><br />
 
<tt><nowiki>==level 2==</nowiki></tt><br />
 
<tt><nowiki>===level 3===</nowiki></tt><br />
 
<tt><nowiki>===level 3===</nowiki></tt><br />
Line 91: Line 93:
 
|{{Hl3}}|'''You get'''
 
|{{Hl3}}|'''You get'''
 
|-
 
|-
|Internal link
+
|Internal link <br />
 +
(To create a new page, make an internal link with a new page name.)
 
|<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 106:
 
|<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
|<tt><nowiki>[[media:example.jpg]]</nowiki></tt>
+
|<tt><nowiki>[[Image:yantra1.jpg]]</nowiki></tt>
|[[media:example.jpg]]
+
|[[image:yantra1.jpg]]
|-
 
|Internal link to pdf file
 
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt>
 
|[[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]
 
|}
 
 
 
=== 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]
 
 
|}
 
|}

Latest revision as of 17:06, 13 January 2009

Return to Main Page

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

=level 1=
==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

(To create a new page, make an internal link with a new page name.)

[[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 [[Image:yantra1.jpg]] Yantra1.jpg