]> UniWakka : PageFormatting

UniWakka : PageFormatting

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are 38.103.63.62

Page Formatting(頁面格式)

 Contents 


1. Text Formatting (文字格式化)

Anything between 2 sets of double-quotes is ignored and presented exactly as typed (that means the formatting commands below are ignored whenever surrounded by double double-quotes.)

1. 1. Basic Formatting

**I'm bold text!**
I'm bold text!

//I'm italic text!//
I'm italic text!

And I'm __underlined__!
And I'm underlined!

##monospace text##
monospace text

''highlight text'' (using 2 single-quotes)
highlight text

@@Center text@@
Center text

^^superscript^^ and ,,subscript,,
superscript and subscript

1. 2. Lists

Indent text using 3 spaces (which will auto-convert into tabs) or tabs. To make bulleted / ordered lists, use the following codes:

- bulleted list:

1) numbered list:
  1. numbered list
  2. Line two

A) Using uppercase characters:
  1. Using uppercase characters
  2. Line two

a) Using lowercase characters:
  1. Using lowercase characters
  2. Line two

I) using uppercase roman numerals:
  1. using Latin numbers
  2. Line two

i) using lowercase roman numerals:
  1. using Latin numbers
  2. Line two

1. 3. Horizontal separator:

----


1. 4. Forced line break:

the line---breaks here
the line
breaks here

2. Text Size / Colour

2. 1. Colored Text

:red:this is red text:red: this is red text
:green:this is green text:green: this is green text
:lightgreen:this is lightgreen text:lightgreen: this is lightgreen text
:blue:this is blue text:blue: this is blue text
:lightblue:this is lightblue text:lightblue: this is lightblue text
:violet:this is violet text:violet: this is violet text
:purple:this is purple text: purple: this is purple text
:brown:this is brown text:brown: this is brown text
:yellow:this is yellow text:yellow: this is yellow text
:grey:this is grey text:grey: this is grey text
:pink:this is pink text:pink: this is pink text
:orange:this is orange text:orange: this is orange text

2. 2. Font Size

It may not be too useful... but may still help in some situations:

:1: font size :1: font size
:2: font size :2: font size
:3: font size :3: font size
:4: font size :4: font size
:5: font size :5: font size
:6: font size :6: font size
:7: font size :7: font size

3. Linking

3. 1. Free Links

External Links
Just type the link directly!
http://www.yahoo.com
gives:
http://www.yahoo.com external link

3. 2. Forced links

[[http://uniwakka.sourceforge.net]]
http://uniwakka.sourceforge.net external link

[[http://uniwakka.sourceforge.net UniWakka Home]]
UniWakka Home external link

3. 3. Forced Wiki Links

[[XML]]
XML?
中文

Forced links, to a wiki page, with a label:
[[XML This Wiki's page on XML]]
This Wiki's page on XML?

3. 4. Inter Wiki Links

See the InterWiki page for a full list of available engines. Here are some examples:

Wiki:InterWiki external link
WikiPedia:Perception external link
Google:CSS external link
Thesaurus:Dilate external link
Dictionary:Dream external link

4. Images

To place images on a Wiki page, use:
{{image title="An Image Link" url="images/rss.gif" link="RecentChanges/recentchanges.xml"}}



Links can be external, or internal Wiki links. You don't have to enter a link at all, and in that case just an image will be inserted. You don't need to use all those attributes, only url is essential.

If you want to use an image you uploaded to your wiki, just put the name of the file in the url field:
url="MyUploadedFile.png"

To use an image stored on another server, put the URI of the image in the url field:
url="http://gipc49.jus.unitn.it:8080/uniwakka/images/rss.gif"


5. Headings

====== Page Heading Level 1====== (to be used only for the title of the page)

Page Heading Level 1


===== Heading 2 =====

6. Heading 2


==== Heading 3 ====

6. 1. Heading 3


=== Heading 4 ===

6. 1. 1. Heading 4


== Heading 5 ==
6. 1. 1. 1. Heading 5

7. Tables

||| is the start and end table tag, || is used to divide table cells, a new line indicates a new row. So a two column three row table would look like this.

|||:1: font size :1:|| :1: font size :1:||
||:2: font size :2:|| :2: font size :2:||
||:3: font size :3:|| :3: font size :3:|||

font size font size
font size font size
font size font size

Cell merging isn't possible. To get different types of tables, you use a specifier after the starting tag.
||| Plain table
|||C Plain table with contents centered
|||0 Plain table with no border
|||C0 Plain table with no border and contents centered
|||L Table spans page
|||LC Table spans page and contents are centered
|||L0 Table spans page and has no border
|||LC0 Table spans page, contents are centered and the table has no border

A table that spans the page, with no border and centered contents would look like this.

|||LC0Hello||World||
||This is||A test|||

HelloWorld
This isA test

8. Miscellaneous

8. 1. Table Of Contents

To insert a table of contents, you must first use headings to divide up your page. Numbering your headers is not required as the headings are automatically numbered. Once you page is divided up, place a  {{toc nr}} where you want the table of contents to go. It looks like this.
 Contents 


8. 2. Code Formating

%%code%%:
int main(int arc,char **argv)
{
printf("Hello, %s!", (argc>1) ? argv[1] : "World");
return 0;
}


%%(php) PHP code%%:
<?php
phpinfo
();
echo 
"Hello, World!";
?>


8. 3. Hiding A Block of Content

This may sound ridious, but it is possible to hide a block of wiki content from displaying! This can be useful sometimes...
-> :hide: You will never see me... :hide:
will appear as
-> You will never see me... <-

8. 4. Smileys

:) :) :( :( :p :p :arrow:  oops  :D :D :x :x
:-)  :-(  :-p  ;-)  :-o  :-D  :!:
8-)  :evil:  :shock:  :roll:  :cry:  :?:  :-x
:idea:  :!:

8. 5. Flags

Insert a country flag by :xx:, where xx is the abbreviation of the country, for example:

:au: ->  :ch: ->  :gb: ->  :us: ->  :it: ->  :es: ->  :at: ->  :nl: ->  :hk: ->  :qa: ->

8. 6. Inserting Maths

See Inserting Mathematics in UniWakka.

8. 7. Inserting Chemistry

See Inserting Chemistry in UniWakka.

8. 8. Back Links

Links to the pages linking the present page:
{{backlinks}}
BookTest
BookTestChap3
HomePage
IncludeAction

8. 9. Foot Notes

To insert a foot note add {{fn foot notes are automatically added at the bottom of the page.}}, at the end of the line 1. Foot Notes cannot be added to headings.

 Notes 
1. foot notes are automatically added at the bottom of the page.
There are 3 comments on this page. [Display comments/form]