Difference between revisions of "Wiki Format Sheet"
Line 94: | Line 94: | ||
|<tt><nowiki>[[Main Page]]</nowiki></tt> | |<tt><nowiki>[[Main Page]]</nowiki></tt> | ||
|[[Main Page]] | |[[Main Page]] | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|External link | |External link | ||
Line 107: | Line 103: | ||
|<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt> | |<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt> | ||
|[http://mediawiki.org MediaWiki] | |[http://mediawiki.org MediaWiki] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|Internal link to image file | |Internal link to image file | ||
Line 132: | Line 111: | ||
|<tt><nowiki>[[media:example.pdf]]</nowiki></tt> | |<tt><nowiki>[[media:example.pdf]]</nowiki></tt> | ||
|[[media:example.pdf]] | |[[media:example.pdf]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Revision as of 04:08, 13 January 2009
Text formatting markup
For bold and italic text, use the icons in the editing window.
Template:Hl2 |Description | Template:Hl2 |You type | Template:Hl2 |You get |
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 1=<ref>Use of a level 1 heading is highly discouraged as it appears with the same formatting and size as the page title, which can be confusing.</ref> |
Level 1 |
Horizontal rule |
---- |
|
Bullet list |
* one |
|
Numbered list |
# one |
|
Definition list |
;Definition |
|
How to link
Template:Hl3|Description | Template:Hl3|You type | Template:Hl3|You get |
Internal link | [[Main Page]] | Main Page |
External link | http://mediawiki.org | http://mediawiki.org |
External link, different title |
[http://mediawiki.org MediaWiki] | MediaWiki |
Internal link to image file | [[media:example.jpg]] | media:example.jpg |
Internal link to pdf file | [[media:example.pdf]] | media:example.pdf |
More advanced
Template:Hl3|Description | Template:Hl3|You type | Template:Hl3|You get |
Piped link, different title |
[[Main Page|<span title="different title">different text</span>]] | different text |
External link, same host unnamed |
[http://{{SERVERNAME}}/pagename] | [1] |
External link, other host, pass pagename |
[http://google.com/search?q={{PAGENAMEE}}] | [2] |
mailto named with subject line and body | [mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] | info |