User:Sbylund: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
'''Italics''' | '''Italics''' | ||
Two | Two consecutive apostrophes will ''italicize'' text. | ||
'''Bold''' | '''Bold''' | ||
Three | Three consecutive apostrophes will '''bold''' text. | ||
'''Italics and Bold''' | '''Italics and Bold''' |
Revision as of 17:30, 27 February 2015
Sarah Bylund
Italics
Two consecutive apostrophes will italicize text.
Bold
Three consecutive apostrophes will bold text.
Italics and Bold
Five consecutive apostrophes.
Indent text
Colons are used to indent the text.
- Each colon at the start of a line
- causes the line to be indented by three more character positions.
Blockquote
<> and </> around blockquote
Center text
Two {{ }} around center or <> and </> around center
Smallcaps
Two {{ }} surrounding smallcap or <> and </> around smallcap
Section headings
Use the equal sign on both sides. The = through ====== markup are headings for the sections with which they are associated.
A single = is styled as the article title and should not be used within an article.
Table of contents
When a page has at least four headings, a table of contents (TOC) will automatically appear after the lead and before the first heading. __ FORCETOC__ forces the TOC to appear at the normal location regardless of the number of headings. __ TOC__ forces the TOC to appear at the point where the magic word is inserted instead of the normal location. __ NOTOC__ disables the TOC entirely.
Line breaks
A line break that is visible in the content is inserted by pressing Return twice. Pressing Return once will place a line break in the markup, but it will not show in the rendered content, except when using list markup. Markup such as bold or italics will be terminated at a line break.
Unbulleted list
Two {{ }} around plainlist or unbulleted list both create an unbulleted list.
Unnumbered Lists
Use Asterisks.
- Item1
- Item2
- Item3
- Item4
- Sub-item 4 a)
Numbered Lists
Use the pound sign
- Item1
- Item2
- Item3
- Item4
- Sub-item
Code
Use <> and </> around code
Hyperlinks
Use two [[ ]] around the link
Renamed link
The target ("piped") text must be placed first, then the text to be displayed second. So [[ ]] original name|new name
Link to a Wikipedia article
[[ ]] around Wikipedia:Name of article. For a subsection within the article Wikipedia:Name of article#Subsection