Help:Cheatsheet: Difference between revisions
(Created page with "__NOTOC__ <div style="position: relative; box-sizing: border-box; background: #{{bulba color}}; max-width: 100%; overflow: hidden; border: 2px solid #{{bulba color dark}}; mar...") |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 16: | Line 16: | ||
|- | |- | ||
| Italics, bold, and both | | Italics, bold, and both | ||
| < | | <pre>''italics'', '''bold''', and '''''both'''''</pre> | ||
| ''italics'', '''bold''', and '''''both''''' | | ''italics'', '''bold''', and '''''both''''' | ||
|- | |- | ||
Line 22: | Line 22: | ||
|- | |- | ||
| Bigger and smaller text | | Bigger and smaller text | ||
| < | | <pre><big>Bigger text</big> and <small>smaller text</small></pre> | ||
| <big>Bigger text</big> and <small>smaller text</small> | | <big>Bigger text</big> and <small>smaller text</small> | ||
|- | |||
| colspan=3 style="border-top:1px solid #000;" | | |||
|- | |||
| Colored text | |||
| <pre><span style="color:#FFF">White text</span> | |||
<mark>Highlighted text</mark> | |||
<mark style="background:#FFA500;">Highlighted text</mark></pre> | |||
| <span style="color:#FFF">White text</span> <br /><mark>Highlighted text</mark> <br /><mark style="background:#FFA500;">Highlighted text</mark></pre> | |||
|- | |- | ||
| colspan=3 style="border-top:1px solid #000;" | | | colspan=3 style="border-top:1px solid #000;" | | ||
|- | |- | ||
| Link to another page | | Link to another page | ||
| < | | <pre>[[Pokémon Trainer]] | ||
[[Pokémon Trainer]]s</pre> | |||
| [[Pokémon Trainer]] <br />[[Pokémon Trainer]]s | | [[Pokémon Trainer]] <br />[[Pokémon Trainer]]s | ||
|- | |- | ||
Line 34: | Line 43: | ||
|- | |- | ||
| Change a link's text | | Change a link's text | ||
| < | | <pre>[[Pokémon Trainer|Trainer]]</pre> | ||
| [[Pokémon Trainer|Trainer]] | | [[Pokémon Trainer|Trainer]] | ||
|- | |- | ||
Line 40: | Line 49: | ||
|- | |- | ||
| Link to a section | | Link to a section | ||
| < | | <pre>[[Pokémon Crystal Version#Plot]] | ||
[[Pokémon Crystal Version#Plot|Pokémon Crystal's story]]</pre> | |||
| [[Pokémon Crystal Version#Plot]] <br />[[Pokémon Crystal Version#Plot|Pokémon Crystal's story]] | | [[Pokémon Crystal Version#Plot]] <br />[[Pokémon Crystal Version#Plot|Pokémon Crystal's story]] | ||
|- | |- | ||
| colspan=3 style="border-top:1px solid #000;" | | | colspan=3 style="border-top:1px solid #000;" | | ||
|- | |- | ||
| Red | | Red links | ||
<div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Links to pages that don't exist are automatically red. Red links in articles often help by showing desired redirects or notable pages.''</div> | <div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Links to pages that don't exist are automatically red. Red links in articles often help by showing desired redirects or notable pages.''</div> | ||
| < | | <pre>[[Ash's Mudkip]]</pre> | ||
| | | {{red link|Ash's Mudkip}} | ||
|- | |- | ||
| colspan=3 style="border-top:1px solid #000;" | | | colspan=3 style="border-top:1px solid #000;" | | ||
|- | |- | ||
| Plain website | | Plain website | ||
| < | | <pre>https://www.bulbagarden.net/</pre> | ||
| https://www.bulbagarden.net/ | | https://www.bulbagarden.net/ | ||
|- | |- | ||
Line 59: | Line 69: | ||
|- | |- | ||
| Link to a website | | Link to a website | ||
| < | | <pre>[https://www.bulbagarden.net/]</pre> | ||
| [https://www.bulbagarden.net/] | | [https://www.bulbagarden.net/] | ||
|- | |- | ||
Line 65: | Line 75: | ||
|- | |- | ||
| Named link to a website | | Named link to a website | ||
| < | | <pre>[https://www.bulbagarden.net/ Bulbagarden]</pre> | ||
| [https://www.bulbagarden.net/ Bulbagarden] | | [https://www.bulbagarden.net/ Bulbagarden] | ||
|- | |- | ||
Line 86: | Line 96: | ||
|- | |- | ||
| Citation needed | | Citation needed | ||
| < | | <pre>This statement is true.{{fact}}</pre> | ||
| This statement is true.<sup>[''citation needed'']</sup> | | This statement is true.<sup>[''citation needed'']</sup> | ||
|- | |- | ||
Line 92: | Line 102: | ||
|- | |- | ||
| Signature | | Signature | ||
<div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Sign your contributions when posting on a talk page. | <div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Sign your contributions when posting on a talk page. Do not sign in an article, only on talk pages.''</div> | ||
| <pre>~~~~</pre> | |||
| [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | | [[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC) | ||
|- | |- | ||
Line 100: | Line 109: | ||
|- | |- | ||
| Hide text somewhere for editors | | Hide text somewhere for editors | ||
| < | | <pre><!--A note for others editing the page--></pre> | ||
| <!--A note for others editing the page--> | | <!--A note for others editing the page--> | ||
|- | |- | ||
Line 106: | Line 115: | ||
|- | |- | ||
| Add an image | | Add an image | ||
| < | | <pre>[[File:Bulbapedia logo.png|thumb|Caption]]</pre> | ||
| [[File:Bulbapedia logo.png|thumb|Caption]] | | [[File:Bulbapedia logo.png|thumb|Caption]] | ||
|- | |- | ||
Line 112: | Line 121: | ||
|- | |- | ||
| Add a page to a category | | Add a page to a category | ||
<div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Placed near the bottom of the page.''</div> | |||
<div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">'' | | <pre>[[Category:Category name]]</pre> | ||
| <div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Shows'' "Category name" ''in a bar at bottom when the page is previewed or published''</div> | | <div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Shows'' "Category name" ''in a bar at bottom when the page is previewed or published.''</div> | ||
|- | |- | ||
| colspan=3 style="border-top:1px solid #000;" | | | colspan=3 style="border-top:1px solid #000;" | | ||
|- | |- | ||
| Link to a category or file | | Link to a category or file | ||
| < | | <pre>[[:Category:Category name]] | ||
| [[:Category:Bulbapedia]] <br /> | {{file|File name}}</pre> | ||
| [[:Category:Bulbapedia]] <br />{{file|Bulbapedia logo.png}} | |||
|- | |- | ||
| colspan=3 style="border-top:1px solid #000;" | | | colspan=3 style="border-top:1px solid #000;" | | ||
Line 176: | Line 186: | ||
|- | |- | ||
| Redirect to another page | | Redirect to another page | ||
<div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Redirects must be placed at the start of the first line''</div> | <div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Redirects must be placed at the start of the first line.''</div> | ||
| < | | <pre>#REDIRECT [[Target page]]</pre> | ||
| [[File:Redirect.png|30px|link=]] [[Target page]] | | [[File:Redirect.png|30px|link=]] [[Target page]] | ||
|- | |- | ||
Line 183: | Line 193: | ||
|- | |- | ||
| Redirect to a section of another page | | Redirect to a section of another page | ||
| < | | <pre>#REDIRECT [[Target page#anchorName]]</pre> | ||
| [[File:Redirect.png|30px|link=]] [[Target page#anchorName]] | | [[File:Redirect.png|30px|link=]] [[Target page#anchorName]] | ||
|- | |- | ||
Line 189: | Line 199: | ||
|- | |- | ||
| Section headings | | Section headings | ||
<div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''A | <div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''A table of contents will automatically be generated when four headings are added to an article. Do not use'' =Level 1= ''as it is for page titles.''</div> | ||
| <pre>==Level 2== | |||
| | |||
==Level 2== | |||
===Level 3=== | ===Level 3=== | ||
====Level 4==== | ====Level 4==== | ||
=====Level 5===== | =====Level 5===== | ||
======Level 6====== | ======Level 6======</pre> | ||
| <!-- used the HTML heading syntax in the visible example because MediaWiki won't add the [edit] link to them (editing could cause bugs) --> | |||
<h2>Level 2</h2> | |||
<h3>Level 3</h3> | |||
<h4>Level 4</h4> | |||
<h5>Level 5</h5> | |||
<h6>Level 6</h6> | |||
|- | |- | ||
! colspan=3 style="border-top:1px solid #000;" | | ! colspan=3 style="border-top:1px solid #000;" | | ||
|- | |- | ||
| Bulleted list | | Bulleted list | ||
| < | | <pre>* One | ||
* Two | |||
** Two point one | |||
* Three</pre> | |||
| | | | ||
* One | * One | ||
Line 211: | Line 228: | ||
|- | |- | ||
| Numbered list | | Numbered list | ||
| < | | <pre># One | ||
# Two | |||
## Two point one | |||
# Three</pre> | |||
| | | | ||
# One | # One | ||
Line 222: | Line 242: | ||
| Indenting text | | Indenting text | ||
<div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''This is used when replying on a talk page, to make it easier to follow conversations.''</div> | <div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''This is used when replying on a talk page, to make it easier to follow conversations.''</div> | ||
| < | | <pre>no indent (normal) | ||
:first indent | |||
::second indent | |||
:::third indent | |||
::::fourth indent</pre> | |||
| no indent (normal) | | no indent (normal) | ||
:first indent | :first indent | ||
Line 233: | Line 257: | ||
==See also== | ==See also== | ||
{{shortcut|1|H:CHEAT}} | {{shortcut|1|H:CHEAT}} | ||
* [[Help: | * [[Help:Wikicode]] | ||
{{HelpNav}} | |||
[[Category:Help]] | [[Category:Help]] |
Latest revision as of 20:41, 4 November 2023
See also
Shortcut H:CHEAT |
Navigation | Navigation • Search • Tracking changes • Logging in • Watchlist |
---|---|
Editing | Editing pages • VisualEditor • Wikicode (Images • Tables) • Talk pages • Categories • Subpages • Cheatsheet |
Advanced | Starting a new page • Moving (renaming) a page • Merging pages • Splitting pages • Deleting pages • References • Special pages |
Templates | Using templates (Link templates • Color templates) • Creating templates (Parser functions • TemplateData) • Lua (Crash course) |
Customization | Preferences • Skins • Custom CSS • User page • Signatures |
Archives | FAQ • Uploading images • Tagging images • Manual of style |
Introduction • FAQ • Editor's Hub |