Cheat sheet for MediaWiki: Difference between revisions
No edit summary |
No edit summary |
||
Line 119: | Line 119: | ||
<nowiki>without ''markup''</nowiki> | <nowiki>without ''markup''</nowiki> | ||
|- | |- | ||
Revision as of 20:52, 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.
Description | You type | You get | |||
Applies anywhere | |||||
Italicise text |
|
italic | |||
Bold text |
|
bold | |||
Bold and italic |
|
bold & italic | |||
Internal link (within this wiki)
|
|
name of page
Note: red links mean | |||
External link (to other websites) |
|
||||
Redirect |
|
1. redirect Target page | |||
Signature |
|
||||
Escape wiki markup |
|
with markup | |||
colspan="3" style="background: #e4e4e4; padding: 3px 5px; font-family: sans-serif; font-size: 0.9em; text-
| |||||
Headings of different sizes |
|
Level 1Level 2Level 3Level 4 | |||
Outline Numbered Headings |
|
1. one2. two2.1 two point one3. three | |||
Bullet list |
|
| |||
Definition list |
|
| |||
Thumbnail image |
[[File:Example.jpg|thumb|Caption text]] |
![]() |
|||
Syntax Highlight with line numbering |
<syntaxhighlight lang="bash" line> |
#!/bin/bash
# my bash script
|