Help:Cheatsheet: Difference between revisions

Content deleted Content added
fix linter errors (misc tidy formatting error, div inside of span)
Djpmccann (talk | contribs)
Added another reason strikethrough is often used on talk pages.
 
(45 intermediate revisions by 37 users not shown)
Line 1:
<noinclude>{{pp-semi-indef}}{{pp-move-indefshort 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 Wikitextwikitext 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:Edit modein 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;" |{{shortcut|H:CS|H:CHEAT}}
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;"><br/>Wikitext Cheatsheetcheatsheet</h2>
|-<!--WORKS ANYWHERE IN THE TEXT-->
| colspan=3 style="background:#E6F2FF; border-top:2px #a3b1bf solid;text-align:center;" |
Line 17 ⟶ 18:
|Italics{{Anchor|Italic text}}, bold{{Anchor|Bold text}}, and both{{Anchor|bold and italic}}
|<!--2ND COLUMN-->
{{mono|<code><nowiki>''italics'', '''bold''', and '''''both'''''</nowiki>}}</code>
|<!--3RD COLUMN-->
''italics'', '''bold''', and '''''both'''''
|-<!--HORIZONTAL LINE-->
|colspan="3" style="border-top:1px solid #cee0f2;"|
Line 26 ⟶ 27:
<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
|-
Line 46 ⟶ 47:
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 />
[[Frog#Locomotion|locomotion in frogs]]<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;">''linksLinks 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>
Line 81 ⟶ 84:
|Link and name a website
|
<code><nowiki>[https://www.wikipedia.org/ Wikipedia]</nowiki></code>
|
[https://www.wikipedia.org/ Wikipedia]
Line 90 ⟶ 93:
<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>
|
<sourcesyntaxhighlight 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>
</source>
|
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>
Line 121 ⟶ 124:
|
[[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 or withdrawn''</div>
|
<code><nowikisyntaxhighlight lang="tid" inline><s>This topic isn't [[WP:N|notable]].</s></nowiki></codesyntaxhighlight>
|
<s>This topic isn't [[WP:N|notable]].</s>
Line 141 ⟶ 153:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|Hide textcomment(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;"|
Line 161 ⟶ 173:
|-
|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>
|-
Line 195 ⟶ 207:
|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;"|
Line 216 ⟶ 228:
|[[Help:List|Bulleted list]]{{Anchor|Bulleted list}}
|
<code>* One</code><br />
<code>* Two</code><br />
<code>** Two point one</code><br />
<code>* Three</code>
|
Line 230 ⟶ 242:
|[[Help:List|Numbered list]]{{Anchor|Numbered list}}
|
<code># One</code><br />
<code># Two</code><br />
<code>## Two point one</code><br />
<code># Three</code>
|
Line 243 ⟶ 255:
|-
|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 boxombox|image=none|small=y|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)
---- {{small<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]]
[[Category:Wikipedia editor snippet collections]]
{{PartofHelpContents}}
</noinclude>