User:Sbylund: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
'''Smallcaps''' | '''Smallcaps''' | ||
{{smallcaps}} | {{ smallcaps }} | ||
'''Section headings''' | '''Section headings''' | ||
Line 23: | Line 23: | ||
'''Table of contents''' | '''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. | 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''' | '''Line breaks''' |
Revision as of 16: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.
Smallcaps Template:Smallcaps
Section headings
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.
Horizontal rule
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 Template:Plainlist and Template:Unbulleted list both create an unbulleted list.
Unnumbered Lists Use Asterisks.
- Item1
- Item2
- Item3
- Item4
- Sub-item 4 a)
Numbered Lists
- Item1
- Item2
- Item3
- Item4
- Sub-item
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
Center text Template:Center