Jump to content

Help:Cheatsheet

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SatthathepPreecha (talk | contribs) at 09:19, 7 February 2025 (Suggestion). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

<>

{{}}{{}}

</>


Works anywhere in the text        

Description You type You get
Italics, bold, and both

''italics'', '''bold''', and '''''both'''''</></code> |<!--3RD COLUMN--> ''italics'', '''bold''', and '''''both''''' |-<!--HORIZONTAL LINE--> |colspan="3" style="border-top:1px solid #cee0f2;"| |-<!--2ND ROW 1ST COLUMN--> |[[Wikipedia:Manual of Style/Linking|Link]]{{Anchor|Internal link}} to another page <div style="padding: 0.7em .; font-size:0.9em;">''see [[Help:Interwikimedia links]] for linking to sister projects''</div> | <code><>[[copy edit]]
<>copy editors</>

copy edit
copy editors

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

<>Android</>

Android

Link to a section

<>Frog#Locomotion</>
<>locomotion in frogs</>
<>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</nowiki>

Red link example

Plain website

<>https://www.wikipedia.org</>

https://www.wikipedia.org

Link a website

<>[1]</>

[2]

Link and name a website

<>Wikipedia</>

Wikipedia

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

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

Hello again!Cite error: The opening <ref> tag is malformed or has a bad name (see the help page).[3]

References: {{}} </>

Hello[4] World![5]

Hello again!Cite error: The opening <ref> tag is malformed or has a bad name (see the help page).[6]

References: {{}}

Template:Citation needed
one of many cleanup templates

<>This statement is true.{{}}</>

This statement is true.{{}}

Signature
sign your contributions when posting to a talk page

<>SatthathepPreecha (talk) 09:19, 7 February 2025 (UTC)</>[reply]

do not sign in an article, only on talk pages

Username (talk) {{}}, {{}} {{}} {{}} (UTC)

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

<>User:Example</> or <>Example</>

User:Example or Example

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

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

This topic isn't notable.

Underline your text

<>This topic is notable</>

This topic is notable

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

<></>

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

