Help:Cheatsheet: Difference between revisions
More actions
Created page with "<noinclude>{{short description|Brief guide to Wikipedia formatting codes}} <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%; bor..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<div align="center"> | <div align="center"> | ||
{{Help pages header}}</div></noinclude> | {{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 | {{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}} | ||
<!--COMMENT MARKUP. Displays in only source editing mode.--> | <!--COMMENT MARKUP. Displays in only source editing mode.--> | ||
{|align="center" class="notheme" style="width: | {|align="center" class="notheme" style="width:80%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | ||
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" | | |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> | <h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;"><br>Wikitext cheatsheet</h2> | ||
Line 172: | Line 172: | ||
|- | |- | ||
|Add a page to a [[Wikipedia:FAQ/Categories|category]]{{Anchor|Add a page to a category}} | |Add a page to a [[Wikipedia:FAQ/Categories|category]]{{Anchor|Add a page to a category}} | ||
|<code><nowiki> | |<code><nowiki></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> | |<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> | ||
|- | |- | ||
Line 286: | Line 286: | ||
* If you don't want to use wikitext markup, try [[Wikipedia:VisualEditor]] instead | * 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) | * '''To ask a question''', see [[Wikipedia:Questions]] to locate the appropriate venue(s) | ||
---- <div style="font-size:smaller"> | ---- <div style="font-size:smaller"></div> | ||
{{Wikipedia editor navigation|state=collapsed}} | {{Wikipedia editor navigation|state=collapsed}} | ||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ | ||
[[Category:Wikipedia basic information| | |||
</noinclude> | |||
[[Category:Pages with broken file links]] | |||
[[Category:Pages with script errors]] | |||
[[Category:Pages with short description]] | |||
[[Category:Wikipedia basic information|Cheatsheet]] | |||
[[Category:Wikipedia editor snippet collections]] | |||
[[Category:Wikipedia quick introductions]] | |||
[[Category:Wikipedia text help]] | [[Category:Wikipedia text help]] | ||
Latest revision as of 03:58, 1 June 2025
For a complete list of wikitext codes, see Help:Wikitext. For information on special words, see Help:Magic words. |
| ||
Works anywhere in the text | ||
Description | You type | You get |
Italics, bold, and both |
|
italics, bold, and both |
Link to another page
see Help:Interwikimedia links for linking to sister projects
|
|
|
"Pipe" a link to change the link's text |
|
|
Link to a section |
|
|
Red link |
|
|
Plain website |
|
|
Link a website |
|
|
Link and name a website |
|
|
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<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}} |
References:
|
Template:Citation needed
one of many cleanup templates
|
|
This statement is true.Template:Cn |
Signature
sign your contributions when posting to a talk page
|
|
|
Ping a user on a talk page
so they will see your comment
|
|
|
Strike your talk page comment
to show your previous comment is outdated
|
|
|
Underline your text |
|
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
|
|
|
Add a page to a category |
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 to a section of another page |
|
|
Section headings a Table of Contents will automatically be generated when four headings are added to an article
|
|
Level 2Level 3Level 4Level 5Level 6 |
Bulleted list |
|
|
Numbered list |
|
|
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)
return to left margin
|
|
See also
Note: You can use the sandbox to experiment with page editing. |
- 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)