Wiki Way of Writing Contents

From Tutorial
Jump to: navigation, search

Contents

Tutorial.net.in Help (continued)

Here are some of the most frequently used Wiki tags and their HTML equivalents.

Headings
# HTML Syntax Wiki equivalent
1. <H1>Heading1</H1> =Heading 1=
2. <H2>Heading2</H2> ==Heading 2==
3. <H3>Heading3</H3> ===Heading 3===
4. <H4>Heading4</H4> ====Heading 4====

List, Nested Lists, Mixed Nested Lists

==Wikitext ordered list==
# first list item
# second list item

==HTML ordered list==
<ol>
  <li> first list item</li>
  <li> second list item</li>
</ol>

==Wikitext unordered list==
* first list item
* second list item

==HTML unordered list==
<ul>
  <li> first list item</li>
  <li> second list item</li>
</ul>

==Nested lists==
# first list item
## first sub item
## second sub item
# second list item

<ol>
  <li> first list item
    <ol>
      <li> first sub item</li>
      <li> second sub item</li>
    </ol>
  </li>
  <li> second list item</li>
</ol>

===Mixed nested list Wiki syntax==
# first list item
#* first sub item
#**first sub sub item
#* second sub item
# second list item
## first numbered sub item

Using Tables

To create a table in tutorial.net.in you can either directly use HTML syntax or a Wiki syntax. Under wiki, to create a table we need to use curly braces and vertical lines like this

{| (Table open - equivalent to <TABLE>)
|} (Table close - equivalent to </TABLE>). 
Both table open and table close must reside in a separate line

|- (Row open - equivalent to <TR> - there is no row close equivalent to </TR>)
|data  (Column open followed by data. Equivalent to <TD> there is no column close equivalent to </TD>)

Creating Links

This is my [[Link]]. Links are represented between [[ & ]]
This is my [[Link My Title for Link]]. A link with a different anchor text for the link.

Creating a Category

[[Category:World Wide Web]] - When you put this in your tutorial, a small box is displayed at the bottom of 
your page displaying the word 'Category' and a link to 'World Wide Web'.  You can connect your tutorial to 
multiple categories.
Personal tools