Help:Cheatsheet

From English Wikipedia @ Freddythechick
(Redirected from Help:Cheat)

Lua error in Module:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value).Lua error in Module:Effective_protection_level at line 52: attempt to index field 'TitleBlacklist' (a nil value).


Wikitext 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
see Help:Interwikimedia links for linking to sister projects

[[copy edit]]
[[copy edit]]ors

copy edit
copy editors

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

[[Android (operating system)|Android]]

Android

Link to a section

[[Frog#Locomotion]]
[[Frog#Locomotion|locomotion in frogs]]
{{slink|Frog#Locomotion}}

Frog#Locomotion
locomotion in frogs
Frog § Locomotion

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

Plain website

https://www.wikipedia.org

https://www.wikipedia.org

Link a website

[https://www.wikipedia.org]

[1]

Link and name a website

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

Wikipedia

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.

<syntaxhighlight lang="xml"> Hello[1] World![2]

Hello again![1][3]

References:
  1. ^ 1.0 1.1 Library of Congress
  2. ^ "World Wide Web Consortium (W3C)".
  3. ^ Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.

</syntaxhighlight>

Hello[1] World![2]

Hello again![1][3]

References:
  1. ^ 1.0 1.1 Library of Congress
  2. ^ "World Wide Web Consortium (W3C)".
  3. ^ Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.
Template:Citation needed
one of many cleanup templates

This statement is true.{{cn}}

This statement is true.[citation needed]

Signature
sign your contributions when posting to a talk page

~~~~

do not sign in an article, only on talk pages

Username (talk) 07:08, 30 April 2025 (UTC)

Ping a user on a talk page
so they will see your comment

[[User:Example]] or {{u|Example}}

User:Example or Example

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

<syntaxhighlight lang="tid" inline>This topic isn't notable.</syntaxhighlight>

This topic isn't notable.

Underline your text

<u>This topic is notable</u>

This topic is notable

Hide comment(s) somewhere for editors; hidden comments are visible only in the editors
consensus is how things are decided

<!-- This had consensus, discuss at talk page -->

Show an image
for uploading, see the intro to uploading images

[[File:Wiki.png|thumb|Caption]]

File:Wiki.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 published
Link to a category or file
[[:Category:Category name]]
[[:File:File name]]

Category:Wikipedia basic information
File:Example.jpg


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 [[Target page]]

Target page

Redirect to a section of another page

#REDIRECT [[Target page#anchorName]]

Target page#anchorName

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
Bulleted list

* 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
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
return to left margin

Images

<syntaxhighlight lang="wikitext">[[File: | thumb | upright | right | alt= | caption ]]</syntaxhighlight>

Cite web

<syntaxhighlight lang="wikitext">[1]</syntaxhighlight>

Cite journal

<syntaxhighlight lang="wikitext">[2]</syntaxhighlight>

Cite book (short)

<syntaxhighlight lang="wikitext">[3]</syntaxhighlight>

Cite book (extended)

<syntaxhighlight lang="wikitext">[4]</syntaxhighlight>

Metric conversions

Single input:<syntaxhighlight lang="wikitext">

[convert: invalid number]</syntaxhighlight> Range of values:<syntaxhighlight lang="wikitext"> [convert: invalid number]</syntaxhighlight> Examples:<syntaxhighlight lang="wikitext"> 60 and 170 kg (130 and 370 lb) 18 °C (64 °F) 3.21 kilograms (7.1 lb)</syntaxhighlight>

Variables

Code Effect
{{CURRENTWEEK}} 18
{{CURRENTDOW}} 3
{{CURRENTMONTH}} 04
{{CURRENTMONTHNAME}} April
{{CURRENTMONTHNAMEGEN}} April
{{CURRENTDAY}} 30
{{CURRENTDAYNAME}} Wednesday
{{CURRENTYEAR}} 2025
{{CURRENTTIME}} 07:08
{{NUMBEROFARTICLES}} 0
{{NUMBEROFPAGES}} 16,983,441
{{NUMBEROFUSERS}} 1
{{PAGENAME}} Cheatsheet
{{NAMESPACE}} Help
{{REVISIONID}} 8939334
{{REVISIONUSER}} imported>Riod456
{{localurl:pagename}} /wiki/Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} https://en.wikipedia.org/wiki/Sandbox?action=edit
{{fullurl:pagename}} https://enwiki.freddythechick.net/wiki/Pagename
{{fullurl:pagename|query_string}} https://enwiki.freddythechick.net/index.php?title=Pagename&query_string
{{SERVER}} https://enwiki.freddythechick.net
{{ns:index}} e.g. '{{ns:1}}' fullname of namespace e.g 'Talk'
{{SITENAME}} English Wikipedia @ Freddythechick

Recalling named reference

<syntaxhighlight lang="xml">[5]</syntaxhighlight>

Quotes

<syntaxhighlight lang="wikitext">
</syntaxhighlight>

Blockquotes

<syntaxhighlight lang="html">

QUOTED PARAGRAPH

NAME, SOURCE, REFERENCE

</syntaxhighlight>

About

(This page is about USE1. For other uses, see About (disambiguation).)
<syntaxhighlight lang="wikitext"></syntaxhighlight>
(This page is about USE1. For other uses, see PAGE2.)
<syntaxhighlight lang="wikitext"></syntaxhighlight>
(This page is about USE1. For USE2, see PAGE2.)
<syntaxhighlight lang="wikitext"></syntaxhighlight>
(This page is about USE1. For USE2, see PAGE2. For USE3, see PAGE3. For USE4, see PAGE4. For USE5, see PAGE5.)
<syntaxhighlight lang="wikitext"></syntaxhighlight>

Tables (borderless)

COLUMN1 COLUMN2
ROW1 ROW1/COL2
ROW2 ROW2/COL2
</syntaxhighlight>

Tables (wikitable)

class="wikitable"
COLUMN1 COLUMN2
ROW1 ROW1/COL2
ROW2 ROW2/COL2

</syntaxhighlight>

|}

Collapsible tables (Default: collapsed)

class="wikitable mw-collapsible mw-collapsed" style="text-align: left;margin:0px;"
COLUMN1 COLUMN2
ROW1 ROW1/COL2
ROW2 ROW2/COL2

</syntaxhighlight>

|}

Columns

<syntaxhighlight lang="wikitext">
</syntaxhighlight>

Interwiki links

Wiki Shortcut
Wikimedia Commons [[commons:]]
Wikipedia [[w:]]
Wiktionary [[wikt:]]
Wikibooks [[b:]]
Wikisource [[s:]]
Wikispecies [[species:]]
Metawiki [[m:]]
MediaWiki [[mw:]]

Vandalism response templates

<syntaxhighlight lang="wikitext">
* {{subst:uw-vandalism1|PageName}} ~~~~ (unintentional vandalism/test)
* {{subst:uw-delete1|PageName}} ~~~~ (unintentional removal of content)
* {{subst:uw-vandalism2|PageName}} ~~~~ (suitable for intentional nonsense or disruption)
* {{subst:uw-delete2|PageName}} ~~~~ (variant for removal of content)
* {{subst:uw-vandalism3|PageName}} ~~~~ ("please stop" for use after level 2 warning)
* {{subst:uw-delete3|PageName}} ~~~~ (please stop removing content)
* {{subst:uw-vandalism4|PageName}} ~~~~ (last warning for vandalism)
* {{subst:uw-delete4|PageName}} ~~~~ (last warning for removing content)
* {{subst:uw-vandalism4im|PageName}} ~~~~ (only warning; for severe or grotesque vandalism only)
* {{subst:uw-delete4im|PageName}} ~~~~ (only warning; for many blankings in a short period of time)

</syntaxhighlight>

Page citations

<syntaxhighlight lang="wikitext"></syntaxhighlight>

|}


See also

Wiki markup quick reference (PDF download)

  1. ^ {{cite web}}: Empty citation (help)
  2. ^ {{cite journal}}: Empty citation (help)
  3. ^ {{cite book}}: Empty citation (help)
  4. ^ {{cite book}}: Empty citation (help)
  5. ^ Cite error: The named reference NAMEOFREF was invoked but never defined (see the help page).