Difference between revisions of "Help:Formatting"
(→Text formatting markup) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <tt><nowiki>''this''</nowiki></tt> | + | <!--ATTENTION - BEFORE YOU EDIT: This page is part of the CPAPtalk.com CPAP Wiki Help section. Unless you are making a minor correction, please discuss your changes on the associated talk page and make sure there is a consensus about your proposed changes.--> |
+ | You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in ''italic'', you include it in two single quotes like <tt><nowiki>''this''</nowiki></tt>. | ||
== Text formatting markup == | == Text formatting markup == | ||
Line 49: | Line 50: | ||
<small>(An article with four or more headings will automatically create a [http://en.wikipedia.org/wiki/Wikipedia:Section#Table_of_contents_.28TOC.29 table of contents].)</small> | <small>(An article with four or more headings will automatically create a [http://en.wikipedia.org/wiki/Wikipedia:Section#Table_of_contents_.28TOC.29 table of contents].)</small> | ||
| | | | ||
− | <small>(Use of a level 1 heading is '''''highly discouraged''''' as it appears with the same | + | <small>(Use of a level 1 heading is '''''highly discouraged''''' as it appears with the same style and size as the page title.)</small><br /><br> |
<tt><nowiki>=level 1=</nowiki></tt><br /> | <tt><nowiki>=level 1=</nowiki></tt><br /> | ||
<tt><nowiki>==level 2==</nowiki></tt><br /> | <tt><nowiki>==level 2==</nowiki></tt><br /> | ||
Line 164: | Line 165: | ||
| | | | ||
<!--This is comment-->|} | <!--This is comment-->|} | ||
− | |||
− | |||
− | |||
== Paragraphs == | == Paragraphs == | ||
Line 181: | Line 179: | ||
*[[Help:Images|Images]] | *[[Help:Images|Images]] | ||
*[[Help:Tables|Tables]] | *[[Help:Tables|Tables]] | ||
− | |||
== See also == | == See also == | ||
[[CpapWiki:Manual of Style]] | [[CpapWiki:Manual of Style]] | ||
− | |||
[[Category:Help|Formatting]] | [[Category:Help|Formatting]] |
Latest revision as of 16:40, 22 October 2008
You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this''.
Text formatting markup
Description | You type | You get |
applies anywhere | ||
Italic text | ''italic'' | italic |
Bold text | '''bold''' | bold |
Bold and italic | '''''bold & italic''''' | bold & italic |
Escape wiki markup | <nowiki>no "markup"</nowiki> | no ''markup'' |
Fixed width text |
<tt>Fixed width text</tt> |
Fixed width text |
only at the beginning of the line | ||
Indent text |
:Single indent |
|
Headings of different levels |
(Use of a level 1 heading is highly discouraged as it appears with the same style and size as the page title.) |
Level 1 |
Horizontal rule |
---- |
|
Bullet list |
* one |
|
Numbered list |
# one |
|
Mixture of bulleted and numbered lists |
# one |
|
Definition list |
;Definition |
|
Preformatted text |
preformatted text is done with |
preformatted text is done with a space at the beginning of the line |
Preformatted text with no indentation |
<pre> some preformatted text with no indentation </pre> |
some preformatted text with no indentation |
Blockquotes |
Body <blockquote> quote quote quote quote quote quote </blockquote> text text text text text text text text text text text text |
Body quote quote quote quote quote quote text text text text text text text text text text text text |
Comment |
<!--This is comment--> |
Paragraphs
The CPAPtalk CPAP Wiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tags <br> or <br/>.
HTML
Some HTML tags are allowed in the CPAPtalk CPAP Wiki, for example <code>, <div>, <span> and <font>.
Other formatting
Beyond the text formatting markup shown above, here are some other formatting references: