Help:Wikitext Guide: Difference between revisions
(Creating first half of article (Basic character & paragraph formatting, headings, lists). Adding sections on Linking, Multimedia in next edit.) |
(→Lists) |
||
Line 78: | Line 78: | ||
==Lists== | ==Lists== | ||
Lists can use numbers, bullets, or indents. If a numbered list is interrupted, the next numbered item will start at 1. | Lists can use numbers, bullets, or indents. If a numbered list is interrupted, the next numbered item will start at 1. You can mix and match Wikitext to create bulleted lists within numbered lists, or in order to indent a bulleted or numbered list. (E.g. <nowiki>#*Bulleted list within a numbered list</nowiki>, <nowiki>::*Double indented bullet, etc.</nowiki>) | ||
{| style="width:100%" border="1" cellpadding="2" cellspacing="0" | {| style="width:100%" border="1" cellpadding="2" cellspacing="0" | ||
Line 125: | Line 125: | ||
::Second level indent | ::Second level indent | ||
|} | |} | ||
[[Category:Help]] | [[Category:Help]] |
Revision as of 01:25, 10 August 2007
Wikitext language (also known as Wiki markup) can be used to change the format and layout of text in Wiki articles.
This article contains examples and explanations of commonly used Wikitext language.
Basic Character and Paragraph Formatting
Basic formatting helps readers easily see warnings, code, and other important information.
Name | Wikitext | Example |
---|---|---|
Italic | ''Italic'' | Italic |
Bold | '''Bold''' | Bold |
Code | Use a single space before a line of code |
Code |
New paragraph | Use a single blank line before the start of a new paragraph |
Use a single blank line before the start of a new paragraph |
Headings
Markup for headings should be used within your article in order to break-up and organize sections of information. Because the title of the page is already displayed in Heading 1 markup at the top of the page, any headings you include should begin with Heading 2 markup.
Name | Wikitext | Example |
---|---|---|
Heading 1 | =Heading 1= | Heading 1
|
Heading 2 | ==Heading 2== | Heading 2
|
Heading 3 | ===Heading 3=== | Heading 3
|
Heading 4 | ====Heading 4==== | Heading 4
|
Table of Contents
Using four headings or more within an article will automatically generate a Table of Contents (TOC). This TOC will appear above the first heading in the document.
To place this TOC at a specific point in the document, use this markup at the insertion point:
__TOC__
To eliminate a TOC from your article, use the following markup:
__NOTOC__
Linking to Sections
You can also link directly to a section that has a heading using the following markup:
[[Article Name#Heading Name]]
For example, to link to the Sections and Headings section of the Wikitext article:
[[Wikitext#Sections and Headings]]
Lists
Lists can use numbers, bullets, or indents. If a numbered list is interrupted, the next numbered item will start at 1. You can mix and match Wikitext to create bulleted lists within numbered lists, or in order to indent a bulleted or numbered list. (E.g. #*Bulleted list within a numbered list, ::*Double indented bullet, etc.)
Name | Wikitext | Example |
---|---|---|
Numbered list | #List item |
|
Numbered list, second level | ##Second level list item |
|
Numbered list, third level | ###Third level list item |
|
Bullet | *Bullet item |
|
Bullet, second level | **Second level bullet item |
|
Bullet, third level | ***Third level bullet item |
|
Indent | :Indented text |
|
Indent, second level | ::Second level indent |
|