:Help:Cheatsheet

{{short description|Brief guide to Wikipedia formatting codes}}

{{pp-semi-indef}}{{pp-move-indef}}

{{Help pages header}}

{{Notice|For a complete list of wikitext codes, see Help:Wikitext. For information on special words, see Help:Magic words.|shortcut1=H:CS|shortcut2=H:CHEAT|shortcut3=WP:CHEAT|shortcut4=WP:CHEATSHEET}}

{|align="center" class="notheme" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"

|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |


Wikitext cheatsheet

|-

| colspan=3 style="background:#E6F2FF; border-top:2px #a3b1bf solid;text-align:center;" |

Works anywhere in the text        

|- style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"

| style="border-bottom:2px #a3b1bf solid" width="30%" | Description

| style="border-bottom:2px #a3b1bf solid" | You type

| style="border-bottom:2px #a3b1bf solid" width="30%" | You get

|-

|Italics{{Anchor|Italic text}}, bold{{Anchor|Bold text}}, and both{{Anchor|bold and italic}}

|

italics, bold, and both

|

italics, bold, and both

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Link{{Anchor|Internal link}} to another page

see Help:Interwikimedia links for linking to sister projects

|

copy edit

copy editors

|

copy edit

copy editors

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|

"Pipe" a link to change the link's text

|

Android

|

Android

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|

Link to a section

|

Frog#Locomotion

locomotion in frogs

{{slink|Frog#Locomotion}}

|

Frog#Locomotion

locomotion in frogs

{{slink|Frog#Locomotion}}

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Red link

Links to pages that don't exist are automatically red. Red links in articles often help by showing desired redirects or notable pages.

|

Red link example

|

Red link example

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Plain website

|

https://www.wikipedia.org

|

https://www.wikipedia.org

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Link a website

|

[https://www.wikipedia.org]

|

[https://www.wikipedia.org]

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Link and name a website

|

[https://www.wikipedia.org Wikipedia]

|

[https://www.wikipedia.org/ Wikipedia]

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Citations, references, and footnotes

sources in the article will appear where {{reflist}} is put, typically under a level 2 section heading (see below) towards the bottom of the page; text between {{}} is for a template.

|

Hello[https://www.loc.gov/about/ Library of Congress] World!{{cite web |url=https://www.w3.org/ |title = World Wide Web Consortium (W3C)}}

Hello again!Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.

References: {{reflist}}

|

Hello[https://www.loc.gov/about/ Library of Congress] World!{{cite web |url=https://www.w3.org/ |title = World Wide Web Consortium (W3C)}}

Hello again!Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.

References: {{reflist}}

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Template:Citation needed

one of many cleanup templates

|

This statement is true.{{cn}}

|

This statement is true.{{cn}}

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Signature{{Anchor|Signature}}

sign your contributions when posting to a talk page

|

~~~~

do not sign in an article, only on talk pages

|

Username (talk) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Ping a user on a talk page

so they will see your comment

|

User:Example or {{u|Example}}

|

User:Example or {{u|Example}}

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Strike your talk page comment

to show your previous comment is outdated

|

This topic isn't notable.

|

This topic isn't notable.

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Underline your text

|

This topic is notable

|

This topic is notable

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Hide comment(s) somewhere for editors; hidden comments are visible only in the editors

consensus is how things are decided

|

|

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Show an image

for uploading, see the intro to uploading images

{{Anchor|Thumbnail image}}

|

File:Wiki.png

|

File:Wiki.png

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Add a page to a category{{Anchor|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 published

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Link to a category or file

|
:Category:Category name
:File:File name

|
:Category:Wikipedia basic information
:File:Example.jpg

|-

| colspan="3" style="background:#E6F2FF; border-top:2px #a3b1bf solid; text-align:center;" | Works only at the beginning of lines    

|- style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"

| style="border-bottom:2px #a3b1bf solid" width="30%" | Description

| style="border-bottom:2px #a3b1bf solid" | You type

| style="border-bottom:2px #a3b1bf solid" width="30%" | You get

|-

|Redirect to another page{{Anchor|Redirect to another page}}

redirects must be placed at the start of the first line

|

#REDIRECT Target page

|

File:Redirect arrow without text.svg Target page

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Redirect to a section of another page

|

#REDIRECT Target page#anchorName

|

File:Redirect arrow without text.svg Target page#anchorName

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Section headings{{Anchor|Section headings}}

a Table of Contents will automatically be generated when four headings are added to 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 ====

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Bulleted list{{Anchor|Bulleted list}}

|

* One

* Two

** Two point one

* Three

|

  • One
  • Two
  • Two point one
  • Three

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Numbered list{{Anchor|Numbered list}}

|

# One

# Two

## Two point one

# Three

|

  1. One
  2. Two
  3. Two point one
  4. Three

|-

|colspan="3" style="border-top:1px solid #cee0f2;"|

|-

|Indenting text{{Anchor|Indenting text}}

this is used when replying on a talk page, to make it easier to follow conversations.
After a string of indents, or to revive a discussion, an outdent {{Outdent|n}} (Template:Outdent) can be used to reset the paragraph to the left margin.

|

no indent (normal)

: first indent

:: second indent

::: third indent

:::: fourth indent

{{Outdent|4}} return to left margin

|

no indent (normal)

: first indent

:: second indent

::: third indent

:::: fourth indent

{{Outdent|4}} return to left margin

|}

{{Quicktemplates|state=expanded}}

See also

{{ombox|image=none|small=y|text=Note: You can use the sandbox to experiment with page editing.|imageright=42px}}

File:Wiki_markup_cheatsheet_EN.pdf

----

{{Center|1={{Offer help}}}}

{{Wikipedia editor navigation|state=collapsed}}

__NOTOC__ __NOEDITSECTION__

{{PAGENAME}}

Category:Wikipedia text help

Category:Wikipedia quick introductions

Category:Wikipedia editor snippet collections