Home » Wiki » wiki tutorial » Historie » Version
Revision of the wiki page wiki tutorial
This is an old revision of this page, as edited by lammi87 am 14:39, 22 July 2012. It may differ significantly from the Aktuelle Version.
wiki tutorial

This wiki tutorial describes the wiki formatting used on h-node, in order to learn the wiki tags just practice editing pages and watch the code:

NOTE: This page is under construction
  • Headers
  • header 1
    [h1]header 1[/h1]

    header 1 is similar to the HTML <h1>, just replace < with [

    header 2
    [h2]header 2[/h2]

    header 2 is similar to the HTML <h2>, just replace < with [

    header 3
    [h3]header 3[/h3]

    header 3 is similar to the HTML <h3>, just replace < with [

  • Text formatting
  • This is a paragraph.

    [p]This is a paragraph.[/p]

    It is similar to the HTML <p>, just replace < with [

    This text has been written in bold.

    [b]This text has been written in bold.[/b]
    It is similar to the HTML <b>, just replace < with [

    This text has been written in italic.

    [i]This text has been written in italic.[/i]
    It is similar to the HTML <i>, just replace < with [

    This text has been underlined.

    [u]This text has been underlined.[/u]
    It is similar to the HTML <u>, just replace < with [

    This text has been deleted.

    [del]This text has been deleted.[/del]
    It is similar to the HTML <del>, just replace < with [

  • Code
  • Here is a section of code.

    A section
    	of code
    110101001110101
    

    Code:

    [code]
    A section
    	of code
    110101001110101
    [/code]
    
  • Linking
    • How to link to other wiki pages
    • Example: a link to the Main Page (use the square brackets [[ and write inside them the title of the wiki page you want to link, just like you would do in a Wikipedia page).

      [[Main Page]]

      NB: Write the title as it is written inside the page. For example write [[Main Page]] and not [[Main-Page]]. Even if both will work, the first is better to see. For example, if you have to link this page write [[wiki tutorial]] (without -), and not [[wiki-tutorial]].

    • What will happen to the old links if I change the title of a page?
    • The old links will be redirected to the new title, since all the old titles are saved in the old revisions of the page. Anyway it would be better (if possible) to update the links too.

    • How to link to other wiki pages (with a different text of the link)
    • Example: this is a link to this wiki page (wiki tutorial) with a different text of the link: some text.

      [[wiki tutorial|some text]]
    • How to link to external resources (or to h-node.com pages out of the wiki)
    • Example: this is a link to an external resource http://www.fsf.org

      [a]http://www.fsf.org[/a]
    • How to link to external resources (with a different text of the link)
    • Example: this is a link to an external resource with a different text free software foundation website

      [a]http://www.fsf.org|free software foundation website[/a]
  • Listing
  • This is an ordered list.

    • Item 1
    • Item 2
    • Item 3

    Code:

    [list]
    [*]Item 1[/*]
    [*]Item 2[/*]
    [*]Item 3[/*]
    [/list]
    

    This is a numbered list.

    1. Item 1
    2. Item 2
    3. Item 3

    Code:

    [enum]
    [*]Item 1[/*]
    [*]Item 2[/*]
    [*]Item 3[/*]
    [/enum]
    

    This is a listed item.

  • Item
  • Code:

    [*]Item[/*]
    
  • Wiki Functions
  • Table of Contents
    __toc__

    Displays the Table of contents at the beginning of the wiki.

    NOTE: In order to activate this function replace toc with TOC (Upper case)

    Disabling tags
    In order to disable the tags we use a double { and } to place a [ and ], so tags are not enable on the page.

    example

    [[example]]
    Above we used four { to place two [ and another four } to place two ]

    Return to Help Page

    The contents of this page are in the Public Domain. (see the CC0 page for detailed information). Anyone is free to copy, modify, publish, use, sell, or distribute the text for any purpose, commercial or non-commercial, and by any means.
    h-node.org is a hardware database project. It runs the h-source PHP software, commit cdeda15, available under the GNU General Public (GPLv3) License.
    JavaScript license information