Syntax
From MyWebber Wiki
Links
| Description | You type | You get |
| Internal link | [[Main Page]] | Main Page |
| Piped link | [[Main Page|different text]] | different text |
| External link | http://mediawiki.org | http://mediawiki.org |
| External link, different title | [http://mediawiki.org MediaWiki] | MediaWiki |
| External link, numbered | [http://mediawiki.org] | [1] |
| Anchor link | [[#See also]] | #See also |
| Anchor link at another page | [[Help:Images#See also]] | Help:Images#See also |
| Category link | [[:Category:Help]] | Category:Help |
| Internal link to image file | [[media:example.jpg]] | media:example.jpg |
| Internal link to pdf file | [[media:example.pdf]] | media:example.pdf |
| Interwiki link | [[Wikipedia:MediaWiki]] | Wikipedia:MediaWiki |
| mailto link | [mailto:info@example.org email me] | email me |
| redirect | #REDIRECT [[Main Page]] | → Main Page |
Text formatting
| 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'' |
| Fixed width text |
<tt>Fixed width text</tt> |
Fixed width text |
| only at the beginning of the line | ||
| Indent text |
:Single indent |
|
| Headings of different levels <ref>An article with four or more headings will automatically create a table of contents.</ref> | ==level 2== ===level 3=== |
Level 2 |
| 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 |
| Preformatted text with no indentation |
<pre> some preformatted text with no indentation </pre> |
some preformatted text with no indentation |
| Source code | <source lang="java">
if (user=="Jason") out.print("Hello"); </source> Values for lang: java,xml,sql,php,javascript,html4strict |
if (user=="Jason") out.print("Hello"); |
| Blockquotes |
Body <blockquote> quote quote quote quote quote quote </blockquote> text text text text text text text text text text text text |
Body quote quote quote quote quote quote text text text text text text text text text text text text |
| Comment |
<!--This is comment--> | |
