Help:Formatting: Difference between revisions

From Iskomunidad
Jmtirao (talk | contribs)
Mabriola (talk | contribs)
 
(21 intermediate revisions by 3 users not shown)
Line 163: Line 163:
<tt><nowiki><!--This is comment--></nowiki></tt>
<tt><nowiki><!--This is comment--></nowiki></tt>
|
|
<!--This is comment-->|}
<!--This is comment-->
|-
|Font color
|<nowiki><font color="green"> Font color </font></nowiki>
|<font color="green"> Font color </font>
|-
|Background color
|<nowiki>bgcolor="pink"| background color is pink</nowiki>
|bgcolor="pink"| background color is pink
|-
|Text Align
|<nowiki>style="text-align:center;"| center</nowiki>
|style="text-align:center;"| center<br>
|-
|Image Size
|<nowiki>[[Image:6159244046 63c8a20969 b.jpg ‎| 75px | left | UP Pep Sqaud]]</nowiki>
|[[Image:6159244046 63c8a20969 b.jpg‎| 75px| left| UP Pep Sqaud]]
|-
|Row & Column Span
|<nowiki>
{| border="1" cellpadding="5" cellspacing="0"
|-
| Column 1 || Column 2 || Column 3
|-
| rowspan="2" | A
| colspan="2" style="text-align: center;" | B
|-
| C <!-- column 1 occupied by cell A -->
| D
|-
| E
| rowspan="2" colspan="2" style="text-align: center;" | F
|-
| G <!-- column 2+3 occupied by cell F -->
|-
| colspan="3" style="text-align: center;" | H
|}
</nowiki>
|
{|border="1" cellpadding="5" cellspacing="0"
|-
| Column 1 || Column 2 || Column 3
|-
| rowspan="2" | A
| colspan="2" style="text-align: center;" | B
|-
| C <!-- column 1 occupied by cell A -->
| D
|-
| E
| rowspan="2" colspan="2" style="text-align: center;" | F
|-
| G <!-- column 2+3 occupied by cell F -->
|-
| colspan="3" style="text-align: center;" | H
|}
 
|}
 
===[http://www.computerhope.com/htmcolor.htm HTML color codes and names]===
 
==Usage==
==Usage==
This section lists down on how to use formatting set up as defined by wiki mark-up.
This section lists down on how to use formatting set up as defined by wiki mark-up.
===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''.
<!-- Lorem ipsum dolor sit amet, consectetur adipisicing elit.  -->
<!-- <span class="example" style="font-family: Georgia, serif; color: red;"></span> -->
* Using italics
<nowiki>''</nowiki>Lorem ipsum<nowiki>''</nowiki> dolor sit amet, consectetur adipisicing elit.
:Product:
:''Lorem ipsum'' dolor sit amet, consectetur adipisicing elit.
* Using bold
<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.
===Linking===
Linking can be of two types: internal linking and external linking. Internal inking refers to pointing to the pages that are either existing or non-existing on Iskwiki, but related to Iskwiki's main points. External linking, however, is pointing to websites other than Iskwiki.
=Citations=
<blockquote>
<tt>
According to scientists, the Sun is pretty big.<font color=red>'''&lt;ref>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''&lt;/ref>'''<br/></font>
The Moon, however, is not so big.<font color=red>'''&lt;ref>'''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.'''&lt;/ref>'''<br/></font>
<br/>
Notes
<br/>
<font color=red>'''&lt;references/></font>
</tt>
</blockquote>
'''Output'''
According to scientists, the Sun is pretty big.<ref>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.</ref><br/>
The Moon, however, is not so big.<ref>'''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.</ref><br/>
==Notes==
<references/>
[[Category:Help Pages]]
[[Category:Help Pages]]

Latest revision as of 18:07, 17 July 2012

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

Font color <font color="green"> Font color </font> Font color
Background color bgcolor="pink"| background color is pink background color is pink
Text Align style="text-align:center;"| center center
Image Size [[Image:6159244046 63c8a20969 b.jpg ‎| 75px | left | UP Pep Sqaud]]
UP Pep Sqaud
UP Pep Sqaud
Row & Column Span {| border="1" cellpadding="5" cellspacing="0" |- | Column 1 || Column 2 || Column 3 |- | rowspan="2" | A | colspan="2" style="text-align: center;" | B |- | C <!-- column 1 occupied by cell A --> | D |- | E | rowspan="2" colspan="2" style="text-align: center;" | F |- | G <!-- column 2+3 occupied by cell F --> |- | colspan="3" style="text-align: center;" | H |}
Column 1 Column 2 Column 3
A B
C D
E F
G
H

HTML color codes and names

Usage

This section lists down on how to use formatting set up as defined by wiki mark-up.

Bold and italics

Bold icon.
Italic icon.

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.

Linking

Linking can be of two types: internal linking and external linking. Internal inking refers to pointing to the pages that are either existing or non-existing on Iskwiki, but related to Iskwiki's main points. External linking, however, is pointing to websites other than Iskwiki.

Citations

According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref>
The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref>

Notes
<references/>

Output


According to scientists, the Sun is pretty big.[3]
The Moon, however, is not so big.[4]

Notes

  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.
  3. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  4. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.