Help:Formatting: Difference between revisions
(17 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. | ||
Line 186: | Line 246: | ||
Three of those apostrophes pushes the word to format as bold, while the other two makes it italicized. | 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>'''<ref>'''E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23-5.'''</ref>'''<br/></font> | |||
The Moon, however, is not so big.<font color=red>'''<ref>'''R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44-6.'''</ref>'''<br/></font> | |||
<br/> | |||
Notes | |||
<br/> | |||
<font color=red>'''<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 |
| |||||||||||||||
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--> |
||||||||||||||||
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]] | ||||||||||||||||
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 |} |
|
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
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
- ↑ 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.
- ↑ E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
- ↑ R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.