<noinclude>{{short description|Brief guide to Wikipedia formatting codes}}
{{pp-semi-indef}}{{pp-move-indef}}
<div align="center">
{{Help pages header}}</div></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>|shortcut1=H:CS|shortcut2=H:CHEAT|shortcut3=WP:CHEAT|shortcut4=WP:CHEATSHEET}}
<!--COMMENT MARKUP. Displays in only source editing mode.-->
{|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;" |
<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'''
|-<!--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-->
<code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki></code>
|<!--3RD COLUMN-->
''italics'', '''bold''', and '''''both'''''
|-<!--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><br/>
<code><nowiki>{{slink|Frog#Locomotion}}</nowiki></code>
|
[[Frog#Locomotion]]<br>
{{slink|Frog#Locomotion}}
|-
|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 often 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>
|
<syntaxhighlight lang="xml">
Hello<ref name="LoC">[https://www.loc.gov/about/ Library of Congress]</ref> World!<ref>{{cite web |url=https://www.w3.org/ |title = World Wide Web Consortium (W3C)}}</ref>
Hello again!<ref name="LoC" /><ref>Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>
References: {{reflist}}
</>
</syntaxhighlight>
|
Hello<ref name="LoC">[https://www.loc.gov/about/ Library of Congress]</ref> World!<ref>{{cite web |url=https://www.w3.org/ |title = World Wide Web Consortium (W3C)}}</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>~~~~[[User:SatthathepPreecha|SatthathepPreecha]] ([[User talk:SatthathepPreecha|talk]]) 09:19, 7 February 2025 (UTC)</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;"|
|-
|Ping a user on a [[Help:Talk pages#Notifications|talk page]]
<div style="padding: 0.7em .5em; font-size:0.9em;">''so they will see your comment''</div>
|
<code><nowiki>[[User:Example]]</nowiki></code> or <code><nowiki>{{u|Example}}</nowiki></code>
|
[[User:Example]] or {{u|Example}}
|-
|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>
|
<syntaxhighlight lang="tid" inline><s>This topic isn't [[WP:N|notable]].</s></syntaxhighlight>
|
<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 comment(s) somewhere for editors; hidden comments are visible only in the 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]]
|-
|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 #a3b1bfAbby solid; text-align:center;" | '''Works only at the beginning of lines'''
|-<!--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>
|