Difference between revisions of "Help:Formatting"

(Usage)
(Bold and italics)
Line 168: Line 168:
 
===Bold and italics===
 
===Bold and italics===
 
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.  -->
|-----
+
<!-- <span class="example" style="font-family: Georgia, serif; color: red;"></span> -->
| valign="top" |
+
* Using italics
<span class="example" style="font-family: Georgia, serif; color: red;"><nowiki>''</nowiki></span>Lorem ipsum<span class="example" style="font-family: Georgia, serif; color: red;"><nowiki>''</nowiki></span><span> <nowiki>dolor sit amet,</nowiki><br><span class="example" style="font-family: Georgia, serif; color: red;"><nowiki>''</nowiki></span>consectetur adipisicing elit<span class="example" style="font-family: Georgia, serif; color: red;"><nowiki>''</nowiki></span>,<br><nowiki>sed do eiusmod tempor incididunt</nowiki><br><nowiki>ut labore et dolore magna aliqua</nowiki>.<br><nowiki>Ut enim ad minim veniam,</nowiki><br><nowiki>quis nostrud exercitation ullamco laboris</nowiki><br><nowiki>nisi ut aliquip ex ea commodo consequat.</nowiki> <br><span class="example" style="font-family: Georgia, serif; color: red;"><nowiki>'''</nowiki></span>Duis aute irure dolor in<span class="example" style="font-family: Georgia, serif; color: red;"><nowiki>'''</nowiki></span><span><br><nowiki>reprehenderit in voluptate velit</nowiki> <br><nowiki>esse cillum dolore eu fugiat nulla</nowiki><br><nowiki>pariatur.</nowiki> <span class="example" style="font-family: Georgia, serif; color: red;"><nowiki>'''</nowiki></span>Excepteur sint occaecat<span class="example" style="font-family: Georgia, serif; color: red;"><nowiki>'''</nowiki></span><span><br><nowiki>cupidatat non proident, sunt in</nowiki><br><nowiki>culpa qui officia deserunt</nowiki><br><nowiki>mollit anim id est</nowiki><br><nowiki>laborum.</nowiki>
+
<nowiki>''</nowiki>Lorem ipsum<nowiki>''</nowiki> dolor sit amet, consectetur adipisicing elit.
| valign="top" |
+
:Product:
{| border="1" cellpadding="5" cellspacing="0"
+
:''Lorem ipsum'' dolor sit amet, consectetur adipisicing elit.
|-
+
* Using bold
| ''Lorem ipsum'' dolor sit amet, ''consectetur adipisicing elit'', sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. '''Duis aute irure dolor in''' reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. '''Excepteur sint occaecat''' cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
<nowiki>'''Lorem ipsum'''</nowiki> 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.
 +
<nowiki>'''''</nowiki>Lorem ipsum dolor<nowiki>'''''</nowiki> 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.
 +
 
 
[[Category:Help Pages]]
 
[[Category:Help Pages]]

Revision as of 23:55, 20 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
::Double indent
:::::Multiple indent

Single indent
Double indent
Multiple indent
Headings of

different levels [1]

=level 1=[2]
==level 2==
===level 3===
====level 4====
=====level 5=====
======level 6======

Level 1

Level 2

Level 3
Level 4
Level 5
Level 6

Horizontal rule

----


Bullet list

* one
* two
* three
** three point one
** three point two

  • one
  • two
  • three
    • three point one
    • three point two
Numbered list

# one
# two<br />spanning several lines<br />without breaking the numbering
#: you can also use #:
#: which might feel more intuitive
#: because you get to edit on multiple lines
# three
## three point one
## three point two

  1. one
  2. two
    spanning several lines
    without breaking the numbering
    you can also use #:
    which might feel more intuitive
    because you get to edit on multiple lines
  3. three
    1. three point one
    2. three point two
Mixture of bulleted
and numbered lists

# one
# two
#* two point one
#* two point two

  1. one
  2. two
    • two point one
    • two point two
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Preformatted text

  preformatted text is done with
  a space at the
  beginning of the line

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
text text text text text text text text text text text text text text text text text text text text text text text text

<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 text text text text text text text text text text text text

quote quote quote quote quote quote

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.

  1. An article with four or more headings will automatically create a table of contents.
  2. 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.