Misc:howtoedit: Difference between revisions

From biowiki
Jump to navigation Jump to search
Line 95: Line 95:




<pdf>File:ABS-QM-MM.pdf</pdf>
<pdf>File:ABS-QM-MM.pdf</pdf>

Revision as of 22:31, 9 May 2022

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

How to create an internal link

[[tutorial:page_name|link_name]]> which gives link_name
where tutorial is a spacename (predefined), page_name is whatever you like. 
Please use the namespaces matching the groups on the sidebar: software, tutorials, misc
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.

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

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



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