Jump to content

User:Franl/CheatSheet

From Wikipedia, the free encyclopedia

This is a cheatsheet for Wikipedia editting.

Wiki Text Result
''italic text'' italic text
'''bold text''' bold text
'''''bold italic text''''' bold italic text

= Heading 1 =
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
===== Heading 5 =====

Section headings of various sizes. Don't use "= Heading 1 =", because it's also used by Wikipedia for the title of each page.
[[Link to Wiki Page]] Link to Wiki Page
[[Link to Wiki Page|Wiki Link with User-specified Text]] Wiki Link with User-specified Text
A link to an external page: http://slashdot.org/ A link to an external page: http://slashdot.org/
A link to an external page: [http://slashdot.org/ News for Nerds] A link to an external page: News for Nerds

* one
* two
** three A
** three B
*** foo
*** bar

  • one
  • two
    • three A
    • three B
      • foo
      • bar

# one
# two
## three A
## three B
### foo
### bar

  1. one
  2. two
    1. three A
    2. three B
      1. foo
      2. bar

Sometimes you need to indent some text.
:Use a colon to indent lines
:of text.
::Multiple colons cause greater indentation.

Sometimes you need to indent some text.

Use a colon to indent lines
of text.
Multiple colons cause greater indentation.

 /* Format code by prefixing lines with a space. */
 int i = func(x, y, z);

/* Format code by prefixing lines with a space. */
int i = func(x, y, z);

Images look like this: [[Image:Wiki.png]] By default the image is inline with text.

Images look like this: By default the image inline with text.

Resize images like this: [[Image:Wiki.png|50px]] By default the image is inline with text.

Resize images like this: By default the image inline with text.

[[Image:Wiki.png|frame|The caption]] Use 'frame' to frame the image. When framed, the image floats right by default, can have a caption, and the size option is ignored.

The caption
Use 'frame' to frame the image. When framed, the image floats right by default, can have a caption, and the size option is ignored.

[[Image:Wiki.png|thumb|75px|The caption]] Use 'thumb' to make a thumbnail. A thumbnail floats right by default, can have a caption, and the size option is honored.

The caption
Use 'thumb' to make a thumbnail. A thumbnail floats right by default, can have a caption, and the size option is honored.