Difference between revisions of "Help:WikiMarkup Formatting"
Jump to navigation
Jump to search
m |
m |
||
Line 33: | Line 33: | ||
<tt><nowiki>=====level 4=====</nowiki></tt> | <tt><nowiki>=====level 4=====</nowiki></tt> | ||
| | | | ||
− | |||
==Level 1== | ==Level 1== | ||
===Level 2=== | ===Level 2=== | ||
Line 120: | Line 119: | ||
You will often want to make clickable ''links'' to other pages. | You will often want to make clickable ''links'' to other pages. | ||
− | {| {{ | + | {|border="2" width="{{{width|100%}}}" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;{{{style|}}}" |
|- | |- | ||
− | | | + | |bgcolor="#8DA7D6" color="black"|'''Description''' |
− | | | + | |bgcolor="#8DA7D6" color="black"|'''You type''' |
− | | | + | |bgcolor="#8DA7D6" color="black"|'''You get''' |
|- | |- | ||
|Internal link | |Internal link |
Revision as of 16:54, 22 September 2008
Description | You type | You get |
applies anywhere | ||
Italic text | ''italic'' | italic |
Bold text | '''bold''' | bold |
Bold and italic | '''''bold & italic''''' | bold & italic |
Escape wiki markup | <nowiki>no ''markup''</nowiki> | no ''markup'' |
only at the beginning of the line | ||
Headings of |
==level 1== |
Level 1Level 2Level 3Level 4 |
Horizontal rule |
---- |
|
Bullet list |
* one |
|
Numbered list |
# one |
|
Mixture of bulleted and numbered lists |
# one |
|
Definition list |
;Definition |
|
Preformatted text |
preformatted text is done with |
preformatted text is done with a space at the beginning of the line |
Notes:
- ↑ Use of a heading created by single equal signs is discouraged as it appears with the same formatting and size as the page title, which can be confusing.
- ↑ An article with four or more headings will automatically create a table of contents.
Paragraphs
MediaWiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tags <br> or <br/>.
HTML
Some HTML tags are allowed in MediaWiki, for example <code>, <div>, <span> and <font>.
Links
You will often want to make clickable links to other pages.
Description | You type | You get |
Internal link | [[Main Page]] | Main Page |
Category link | [[:Category:Help]] | Category:Help |
Piped link | [[Main Page|different text]] | different text |
Anchor link | [[#External links|Anchor link]] | Anchor link |
External link | http://mediawiki.org | http://mediawiki.org |
Internal link to image file | [[media:example.jpg]] | media:example.jpg |
External link, different title |
[http://mediawiki.org MediaWiki] | MediaWiki |
External link, unnamed |
[http://mediawiki.org] | [1] |
External link, same host unnamed |
[http://{{SERVERNAME}}/pagename] | [2] |
Interwiki link | [[Wikipedia:MediaWiki]] | Wikipedia:MediaWiki |
mailto | mailto:info@example.org | mailto:info@example.org |
mailto unnamed | [mailto:info@example.org] | [3] |
mailto named | [mailto:info@example.org info] | info |
redirect | #REDIRECT [[Main Page]] | → Main Page |