Misc:howtoedit

From biowiki
Jump to navigation Jump to search

Edit

You may use source or visual editor. Typically I recommend "Edit Source" which has advanced options too. You just have to remember some (simple) syntax. If you have a picture however, use "Edit" instead of Edit source, you can paste it directly (it will ask you to upload)

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 list (no white space in the beginning) "**" indents

How to create an internal link

[[tutorials:page_name|link_name]]> which gives link_name

where tutorials is a spacename (group/folder), page_name is whatever you like. Please use these namespaces matching the groups on the sidebar:

 software, tutorials, ammm, misc, projects

ammm is for advanced mol mod method course projects for different research projects

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

Forcefield.png

To display images, first upload the images.

Point to the uploaded files, images or pdf etc.

As an inline thumbnail for "File.jpg"

* [[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

For example the parargragph below

 An excellent mongraph by Stone''' <ref name="stonebook">Stone, A.J., The Theory of Intermolecular Forces. International Series of Monographs on Chemistry. 1996, Oxford: Oxford University Press.</ref><br>
<references/> 

will generate

An excellent mongraph by Stone [1]

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

ABS-Gb gk.pdf


load PDF

Getting started

  1. Stone, A.J., The Theory of Intermolecular Forces. International Series of Monographs on Chemistry. 1996, Oxford: Oxford University Press.