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 = |
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 |
|
# one |
|
Sometimes you need to indent some text. |
Sometimes you need to indent some text.
|
/* Format code by prefixing lines with a space. */ |
/* 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. |
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. |
Use 'thumb' to make a thumbnail. A thumbnail floats right by default, can have a caption, and the size option is honored. |