Help:Editing and markup cheatsheet

From Poliwager Wiki

This is a simple Source Editor cheatsheet. It shows you how to use a lot of the markup needed to make an article using the Source Editor instead of the Visual Editor.

Not all of the links will work here yet: since the wiki's still small some things like redirects won't exist as examples.

This table was originally posted on the Rimworld Wiki, which is another MediaWiki project very similar to this one. Some links have been changed to make the table function on this wiki.

The original page is here for those who want to see it. See also the MediaWiki reference card for the official Wikimedia version.

Wiki markup cheatsheet

Works anywhere in the text

Description You type You get
Italics, bold, and both

''italics'', '''bold''', and '''''both'''''

italics, bold, and both

Link to another page

[[Adopt Page]]
[[Special:Categories]]

Adopt Page
Special:Categories

"Pipe" a link to change what the link looks like without changing where it points.

[[Adopt Page|This is also a link to the Adopt Page Article]]

This is also a link to the Adopt Page Article

Link to a section

[[Items#Valuable Items]]
[[Items#Valuable Items|Valuable Items]]

Items#Valuable Items
Valuable Items

Red link
red links in articles help by showing desired pages to be created

[[a red link]]

a red link

Signature
sign your contributions when posting to a talk page

~~~~

do not sign in an article, only on talk pages

Username (talk) 06:21, 21 November 2024 (UTC)

Plain website

https://www.mediawiki.org

https://www.mediawiki.org

Link a website

[https://www.mediawiki.org]

[1]

Link and name a website

[https://www.mediawiki.org MediaWiki]

MediaWiki

Strike your talk page comment
to show your previous comment is outdated

<s>This page is missing important information.</s>

This page is missing important information.

Hide text somewhere for editors
Essentially leaving comments in an article's source code

<!--Check the help section for assistance with templates!-->

Show an image
for uploading, go to Special:Upload

[[File:Spring Season.png|thumb|Caption]]

No working example yet.
Caption
Add a page to a category [[Category:Category name]]

place near the bottom of a page
shows "Category name" in a bar at bottom when the page is previewed or saved
Link to a category or file without adding the file to the page / page to the category

[[:Category:Adoptables Explore Locations]]
[[:File:Summer Season.png]]

Category:Adoptables Explore Locations
No working example yet. File:Summer Season.png

Works only at the beginning of lines

Description You type You get
Redirect to another page
redirects must be placed at the start of the first line
#REDIRECT [[Berry Pots]]

Berry Pots

Redirect to a section of another page

#REDIRECT [[Berry Pots#Uses]]

Berry Pots#Uses

Section headings
a Table of Contents will automatically be generated when four headings are added to an article. The Table of Contents can be disabled by writing __NOTOC__ at the beginning of an article.

==Level 2==
===Level 3===
====Level 4====
=====Level 5=====
======Level 6======


do not use  =Level 1=  as it is for page titles

Level 2[edit source]

Level 3[edit source]

Level 4[edit source]

Level 5[edit source]
Level 6[edit source]
Bulleted list
This is used when replying on a talk page, to make it easier to follow conversations.

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Indenting text
On Wikipedia, this is used when replying on a talk page, to make it easier to follow conversations. For the Poliwager Adoptables wiki, we use the bulleted list instead.

no indent (normal)
:first indent
::second indent
:::third indent
::::fourth indent

no indent (normal)

first indent
second indent
third indent
fourth indent