Cheat sheet for MediaWiki: Difference between revisions

From Leechfinger
Jump to navigationJump to search
Qais (talk | contribs)
Qais (talk | contribs)
Line 6: Line 6:


[[Category:Mediawiki]]
[[Category:Mediawiki]]
== Level 1 ==
=== Level 2 ===
==== Level 3 ====
===== Level 4 =====
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"| 
|-
|valign="top"|Outline Numbered<br>Headings
|valign="top"|
<code>&#35; one</code><br />
<code>&#35; two</code><br />
<code>&#35;&#35; two point one</code><br />
<code>&#35; three</code>
|
== 1. one ==
=== 2. two ===
==== 2.1 two point one ====
=== 3. three ===
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|valign="top"|Bullet list
|
<code>&#42; one</code><br />
<code>&#42; two</code><br />
<code>&#42;&#42; two point one</code><br />
<code>&#42; three</code>
|
* one
* two
** two point one
* three
|-
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|valign="top"|Definition list
|
<code>&#59;Definition</code><br />
<code>&#58;item 1</code><br />
<code>&#58;item 2</code>
|
;Definition
:item 1
:item 2
|-
|colspan="3" style="border-top:1px solid #d4d4d4;"|&nbsp;
|-
|Thumbnail image
|
<nowiki>[[File:Example.jpg|thumb|Caption text]]</nowiki>
|
[[Category:Mediawiki]]
[[Category:Mediawiki]]

Revision as of 02:12, 30 May 2024

Basics editing

Wikis use symbols such as asterisks, single-quotes, square-brackets and braces to represent formatting elements like making words into links to other sites or articles, or creating tables for layout and dividing the text into headings. This kind of text markup used in the MediaWiki (Wikipedia) project is called wikitext.

Below is a table of the most commonly used wikitext formatting, the middle column is what you type into the article in "edit mode" (after clicking the edit link at the top of the page), and the right-hand column shows what the result would be when viewing the article normally.