Difference between revisions of "Help:Contents"
(included link to how-to videos) |
|||
(58 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | See also [http://www.mediawiki.org/wiki/Help:Contents Detailed Help from Media Wiki] | |
− | |||
− | |||
− | |||
− | |||
− | + | == Text formatting markup == | |
− | |||
− | [ | + | {| {{Prettytable}} |
+ | |- | ||
+ | |{{Hl2}} |'''Description''' | ||
+ | |{{Hl2}} |'''You type''' | ||
+ | |{{Hl2}} |'''You get''' | ||
+ | |- | ||
+ | | colspan="3" align="center" | ''applies anywhere'' | ||
+ | |- | ||
+ | |Italic text | ||
+ | |<tt><nowiki>''italic''</nowiki></tt> | ||
+ | |''italic'' | ||
+ | |- | ||
+ | | Bold text | ||
+ | |<tt><nowiki>'''bold'''</nowiki></tt> | ||
+ | |'''bold''' | ||
+ | |- | ||
+ | | Bold and italic | ||
+ | |<tt><nowiki>'''''bold & italic'''''</nowiki></tt> | ||
+ | |'''''bold & italic''''' | ||
+ | |- | ||
+ | |Escape wiki markup | ||
+ | |<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt> | ||
+ | |<nowiki>no ''markup''</nowiki> | ||
+ | |- | ||
+ | | colspan="3" align="center" | ''only at the beginning of the line'' | ||
+ | |- | ||
+ | |Headings of<br /> | ||
+ | different levels <ref>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.</ref><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> | ||
+ | | | ||
+ | <tt><nowiki>==level 1==</nowiki></tt><br /> | ||
+ | <tt><nowiki>===level 2===</nowiki></tt><br /> | ||
+ | <tt><nowiki>====level 3====</nowiki></tt><br /> | ||
+ | <tt><nowiki>=====level 4=====</nowiki></tt> | ||
+ | | | ||
− | + | ==Level 1== | |
+ | ===Level 2=== | ||
+ | ====Level 3==== | ||
+ | =====Level 4===== | ||
+ | |- | ||
+ | |Horizontal rule | ||
+ | | | ||
+ | <tt><nowiki>----</nowiki></tt> | ||
+ | | | ||
+ | ---- | ||
+ | |- | ||
+ | |Bullet list | ||
+ | | | ||
+ | * one<br> | ||
+ | * two<br> | ||
+ | * three<br> | ||
+ | ** three and one-third<br> | ||
+ | ** three and two-thirds<br> | ||
+ | | | ||
+ | * one | ||
+ | * two | ||
+ | * three | ||
+ | ** three and one-third | ||
+ | ** three and two-thirds | ||
+ | |- | ||
+ | |Numbered list | ||
+ | | | ||
+ | # one<br /> | ||
+ | # two<nowiki><br></nowiki>spanning several lines<nowiki><br></nowiki>without breaking the numbering<br /> | ||
+ | # three<br /> | ||
+ | ## three point one<br /> | ||
+ | ## three point two<br /> | ||
+ | | | ||
+ | # one | ||
+ | # two<br>spanning several lines<br>without breaking the numbering | ||
+ | # three | ||
+ | ## three point one | ||
+ | ## three point two | ||
+ | |- | ||
+ | | Mixture of bulleted<br /> and numbered lists | ||
+ | | | ||
+ | # one<br /> | ||
+ | # two<br /> | ||
+ | #* two point one<br /> | ||
+ | #* two point two<br /> | ||
+ | | | ||
+ | # one | ||
+ | # two | ||
+ | #* two point one | ||
+ | #* two point two | ||
+ | |- | ||
+ | |Definition list | ||
+ | | | ||
+ | ;Definition<br /> | ||
+ | :item 1<br /> | ||
+ | :item 2<br /> | ||
+ | | | ||
+ | ;Definition | ||
+ | :item 1 | ||
+ | :item 2 | ||
+ | |- | ||
+ | |Preformatted text | ||
+ | | | ||
+ | preformatted text is done with<br /> | ||
+ | a space at the<br /> | ||
+ | beginning of the line<br /> | ||
+ | | | ||
+ | preformatted text is done with | ||
+ | a space at the | ||
+ | beginning of the line | ||
+ | |} | ||
− | + | Notes: <references/> | |
− | + | == 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 <tt><nowiki><br> or <br/></nowiki></tt>. | |
− | + | == HTML == | |
− | [[ | + | Some [[w:HTML|HTML]] tags are allowed in MediaWiki, for example <tt><nowiki><code></nowiki></tt>, <tt><nowiki><div></nowiki></tt>, <tt><nowiki><span></nowiki></tt> and <tt><nowiki><font></nowiki></tt>. |
− | |||
− | + | == Links == | |
− | + | You will often want to make clickable ''links'' to other pages. | |
− | [[ | + | {| {{Prettytable}} |
+ | |- | ||
+ | |{{Hl3}}|'''Description''' | ||
+ | |{{Hl3}}|'''You type''' | ||
+ | |{{Hl3}}|'''You get''' | ||
+ | |- | ||
+ | |Internal link | ||
+ | |<tt><nowiki>[[Main Page]]</nowiki></tt> | ||
+ | |[[Main Page]] | ||
+ | |- | ||
+ | |Category link | ||
+ | |<tt><nowiki>[[:Category:Help]]</nowiki></tt> | ||
+ | |[[:Category:Help]] | ||
+ | |- | ||
+ | |Piped link | ||
+ | |<tt><nowiki>[[Main Page|different text]]</nowiki></tt> | ||
+ | |[[Main Page|different text]] | ||
+ | |- | ||
+ | |Anchor link | ||
+ | |<tt><nowiki>[[#External links|Anchor link]]</nowiki></tt> | ||
+ | |[[#External links|Anchor link]] | ||
+ | |- | ||
+ | |External link | ||
+ | |<tt><nowiki>http://mediawiki.org</nowiki></tt> | ||
+ | |http://mediawiki.org | ||
+ | |- | ||
+ | |Internal link to image file | ||
+ | |<tt><nowiki>[[media:example.jpg]]</nowiki></tt> | ||
+ | |[[media:example.jpg]] | ||
+ | |- | ||
+ | |External link,<br /> | ||
+ | different title | ||
+ | |<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt> | ||
+ | |[http://mediawiki.org MediaWiki] | ||
+ | |- | ||
+ | |External link,<br /> | ||
+ | unnamed | ||
+ | |<tt><nowiki>[http://mediawiki.org]</nowiki></tt> | ||
+ | |[http://mediawiki.org] | ||
+ | |- | ||
+ | |External link,<br /> | ||
+ | same host unnamed | ||
+ | |<tt><nowiki>[http://{{SERVERNAME}}/pagename]</nowiki></tt> | ||
+ | |[http://{{SERVERNAME}}/pagename] | ||
+ | |- | ||
+ | |Interwiki link | ||
+ | |<tt><nowiki>[[Wikipedia:MediaWiki]]</nowiki></tt> | ||
+ | |[[Wikipedia:MediaWiki]] | ||
+ | |- | ||
+ | |mailto | ||
+ | |<tt><nowiki>mailto:info@example.org</nowiki></tt> | ||
+ | |mailto:info@example.org | ||
+ | |- | ||
+ | |mailto unnamed | ||
+ | |<tt><nowiki>[mailto:info@example.org]</nowiki></tt> | ||
+ | |[mailto:info@example.org] | ||
+ | |- | ||
+ | |mailto named | ||
+ | |<tt><nowiki>[mailto:info@example.org info]</nowiki></tt> | ||
+ | |[mailto:info@example.org info] | ||
+ | |- | ||
+ | |redirect | ||
+ | |<tt><nowiki>#REDIRECT [[Main Page]]</nowiki></tt> | ||
+ | | → [[Main Page]] | ||
+ | |} | ||
− | |||
− | |||
− | [ | + | See also [http://www.mediawiki.org/wiki/Help:Contents Detailed Help from Media Wiki] |
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 17:49, 14 January 2008
See also Detailed Help from Media Wiki
Text formatting markup
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 |
See also Detailed Help from Media Wiki