Changes

Jump to navigation Jump to search
WP:CHEAT
<noinclude>{{pp-semi-indef}}{{pp-move-indef}}
<div align="center">
{{Help pages header}}</noinclude>
{{Notice|For a complete list of Wikitext codes, see <b>[[Help:Wikitext]].</b> For information on special words, see <b>[[Help:Magic words]].</b>}}
<!--COMMENT MARKUP. Displays:Edit mode only.-->
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |{{shortcut|H:CS|H:CHEAT|WP:CHEAT}}
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;"><br/>Wikitext Cheatsheet</h2>
|-<!--WORKS ANYWHERE IN THE TEXT-->
| colspan=3 style="background:#E6F2FF; border-top:2px #a3b1bf solid;text-align:center;" |
'''Works anywhere in the text''' &nbsp; &nbsp; &nbsp; &nbsp;
|-<!--COLUMN HEADINGS--> 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
|-<!--1ST ROW 1ST COLUMN-->
|Italics{{Anchor|Italic text}}, bold{{Anchor|Bold text}}, and both{{Anchor|bold and italic}}
|<!--2ND COLUMN-->
{{mono|<nowiki>''italics'', '''bold''', and '''''both'''''</nowiki>}}
|<!--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 .5em; font-size:0.9em;">''see [[Help:Interwikimedia links]] for linking to sister projects''</div>
|
<code><nowiki>[[copy edit]]</nowiki></code><br />
<code><nowiki>[[copy edit]]ors</nowiki></code>
|
[[copy edit]]<br />
[[copy edit]]ors
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|
"[[Wikipedia:Piped link|Pipe]]" a link to change the link's text
|
<code><nowiki>[[Android (operating system)|Android]]</nowiki></code>
|
[[Android (operating system)|Android]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|
Link to a section
|
<code><nowiki>[[Frog#Locomotion]]</nowiki></code><br />
<code><nowiki>[[Frog#Locomotion|locomotion in frogs]]</nowiki></code>
|
[[Frog#Locomotion]]<br />
[[Frog#Locomotion|locomotion in frogs]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[WP:RED|Red link]]
<div style="padding: 0.7em .5em; font-size:0.9em;">''links to pages that don't exist are automatically red. Red links in articles help by showing desired [[WP:REDIRECT|redirects]] or [[WP:N|notable]] pages. ''</div>
|
<code><nowiki>[[Red link example]]</nowiki></code>
|
[[Red link example]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Plain website
|
<code><nowiki>https://www.wikipedia.org</nowiki></code>
|
https://www.wikipedia.org
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Link a website
|
<code><nowiki>[https://www.wikipedia.org]</nowiki></code>
|
[https://www.wikipedia.org]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Link and name a website
|
<code><nowiki>[https://www.wikipedia.org/ Wikipedia]</nowiki></code>
|
[https://www.wikipedia.org/ Wikipedia]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Help:Citations quick reference|Citations, references, and footnotes]]
<div style="padding: 0.7em .5em; font-size:0.9em;">sources in the article will appear where <nowiki>{{reflist}}</nowiki> is put, typically under a level 2 section heading (see below) towards the bottom of the page; text between <nowiki>{{}}</nowiki> is for a [[Help:Template|template]].</div>
|
<source lang="xml">
Hello<ref name="LoC">[https://www.loc.gov/about/ Library of Congress]</ref> World!<ref>https://www.w3.org/</ref>

Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>

References: {{reflist}}
</source>
|
Hello<ref name="LoC">[https://www.loc.gov/about/ Library of Congress]</ref> World!<ref>https://www.w3.org/</ref>

Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>

References: {{reflist}}
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Template:Citation needed]]
<div style="padding: 0.7em .5em; font-size:0.9em;">''one of many [[WP:TC|cleanup templates]]''</div>
|
<code><nowiki>This statement is true.{{cn}}</nowiki></code>
|
This statement is true.{{cn}}
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Wikipedia:Signatures|Signature]]{{Anchor|Signature}}
<div style="padding: 0.7em .5em; font-size:0.9em;">''sign your contributions when posting to a [[Wikipedia:Tutorial (Talk pages)|talk page]]''</div>
|
<code><nowiki>~~~~</nowiki></code><br><br><span style="font-size:0.9em;">''do not sign in an article, only on talk pages''</span>
|
[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[WP:STRIKE|Strike]] your [[WP:TALK|talk page]] comment
<div style="padding: 0.7em .5em; font-size:0.9em;">''to show your previous comment is outdated''</div>
|
<code><nowiki><s>This topic isn't [[WP:N|notable]].</s></nowiki></code>
|
<s>This topic isn't [[WP:N|notable]].</s>
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[WP:Underline|Underline]] your text
|
<code><nowiki><u>This topic is notable</u></nowiki></code>
|
<u>This topic is notable</u>
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Hide text somewhere for editors
<div style="padding: 0.7em .5em; font-size:0.9em;">''[[WP:CON|consensus]] is how things are decided''</div>
|
<code><nowiki><!--This had consensus, discuss at talk page--></nowiki></code>
|
<!--This had consensus, discuss at talk page-->
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Wikipedia:Picture tutorial|Show an image]]
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, see the [[Help:Introduction to uploading images|intro to uploading images]]''</div>
{{Anchor|Thumbnail image}}
|
<code><nowiki>[[File:Wiki.png|thumb|Caption]]</nowiki></code>
|
[[File:Wiki.png|thumb|Caption]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Add a page to a [[Wikipedia:FAQ/Categories|category]]{{Anchor|Add a page to a category}}
|<code><nowiki>[[Category:Category name]]</nowiki></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>
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Link to a [[Wikipedia:FAQ/Categories|category]] or [[Help:Files|file]]
|<br><code><nowiki>[[:Category:Category name]]</nowiki></code><br><code><nowiki>[[:File:File name]]</nowiki></code>
|<br>[[:Category:Wikipedia basic information]]<br>[[:File:Example.jpg]]


|-<!--WORKS ONLY AT THE BEGINNING OF LINES-->
| colspan="3" style="background:#E6F2FF; border-top:2px #a3b1bf solid; text-align:center;" | '''Works only at the beginning of lines''' &nbsp; &nbsp;
|-<!--COLUMN HEADINGS--> 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
|-
|[[Wikipedia:Redirect|Redirect to another page]]{{Anchor|Redirect to another page}}
<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 [[Target page]]</nowiki></code>
|
[[File:Redirect arrow without text.svg|30px|link=]] [[Target page]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Wikipedia:Redirect|Redirect to a section of another page]]
|
<code><nowiki>#REDIRECT [[Target page#anchorName]]</nowiki></code>
|
[[File:Redirect arrow without text.svg|30px|link=]] [[Target page#anchorName]]
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Help:Section|Section headings]]{{Anchor|Section headings}}<br />
<div style="padding: 0.7em .5em; font-size:0.9em;">''a Table of Contents will automatically be generated when four headings are added to an article''</div>
|
<code><nowiki>==Level 2==</nowiki></code><br />
<code><nowiki>===Level 3===</nowiki></code><br />
<code><nowiki>====Level 4====</nowiki></code><br />
<code><nowiki>=====Level 5=====</nowiki></code><br />
<code><nowiki>======Level 6======</nowiki></code><br /><br />
<span style="font-size:0.9em">''do not use''&nbsp; =Level 1=&nbsp; ''as it is for page titles''</span>
|

==Level 2==
===Level 3===
====Level 4====
=====Level 5=====
======Level 6======
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Help:List|Bulleted list]]{{Anchor|Bulleted list}}
|
<code>* One</code><br />
<code>* Two</code><br />
<code>** Two point one</code><br />
<code>* Three</code>
|
* One
* Two
** Two point one
* Three
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|[[Help:List|Numbered list]]{{Anchor|Numbered list}}
|
<code># One</code><br />
<code># Two</code><br />
<code>## Two point one</code><br />
<code># Three</code>
|
# One
# Two
## Two point one
# Three
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Indenting text{{Anchor|Indenting text}}
<div style="padding: 0.7em .5em; font-size:0.9em;">''this is used when replying on a [[Wikipedia:Tutorial (Talk pages)|talk page]], to make it easier to follow conversations. <br /> After a string of indents, or to revive a discussion, an outdent <nowiki>{{Outdent|n}}</nowiki> ([[Template:Outdent]]) can be used to reset the paragraph to the left margin.''</div>
|
<code><nowiki>no indent (normal)</nowiki></code><br />
<code><nowiki>:first indent</nowiki></code><br />
<code><nowiki>::second indent</nowiki></code><br />
<code><nowiki>:::third indent</nowiki></code><br />
<code><nowiki>::::fourth indent</nowiki></code><br />
<code><nowiki>{{Outdent|4}} return to left margin</nowiki></code>
|
no indent (normal)<br />
:first indent
::second indent
:::third indent
::::fourth indent
{{Outdent|4}} return to left margin
|}
{{Quicktemplates|state=expanded}}
</div>
<noinclude>
==See also==
{{Side box|text='''Note''': You can use the [[Wikipedia:Sandbox|sandbox]] to experiment with page editing.|imageright=[[File:Sandbox.svg|42px]]}}
[[File:Wiki_markup_cheatsheet_EN.pdf|upright|thumb|Wiki markup quick reference (PDF download)]]
* For a full list of editing commands, see [[Help:Wikitext]]
*For including parser functions, variables and behavior switches, see [[Help:Magic words]]
* For a guide to displaying mathematical equations and formulas, see [[Help:Displaying a formula]]
* For a guide to editing, see [[Wikipedia:Contributing to Wikipedia]]
* For an overview of commonly used style guidelines, see [[Wikipedia:Simplified Manual of Style]]
*For a page on how to use Wikipedia in bite-sized morsels, see [[Wikipedia:Tips]]
* For advice on writing style and formatting in a bullet-point format, see [[Wikipedia:Styletips]]
*For summaries of some Wikipedia protocols and conventions, see [[Wikipedia:Dos and don'ts]]
* If you don't want to use wikitext markup, try [[Wikipedia:VisualEditor]] instead
* '''To ask a question''', see [[Wikipedia:Questions]] to locate the appropriate venue(s)
---- <div style="font-size:smaller">{{Center|1={{Offer help}}}}</div>
{{Wikipedia editor navigation|state=collapsed}}
__NOTOC__ __NOEDITSECTION__
[[Category:Wikipedia basic information|{{PAGENAME}}]]
[[Category:Wikipedia text help]]
[[Category:Wikipedia quick introductions]]
{{PartofHelpContents}}
</noinclude>
Anonymous user

Navigation menu