<>
Caption
</>
Caption
Add a page to a category [[Category:Category name]]</></code><br><br><span style="font-size:0.9em;">''place near the bottom of a page''</span> |<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or published''</span> |- |="3" style="border-top: solid #cee0f2;"| |- |Link to a [[Wikipedia:FAQ/Categories|category]] or [[Help:Files|file]] |<br><code><>[[:Category:Category name]]</></code><br><code><>[[:File:File name]]</></code> |<br>[[:Category:Wikipedia basic information]]<br>[[:File:Example.jpg]] |-<!--WORKS ONLY AT THE BEGINNING OF LINES--> | ="3" style="background:#; border-top:2px #Abby solid; text-align:center;" | '''Works only at the beginning of lines'''     |-<!--COLUMN HEADINGS--> style="background:#; padding:0.3em; font-size: 0.9em; text-align:center;" | style="border-bottom:2px # solid" width="30%" | Description | style="border-bottom:2px # solid" | You type | style="border-bottom:2px #a3b1bf solid" width="30%" | You get |- |[[Wikipedia:Redirect|Redirect to another page]]{{Anchor|Redirect to another page}} <div style="padding: 0.7em .; font-size:0.9em;">''redirects must be placed at the start of the first line''</div> | <code><>#REDIRECT [[Target page]]</></code> | [[File:Redirect arrow without text.svg|30px|link=]] [[Target page]] |- |="3" style="border-top:1px solid #cee0f2;"| |- |[[Wikipedia:Redirect|Redirect to a section of another page]] | <code><>#REDIRECT [[Target page#]]</></code> | [[File:Redirect arrow without text.svg|30px|link=]] [[Target page#]] |- |colspan="3" style="border-top:1px solid #cee0f2;"| |- |[[Help:Section|Section headings]]{{Anchor|Section headings}}<br> <div style="padding: 0.7em .; font-size:0.9em;">''a Table of Contents will automatically be generated when four headings are added to an article''</div> | <code><>== Level 2 ==</></code><br> <code><>=== Level 3 ===</></code><br> <code><>==== Level 4 ====</></code><br> <code><nowiki>===== 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
[[File: | thumb | upright | right | alt= | caption ]]
<ref>{{cite web
 |url= 
 |title= 
 |author= 
 |date= 
 |website= 
 |publisher= 
 |access-date= 
}}</ref>
<ref>{{cite journal
 |last1= 
 |first1= 
 |last2= 
 |first2= 
 |date= 
 |title= 
 |journal= 
 |volume= 
 |issue= 
 |pages= 
 |publisher= 
 |doi= 
 |url= 
 |access-date= 
}}</ref>
<ref>{{cite book
 |last= 
 |first= 
 |author-link= 
 |title= 
 |publisher= 
 |series= 
 |date=  
 |doi= 
 |isbn= 
}}</ref>
<ref>{{cite book
 |last1        = 
 |first1       = 
 |last2        = 
 |first2       = 
 |author-link1 = 
 |author-link2 = 
 |editor       = 
 |title        = 
 |trans-title  = 
 |url          = 
 |access-date  = 
 |edition      = 
 |series       = 
 |volume       = 
 |date         = 
 |publisher    = 
 |location     = 
 |isbn         = 
 |doi          = 
 |page         = 
 |pages        = 
 |chapter      = 
}}</ref>
Single input:
{{convert|original_value|original_unit|conversion_unit|abbr=on}}
Range of values:
{{convert|orig_val1|range|orig_val2|original_unit|conversion_unit|abbr=on}}
Examples:
{{convert|60|and|170|kg|lb|abbr=on}}
{{convert|18|°C|°F}}
{{convert|3.21|kg|lb}}
Code Effect
{{CURRENTWEEK}} 21
{{CURRENTDOW}} 1
{{CURRENTMONTH}} 05
{{CURRENTMONTHNAME}} May
{{CURRENTMONTHNAMEGEN}} May
{{CURRENTDAY}} 19
{{CURRENTDAYNAME}} Monday
{{CURRENTYEAR}} 2025
{{CURRENTTIME}} 22:08
{{NUMBEROFARTICLES}} 6,995,783
{{NUMBEROFPAGES}} 63,170,267
{{NUMBEROFUSERS}} 49,161,975
{{PAGENAME}} Cheatsheet
{{NAMESPACE}} Help
{{REVISIONID}} -
{{REVISIONUSER}} SatthathepPreecha
{{localurl:pagename}} /wiki/Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} /w/index.php?title=Wikipedia:Sandbox&action=edit
{{fullurl:pagename}} //en.wikipedia.org/wiki/Pagename
{{fullurl:pagename|query_string}} //en.wikipedia.org/w/index.php?title=Pagename&query_string
{{SERVER}} //en.wikipedia.org
{{ns:index}} e.g. '{{ns:1}}' fullname of namespace e.g 'Talk'
{{SITENAME}} Wikipedia
<ref name="NAMEOFREF" />
{{blockquote |text= |sign= }}
<blockquote>
<p>QUOTED PARAGRAPH</p>
<p>NAME, SOURCE, REFERENCE</p>
</blockquote>
(This page is about USE1. For other uses, see About (disambiguation).)
{{About|USE1}}
(This page is about USE1. For other uses, see PAGE2.)
{{About|USE1||PAGE2}}
(This page is about USE1. For USE2, see PAGE2.)
{{About|USE1|USE2|PAGE2}}
(This page is about USE1. For USE2, see PAGE2. For USE3, see PAGE3. For USE4, see PAGE4. For USE5, see PAGE5.)
{{About|USE1|USE2|PAGE2|USE3|PAGE3|USE4|PAGE4|USE5|PAGE5}}
{|
|-
! scope="col" |COLUMN1
! scope="col" |COLUMN2
|-
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|}
{| class="wikitable"
|-
! scope="col" |COLUMN1
! scope="col" |COLUMN2
|-
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|}
{| class="wikitable mw-collapsible mw-collapsed" style="text-align: left;margin:0px;"
|- 
! style="width:20em;" |COLUMN1
! style="width:20em;" |COLUMN2
|- 
|ROW1
|ROW1/COL2
|-
|ROW2
|ROW2/COL2
|-
|}
{{col-begin|width=100%}}
{{col-break|width=}} 
{{col-end}}
Wiki Shortcut
Wikimedia Commons [[commons:]]
Wikipedia [[w:]]
Wiktionary [[wikt:]]
Wikibooks [[b:]]
Wikisource [[s:]]
Wikispecies [[species:]]
Wikiversity [[wv:]]
Metawiki [[m:]]
MediaWiki [[mw:]]
 * {{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)
{{rp|page=}}

See also

Wiki markup quick reference (PDF download)

  1. ^ Library of Congress
  2. ^ "World Wide Web Consortium ()".
  3. ^ Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.
  4. ^ Library of Congress
  5. ^ "World Wide Web Consortium ()".
  6. ^ Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.