Help:Cheatsheet: Difference between revisions

m
better redlink example, which is permanently protected against creation / used HTML headers in the visible example because MediaWiki won't add the [edit] link to them
(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...")
 
m (better redlink example, which is permanently protected against creation / used HTML headers in the visible example because MediaWiki won't add the [edit] link to them)
Line 47: Line 47:
| Red link
| Red link
  <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>
| <code><nowiki>[[Red link example]]</nowiki></code>
| <code><nowiki>[[Ash's Mudkip]]</nowiki></code>
| [[Red link example]]
| [[Ash's Mudkip]]
|-  
|-  
| colspan=3 style="border-top:1px solid #000;" |
| colspan=3 style="border-top:1px solid #000;" |
Line 191: Line 191:
<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''</div>
<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''</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 /><div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Do not use''&nbsp; =Level 1=&nbsp; ''as it is for page titles''</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 /><div style="background: #{{bulba color light}}; padding: 4px; margin: 3px; font-size:0.9em; {{roundy|8px}};">''Do not use''&nbsp; =Level 1=&nbsp; ''as it is for page titles''</div>
|  
| <!-- used the HTML heading syntax in the visible example because MediaWiki won't add the [edit] link to them (editing could cause bugs) -->
==Level 2==
<h2>Level 2</h2>
===Level 3===
<h3>Level 3</h3>
====Level 4====
<h4>Level 4</h4>
=====Level 5=====
<h5>Level 5</h5>
======Level 6======
<h6>Level 6</h6>
|-
|-
! colspan=3 style="border-top:1px solid #000;" |
! colspan=3 style="border-top:1px solid #000;" |
7,170

edits