Help:Editing and markup cheatsheet: Difference between revisions

From Poliwager Wiki
Created page, copied and edited contents from Rimworld Wiki.
 
Updated some missing links and added more examples.
 
Line 27: Line 27:
|
|
<code><nowiki>[[Adopt Page]]</nowiki></code><br />
<code><nowiki>[[Adopt Page]]</nowiki></code><br />
<code><nowiki>[[Help:Editing and markup cheatsheet]]</nowiki></code>
<code><nowiki>[[Special:Categories]]</nowiki></code>
|
|
[[Adopt Page]]<br />[[Help:Editing and markup cheatsheet]]
[[Adopt Page]]<br />[[Special:Categories]]
|-
|-
|colspan="3" |
|colspan="3" |
Line 115: Line 115:
|colspan="3" |
|colspan="3" |
|-
|-
|[[Help:Images|Show an image]]
|Show an image
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, see the [[Help:Managing files]]
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, go to [[Special:Upload]]
''</div>
''</div>
|
|
<code><nowiki>[[File:Bedroll east.png|thumb|Caption]]</nowiki></code>
<code><nowiki>[[File:Spring Season.png|thumb|Caption]]</nowiki></code>
|
|
No working example yet. [[File:Bedroll east.png|thumb|Caption]]
No working example yet. [[File:Spring Season.png|thumb|Caption]]
|-
|-
|colspan="3" |
|colspan="3" |
Line 133: Line 133:
| Link to a category or file without adding the file to the page / page to the category
| Link to a category or file without adding the file to the page / page to the category
|
|
<code><nowiki>[[:Category:Locations]]</nowiki></code><br />
<code><nowiki>[[:Category:Adoptables Explore Locations]]</nowiki></code><br />
<code><nowiki>[[:File:Medicine.png]]</nowiki></code>
<code><nowiki>[[:File:Summer Season.png]]</nowiki></code>
| [[:Category:Locations]]<br /> No working example yet. [[:File:Medicine.png]]
| [[:Category:Adoptables Explore Locations]]<br /> No working example yet. [[:File:Summer Season.png]]
|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
| colspan="3" style="text-align: center;" |
| colspan="3" style="text-align: center;" |
Line 147: Line 147:
<div style="padding: 0.7em .5em; font-size:0.9em;">''redirects must be placed at the start of the first line''</div>
<div style="padding: 0.7em .5em; font-size:0.9em;">''redirects must be placed at the start of the first line''</div>
|
|
  <code><nowiki>#REDIRECT [[About RimWorld]]</nowiki></code>
  <code><nowiki>#REDIRECT [[Berry Pots]]</nowiki></code>
|
|
No working example yet.  '''&#x21AA;''' [[About RimWorld]]
'''&#x21AA;''' [[Berry Pots]]
|-
|-
|colspan="3"|
|colspan="3"|
Line 155: Line 155:
|Redirect to a section of another page
|Redirect to a section of another page
|
|
<code><nowiki>#REDIRECT [[About RimWorld#The tactics engine]]</nowiki></code>
<code><nowiki>#REDIRECT [[Berry Pots#Uses]]</nowiki></code>
|
|
No working example yet. '''&#x21AA;'''  [[About RimWorld#The tactics engine]]
'''&#x21AA;'''  [[Berry Pots#Uses]]
|-
|-
|colspan="3" |
|colspan="3" |

Latest revision as of 11:48, 22 October 2024

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) 02:15, 27 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