Help:Syntax

From MC Public Wiki
Revision as of 05:26, 10 February 2011 by Language (talk | contribs) (moved gallery)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description You type You get
Paragraphs
A single newline has no
effect on the layout.

But an empty line starts a new paragraph, or ends a list or indented part.

A single newline has no effect on the layout.

But an empty line starts a new paragraph, or ends a list or indented part.

Line breaks
You can break lines<br />
without starting a new paragraph.

You can break lines
without starting a new paragraph.

Italic text ''italic'' italic
Bold text '''bold''' bold
Bold and italic text '''''bold and italic''''' bold and italic
Link to another page [[Name of page]]
[[Name of page|Text to display]]
Name of page
Text to display
Link to an external site [http://www.google.com/]
[http://www.google.com/ Text to display]
[1]
Text to display
Add an image
Parameters can be omitted.
[[File:Example.png|100px|alt=Alt text|Title text]] Alt text
Add a thumbnail
Parameters can be omitted.
The thumbnail will float right if the left parameter is omitted.
[[File:Example.png|thumb|left|alt=Alt text|Caption]]
Alt text
Caption
Gallery
perrow should be 4
<gallery perrow="4">
Image:Example.png|Caption
Image:Example.png|Caption
</gallery>
Add a page to a category [[Category:Category name]] Categories should be placed at the end of pages. The category name will display in a bar at the bottom when the page is previewed or saved.
Signature
Sign your contributions when posting to a talk page.
Do not sign when contributing to an article.
~~~~ Username (talk) 22:09, 24 April 2024 (UTC)
Redirect to another page
Redirects must be placed at the start of the first line.
#REDIRECT [[Target page]] Target page
Section headings
= Level 1 = should not be used.

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2

Level 3

Level 4

Level 5
Level 6
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Indented text
This is generally used when replying on a talk page, as it keeps conversations easy to browse.

no indent (normal)
: first indent
:: second indent
::: third indent

no indent (normal)

first indent
second indent
third indent
Ignore wiki markup <nowiki>[[Link]] ''italic text''</nowiki> [[Link]] ''italic text''