Difference between revisions of "Help:Formatting"
m |
m |
||
| Line 7: | Line 7: | ||
You can format the page using Wikitext special characters. | You can format the page using Wikitext special characters. | ||
| − | {| | + | {| border="1" style="width: 832px; height: 3024px;" |
|- | |- | ||
| − | ! What it looks like | + | ! width="640px" | What it looks like on the wiki page |
| − | ! What you type | + | ! width="360px" | What you type |
|- | |- | ||
| | | | ||
| Line 40: | Line 40: | ||
But an empty line starts a new paragraph. | But an empty line starts a new paragraph. | ||
| − | When used in a list, a newline ''does'' affect the layout ( | + | When used in a list, a newline ''does'' affect the layout (<a href="#lists">see below</a>). |
| <pre>A single newline | | <pre>A single newline | ||
| Line 73: | Line 73: | ||
|- | |- | ||
| You should "sign" your comments on talk pages: <br> | | You should "sign" your comments on talk pages: <br> | ||
| − | *Three tildes gives your signature: | + | *Three tildes gives your signature: <a href="User:Example">Example</a> <br> |
| − | *Four tildes give your signature plus date/time: | + | *Four tildes give your signature plus date/time: <a href="User:Example">Example</a> 07:46, 27 November 2005 (UTC) <br> |
*Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br> | *Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br> | ||
| Line 85: | Line 85: | ||
- Five tildes gives the | - Five tildes gives the | ||
date/time alone: ~~~~~ | date/time alone: ~~~~~ | ||
| + | </pre> | ||
| + | |- | ||
| + | | | ||
| + | == Advanced Editing == | ||
| + | |||
| + | == Section headings == | ||
| + | |||
| + | ''Headings'' organize your writing into sections. The ''Wiki'' software can automatically generate a <a href="Help:Table of contents">table of contents</a> from them. <!-- don't use standard since it will move the edit block --> | ||
| + | |||
| + | === Subsection === | ||
| + | |||
| + | Using more "equals" (=) signs creates a subsection. | ||
| + | |||
| + | ==== A smaller subsection ==== | ||
| + | |||
| + | Don't skip levels, like from two to four equals signs. | ||
| + | |||
| + | Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. | ||
| + | |||
| + | | <pre>== Section headings == | ||
| + | |||
| + | ''Headings'' organize your writing into | ||
| + | sections. The ''Wiki'' software can automatically | ||
| + | generate a [[Help:table of contents|table of contents]] from them. | ||
| + | |||
| + | === Subsection === | ||
| + | Using more "equals" (=) signs creates a subsection. | ||
| + | |||
| + | ==== A smaller subsection ==== | ||
| + | |||
| + | Don't skip levels, like from two to four equals signs. | ||
| + | |||
| + | Start with 2 equals signs not 1 because 1 creates H1 | ||
| + | tags which should be reserved for page title. | ||
| + | </pre> | ||
| + | |- id="lists" | ||
| + | | | ||
| + | *''Unordered <a href="Help:List">lists</a>'' are easy to do: | ||
| + | **Start every line with a star. | ||
| + | ***More stars indicate a deeper level. | ||
| + | |||
| + | <br> | ||
| + | |||
| + | *:Previous item continues. </dd> | ||
| + | |||
| + | <br> | ||
| + | |||
| + | **A newline | ||
| + | *in a list | ||
| + | |||
| + | marks the end of the list. | ||
| + | |||
| + | *Of course you can start again. | ||
| + | |||
| + | | <pre>* ''Unordered lists'' are easy to do: | ||
| + | ** Start every line with a star. | ||
| + | *** More stars indicate a deeper level. | ||
| + | *: Previous item continues. | ||
| + | ** A newline | ||
| + | * in a list | ||
| + | marks the end of the list. | ||
| + | *Of course you can start again. | ||
| + | </pre> | ||
| + | |- | ||
| + | | | ||
| + | #''Numbered lists'' are: | ||
| + | ##Very organized | ||
| + | ##Easy to follow | ||
| + | |||
| + | A newline marks the end of the list. | ||
| + | |||
| + | #New numbering starts with 1. | ||
| + | |||
| + | | <pre># ''Numbered lists'' are: | ||
| + | ## Very organized | ||
| + | ## Easy to follow | ||
| + | A newline marks the end of the list. | ||
| + | # New numbering starts with 1. | ||
| + | </pre> | ||
| + | |- | ||
| + | | | ||
| + | Here's a ''definition list'': | ||
| + | |||
| + | <br> | ||
| + | |||
| + | ;Word </dt> | ||
| + | :Definition of the word </dd> | ||
| + | ;A longer phrase needing definition </dt> | ||
| + | :Phrase defined </dd> | ||
| + | ;A word </dt> | ||
| + | :Which has a definition </dd> | ||
| + | :Also a second definition </dd> | ||
| + | :And even a third </dd> | ||
| + | |||
| + | <br> | ||
| + | |||
| + | Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing. | ||
| + | |||
| + | | <pre>Here's a ''definition list'': | ||
| + | ; Word : Definition of the word | ||
| + | ; A longer phrase needing definition | ||
| + | : Phrase defined | ||
| + | ; A word : Which has a definition | ||
| + | : Also a second one | ||
| + | : And even a third | ||
| + | |||
| + | Begin with a semicolon. One item per line; | ||
| + | a newline can appear before the colon, but | ||
| + | using a space before the colon improves | ||
| + | parsing. | ||
| + | </pre> | ||
| + | |- | ||
| + | | | ||
| + | *You can even do mixed lists | ||
| + | *#and nest them | ||
| + | *#inside each other | ||
| + | *#*or break lines<br>in lists. | ||
| + | |||
| + | <br> | ||
| + | |||
| + | *#;definition lists </dt> | ||
| + | *#:can be | ||
| + | *#:;nested </dt> | ||
| + | *#::too </dd> </dd> | ||
| + | |||
| + | <br> | ||
| + | |||
| + | | <pre>* You can even do mixed lists | ||
| + | *# and nest them | ||
| + | *# inside each other | ||
| + | *#* or break lines<br>in lists. | ||
| + | *#; definition lists | ||
| + | *#: can be | ||
| + | *#:; nested : too | ||
| + | </pre> | ||
| + | |- | ||
| + | | | ||
| + | <br> | ||
| + | |||
| + | :A colon (:) indents a line or paragraph. </dd> | ||
| + | |||
| + | <br> | ||
| + | |||
| + | A newline starts a new paragraph. <br> Should only be used on <a _fcknotitle="true" href="Talk page">Talk page</a>s. <br> For articles, you probably want the blockquote tag. | ||
| + | |||
| + | <br> | ||
| + | |||
| + | :We use 1 colon to indent once. | ||
| + | ::We use 2 colons to indent twice. | ||
| + | :::3 colons to indent 3 times, and so on. </dd> </dd> </dd> | ||
| + | |||
| + | <br> | ||
| + | |||
| + | | <pre>: A colon (:) indents a line or paragraph. | ||
| + | A newline starts a new paragraph. | ||
| + | Should only be used on talk pages. | ||
| + | For articles, you probably want the blockquote tag. | ||
| + | : We use 1 colon to indent once. | ||
| + | :: We use 2 colons to indent twice. | ||
| + | ::: 3 colons to indent 3 times, and so on. | ||
| + | </pre> | ||
| + | |- | ||
| + | | | ||
| + | You can make <a href="W:horizontal dividing line">horizontal dividing lines</a> (----) to separate text. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | But you should usually use sections instead, so that they go in the table of contents. | ||
| + | |||
| + | | <pre>You can make [[w:horizontal dividing line|horizontal dividing line]]s | ||
| + | (----) to separate text. | ||
| + | ---- | ||
| + | But you should usually use sections instead, | ||
| + | so that they go in the table of contents. | ||
| + | </pre> | ||
| + | |- | ||
| + | | | ||
| + | You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source. | ||
| + | |||
| + | <br> | ||
| + | |||
| + | :There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref> </dd> | ||
| + | |||
| + | <br> | ||
| + | |||
| + | References: <references/> | ||
| + | |||
| + | <br> | ||
| + | |||
| + | | <pre>You can add footnotes to sentences using | ||
| + | the ''ref'' tag -- this is especially good | ||
| + | for citing a source. | ||
| + | |||
| + | :There are over six billion people in the | ||
| + | world.<ref>CIA World Factbook, 2006.</ref> | ||
| + | |||
| + | References: <references/> | ||
| + | |||
| + | |||
</pre> | </pre> | ||
|} | |} | ||
Revision as of 18:54, 17 September 2009
Contents
Text formatting markup
This table lists the various formatting options available using Wikitext:
Basic text formatting
You can format the page using Wikitext special characters.
| What it looks like on the wiki page | What you type |
|---|---|
|
You can italicize text by putting 2 apostrophes on each side. 3 apostrophes will embolden the text. 5 apostrophes will embolden and italicize the text. (Using 4 apostrophes doesn't do anything special -- |
You can ''italicize text'' by putting 2 apostrophes on '''each''' side. 3 apostrophes will '''embolden the text'''. 5 apostrophes will '''embolden''' and ''italicize'' '''''the text'''''. (Using 4 apostrophes doesn't do anything special -- <br /> the last pair are just ''''left over ones'''' that are included as part of the text.) |
|
A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the diff function (used internally to compare different versions of a page). But an empty line starts a new paragraph. When used in a list, a newline does affect the layout (<a href="#lists">see below</a>). |
A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the ''diff'' function (used internally to compare different versions of a page). But an empty line starts a new paragraph. When used in a list, a newline ''does'' affect the layout ([[#lists|see below]]). |
|
You can break lines Please do not start a link or italics or bold text on one line and end on the next. |
You can break lines<br/> without a new paragraph.<br/> Please use this sparingly. Please do not start a link or ''italics'' or '''bold''' text on one line and end on the next. |
You should "sign" your comments on talk pages:
|
You should "sign" your comments on talk pages: - Three tildes gives your signature: ~~~ - Four tildes give your signature plus date/time: ~~~~ - Five tildes gives the date/time alone: ~~~~~ |
Advanced EditingSection headingsHeadings organize your writing into sections. The Wiki software can automatically generate a <a href="Help:Table of contents">table of contents</a> from them. SubsectionUsing more "equals" (=) signs creates a subsection. A smaller subsectionDon't skip levels, like from two to four equals signs. Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. |
== Section headings == ''Headings'' organize your writing into sections. The ''Wiki'' software can automatically generate a [[Help:table of contents|table of contents]] from them. === Subsection === Using more "equals" (=) signs creates a subsection. ==== A smaller subsection ==== Don't skip levels, like from two to four equals signs. Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. |
marks the end of the list.
|
* ''Unordered lists'' are easy to do: ** Start every line with a star. *** More stars indicate a deeper level. *: Previous item continues. ** A newline * in a list marks the end of the list. *Of course you can start again. |
A newline marks the end of the list.
|
# ''Numbered lists'' are: ## Very organized ## Easy to follow A newline marks the end of the list. # New numbering starts with 1. |
|
Here's a definition list:
Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing. |
Here's a ''definition list'': ; Word : Definition of the word ; A longer phrase needing definition : Phrase defined ; A word : Which has a definition : Also a second one : And even a third Begin with a semicolon. One item per line; a newline can appear before the colon, but using a space before the colon improves parsing. |
|
* You can even do mixed lists *# and nest them *# inside each other *#* or break lines<br>in lists. *#; definition lists *#: can be *#:; nested : too |
|
A newline starts a new paragraph.
|
: A colon (:) indents a line or paragraph. A newline starts a new paragraph. Should only be used on talk pages. For articles, you probably want the blockquote tag. : We use 1 colon to indent once. :: We use 2 colons to indent twice. ::: 3 colons to indent 3 times, and so on. |
|
You can make <a href="W:horizontal dividing line">horizontal dividing lines</a> (----) to separate text. But you should usually use sections instead, so that they go in the table of contents. |
You can make [[w:horizontal dividing line|horizontal dividing line]]s (----) to separate text. ---- But you should usually use sections instead, so that they go in the table of contents. |
|
You can add footnotes to sentences using the ref tag -- this is especially good for citing a source.
References: <references/>
|
You can add footnotes to sentences using the ''ref'' tag -- this is especially good for citing a source. :There are over six billion people in the world.<ref>CIA World Factbook, 2006.</ref> References: <references/> |
Print
Subscribe by RSS
