Help:Editing and markup cheatsheet

From Poliwager Wiki
Revision as of 08:35, 3 November 2022 by LinneaBorealis (talk | contribs) (Created page, copied and edited contents from Rimworld Wiki.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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]]
[[Help:Editing and markup cheatsheet]]

Adopt Page
Help:Editing and markup cheatsheet

"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) 14:28, 23 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, see the Help:Managing files

[[File:Bedroll east.png|thumb|Caption]]

No working example yet.
File:Bedroll east.png
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:Locations]]
[[:File:Medicine.png]]

Category:Locations
No working example yet. File:Medicine.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 [[About RimWorld]]

No working example yet. About RimWorld

Redirect to a section of another page

#REDIRECT [[About RimWorld#The tactics engine]]

No working example yet. About RimWorld#The tactics engine

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

Level 3

Level 4

Level 5
Level 6
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