Misc:howtoedit

From biowiki
Jump to navigation Jump to search

Edit

You may use source or visual editor. I recommend "Edit Source" which has advanced options too. You just have to remember some (simple) syntax.

Basic

a white space in the beginning of sentence creates a "frame box" or preformatted.

a white space in the beginning of sentence creates a box.

"*" a star gives a bullet (no white space in the beginning)

"**" double star indents

How to create a internal link

[[Research:page_name|link_name]]> which gives link_name
where Research is a spacename (predefined), page_name is whatever you like. 
If the page doesn't exist, you will be able to create it.

How to create an external link

[http://www.somexyz.org Link_name], which gives a link to external website.
 or  [http://www.google.com], which gives [1]
 or give the address http://.... directly

To list available pages in a namespace (like research)

 click on special pages, then all pages and choose "Research" from the pull down.

How to upload file

 lick on Upload file on the side bar, or alt-u
 you can link to the file after you uploaded it by specifying  [[ File:File.pdf ]] in your page.

To change the sidebar: Mediawiki:Sidebar

Table

Can also be inserted from the Advanced menu

Table Title
header header 1 header 2 header 3
row 1 header row 1 cell 1 row 1 cell 2 row 1 cell 3
row 2 header row 2 cell 1 row 2 cell 2 row 2 cell 3

Image

To display images, first upload the images.

Point to the uploaded files, images or pdf etc (most are in the image directory):

As an inline thumbnail
* [[Image:File.jpg]] to use the full version of the file * [[Image:File.png|200px|thumb|left|alt text]] to use a 200 pixel wide rendition in a box in the left margin with 'alt text' as description * [[Media:File.ogg]] for directly linking to the file without displaying the file  

 

 

Citation and References

Instruction

http://www.mediawiki.org/wiki/Extension:Cite/Cite.php

Examples:

http://water.bme.utexas.edu/wiki/index.php/Course:adv_bimol
An excellent mongraph by Stone [1]
  1. Stone, A.J., The Theory of Intermolecular Forces. International Series of Monographs on Chemistry. 1996, Oxford: Oxford University Press.

Equation Editor

Use the LateX editors (many online) to generate the mathML code. On wiki enclose it between .

For example

 <math> X+Y^2 </math>  

gives

embded pdf on the page

Put the PDF document in /var/www/html/documents/

Then

 <embed_document height=200 width=100%>/documents/ccp5-feb-05.pdf</embed_document> 

<embed_document height=200 width=100%>/documents/ccp5-feb-05.pdf</embed_document>