Help:Formatting: Difference between revisions

m
→‎Wiki Formatting on Your Own: Add some verbiage about headers, correct error, minor rearrange
(→‎Wiki Formatting on Your Own: Add OEIS link formatting verbiage)
m (→‎Wiki Formatting on Your Own: Add some verbiage about headers, correct error, minor rearrange)
Line 21:
<nowiki>[[wp:wikipedia link]] or [[wp:wikipedia link|Display title]]</nowiki> to link to a wikipedia page with the name that follows "wp:"
 
<nowiki>[[oeis:AXXXXXX]] or [[oeis:AXXXXXX|Display title]]</nowiki> where AXXXXXX is the sequence index, to link to an OEIS sequence page. Leading zeros may be omitted. A1 is the same as A000001.
 
<nowiki>[[Image:Example.jpg]]</nowiki>
<nowiki>=Big headline=</nowiki> (has horizontal bar, not a button in the JavaScript editor)
 
<nowiki>==Small headline==[[Media:Example.ogg]]</nowiki> (has horizontal bar)
 
<nowiki>===Medium headline===</nowiki> (not a button in the JavaScript editor)
 
<nowiki>=Big headline=</nowiki> (has horizontal bar, not a button in the JavaScript editor) Rarely used.
<nowiki>[[Image:Example.jpg]]</nowiki>
 
<nowiki>==Medium headline==</nowiki> (has horizontal bar) Avoid on task pages. Will be indexed in with the language entries in the table of contents.
<nowiki>[[Media:Example.ogg]]</nowiki>
 
<nowiki>===MediumSmall headline===</nowiki> (not a button in the JavaScript editor) Typically for used sub-entries under a main task entry.
 
 
<nowiki>=={{header|Language name}}==</nowiki> Task entry header (where language name is spelled exactly the same as on the language category page)
 
<nowiki><lang c>C code example</lang></nowiki>
10,327

edits