9 3:Wiki Edit Reference

From Pnet-Community

Jump to: navigation, search

Contents

[edit] Where in Project.net

Wiki Editing Reference

You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks that have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this''


Note: To view the information below we recommended that you re-size the window wider.

[edit] Text, Headings & Lists

Description You type You get
Character formatting can be used anywhere
Italic text
''italic''
italic
Bold text
'''bold'''
bold
Bold and italic
'''''bold & italic'''''
bold & italic
Escape wiki markup
<nowiki>no ''markup''</nowiki>
no ''markup''
Section formatting is only at the beginning of the line
Headings of different levels
=Heading 1=
==Heading 2==
===Heading 3===
====Heading 4====
=====Heading 5=====
======Heading 6======

An article with four or more headings will automatically create a page-level table of contents, like the one on this page.

Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Horizontal rule
----

Bullet list
* one
* two
* three
** three point one
** three point two

Inserting a blank line will end the first list and start another.

  • one
  • two
  • three
    • three point one
    • three point two
Numbered list
# one
# two<br />spanning several lines<br />without breaking the numbering
# three
## three point one
## three point two
  1. one
  2. two
    spanning several lines
    without breaking the numbering
  3. three
    1. three point one
    2. three point two
Definition list
;item 1
:definition 1
;item 2
:definition 2-1
:definition 2-2
item 1
definition 1
item 2
definition 2-1
definition 2-2
Adopting definition list to indent text
:Single indent
::Double indent
:::::Multiple indent
Single indent
Double indent
Multiple indent
Mixture of different types of list
# one
# two
#* two point one
#* two point two
# three
#; three def one
#: three item one
# four
#: four item one
#: this rather looks like the continuation of # four
#: and thus often used instead of <br />
;item 1
:* definition 1-1
:* definition 1-2
:
;item 2
:# definition 2-1
:# definition 2-2
  1. one
  2. two
    • two point one
    • two point two
  3. three
    three def one
    three item one
  4. four
    four item one
    this rather looks like the continuation of # four
    and thus often used instead of <br />
item 1
  • definition 1-1
  • definition 1-2
item 2
  1. definition 2-1
  2. definition 2-2
Pre-formatted text
 pre-formatted text is done with
 a '''space''' at the 
 ''beginning'' of the line

Pre-formatting only overrides section formatting, leaving character formatting markups still in effect.

pre-formatted text is done with
a space at the 
beginning of the line

[edit] Paragraphs

Project.net's wiki ignores normal line breaks, in order to start a new paragraph just leave an empty line. You can force a new line within a paragraph with the HTML tags <br /> or <br>.

[edit] Pages and Links

Project.net's wiki consists of references to various other pages in the project's wiki, new pages are added simply by adding a link to the page. When you follow a link to an non-existing page you will be asked whether you want to create the page. You can also create links to external pages.

[[Name of page]] - A link to an existing or new wiki page. 
[[Name of page|Text to display]] - A link can have different text than the page name.
http://www.example.org - An external link to a non-wiki page.
[http://www.example.org Text to display] - An external link can have different text than the URL.

[edit] Images

Project.net wiki pages follows the guidelines below to include images in a Project.net wiki page.

To insert a picture - [[image:wiki.png]]
To insert a picture with frame - [[image:wiki.png|frame|Caption]]
To insert a picture with thumbnail  - [[image:wiki.png|thumb|Caption]]
To capture all other media - [[Media:Video.asf|Video]]

[edit] Tables

By default table
{| class="wikitable"
|-
| row 1, cell 1
| row 1, cell 2
| row 1, cell 3
|-
| row 2, cell 1
| row 2, cell 2
| row 2, cell 3
|}

Table with a border
{| border="1"
|-
|Cell 1 (no modifier - not aligned)
|-
|align="right" |Cell 2 (right aligned)
|-
|}

Setting columns widths for a table
{| border="1" cellpadding="2"
|-
|width="100pt"|This column is 100 points wide
|width="200pt"|This column is 200 points wide
|width="300pt"|This column is 300 points wide
|-
|blah || blah || blah
|}

NOTE: the above class, "wikitable" contains:

border: 1px solid Silver !important; padding: 3px; margin: 0px !important;

[edit] HTML

Some HTML tags are allowed in Project.net's wiki, for example <code>, <div>, <span> and <font>. These apply anywhere you insert them.

Description You type You get
Fixed width text (uses a font with characters of equal width)
<tt>Fixed width text</tt>

Fixed width text

Blockquotes
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

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-->
Completely preformatted text
<pre>this way, all markups are '''ignored'''</pre>
this way, all markups are '''ignored'''
Personal tools