Help:Formatting: Difference between revisions
Line 167: | Line 167: | ||
This section lists down on how to use formatting set up as defined by wiki mark-up. Tables on the left shows wiki mark-up, and tables on the right shows what will it look like. Don't mind the boxes formed on the right tables, they were included for the ease of access. Don't mind the colors too, they are formatted the other way. They are included for the easiness and distinguishing where is the subject. | This section lists down on how to use formatting set up as defined by wiki mark-up. Tables on the left shows wiki mark-up, and tables on the right shows what will it look like. Don't mind the boxes formed on the right tables, they were included for the ease of access. Don't mind the colors too, they are formatted the other way. They are included for the easiness and distinguishing where is the subject. | ||
===Bold and italics=== | ===Bold and italics=== | ||
[[Image:Bold icon.png|thumb|right|Bold icon.]] | |||
[[Image:Italic icon.png|thumb|right|Italic icon.]] | |||
Notice the use of apostrophes on the table. If you will insert <u>two pair</u> of apostrophes on each side of a word or phrase, it will format the word or phrase in ''italic''. However, if you insert three apostrophes on each side of the word or phrase, it will format it in ''bold''. | Notice the use of apostrophes on the table. If you will insert <u>two pair</u> of apostrophes on each side of a word or phrase, it will format the word or phrase in ''italic''. However, if you insert three apostrophes on each side of the word or phrase, it will format it in ''bold''. | ||
<!-- Lorem ipsum dolor sit amet, consectetur adipisicing elit. --> | <!-- Lorem ipsum dolor sit amet, consectetur adipisicing elit. --> |
Revision as of 15:12, 21 October 2009
Text formatting markup
Description | You type | You get |
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 [1] |
=level 1=[2] |
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
text text text text text text text text text text text text |
Comment |
<!--This is comment--> |
Usage
This section lists down on how to use formatting set up as defined by wiki mark-up. Tables on the left shows wiki mark-up, and tables on the right shows what will it look like. Don't mind the boxes formed on the right tables, they were included for the ease of access. Don't mind the colors too, they are formatted the other way. They are included for the easiness and distinguishing where is the subject.
Bold and italics
Notice the use of apostrophes on the table. If you will insert two pair of apostrophes on each side of a word or phrase, it will format the word or phrase in italic. However, if you insert three apostrophes on each side of the word or phrase, it will format it in bold.
- Using italics
''Lorem ipsum'' dolor sit amet, consectetur adipisicing elit.
- Product:
- Lorem ipsum dolor sit amet, consectetur adipisicing elit.
- Using bold
'''Lorem ipsum''' dolor sit amet, consectetur adipisicing elit.
- Product:
- Lorem ipsum dolor sit amet, consectetur adipisicing elit.
However, if you want to bolden and italicize a word or phrase, you have to insert five apostrophes on each side of the word of phrase.
'''''Lorem ipsum dolor''''' sit amet, consectetur adipisicing elit.
- Product:
- Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Three of those apostrophes pushes the word to format as bold, while the other two makes it italicized.
- ↑ An article with four or more headings will automatically create a table of contents.
- ↑ Use of a level 1 heading is highly discouraged as it appears with the same formatting and size as the page title, which can be confusing.