Help:Cheatsheet: Difference between revisions
RandomUser34 (talk | contribs) No edit summary |
RandomUser34 (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
<!--COMMENT MARKUP. Displays:Edit mode only.--> | <!--COMMENT MARKUP. Displays:Edit mode only.--> | ||
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" | {|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 | |colspan="3" align="center" style="background:#cee0f2; text-align:center;" |{{shortcut|H:CS|H:CHEAT}} | ||
<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> | ||
|-<!--WORKS ANYWHERE IN THE TEXT--> | |-<!--WORKS ANYWHERE IN THE TEXT--> |
Revision as of 17:55, 30 November 2022
Note: For a complete list of wikitext codes, see Help:Wikitext.
| ||
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 |
|
|
"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.[citation needed] |
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 text somewhere for editors
consensus is how things are decided
|
|
|
Show an image
for uploading, see the intro to uploading images
|
|
|
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 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
TemplateStyles' src
attribute must not be empty.
Note: You can use the sandbox to experiment with page editing. |
- For a full list of editing commands, see Help:Wikitext
- For a guide to displaying mathematical equations and formulas, see Help:Displaying a formula
- For an overview of commonly used style guidelines, see Wikipedia:Simplified Manual of Style
- For advice on writing style and formatting in a bullet-point format, see Wikipedia:Styletips
- If you don't want to use wikitext markup, try A2wiki:VisualEditor instead
- To ask a question, see A2wiki:Questions to locate the appropriate venue(s)