Misc:howtoedit: Difference between revisions

From biowiki
Jump to navigation Jump to search
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Edit=
=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.
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=
=Basic=
Line 9: Line 10:


=How to create an internal link=
=How to create an internal link=
  <nowiki>[[tutorial:page_name|link_name]]</nowiki>&gt; which gives [[Research:Page name|link_name]]
  <nowiki>[[tutorials:page_name|link_name]]</nowiki>&gt; which gives [[Research:Page name|link_name]]
where '''tutorial''' is a spacename (predefined), page_name is whatever you like.  
where '''tutorials''' is a spacename (group/folder), page_name is whatever you like.  
Please use the namespaces matching the groups on the sidebar: software, tutorials, misc
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.
  If the page doesn't exist, you will be able to create it.


Line 91: Line 95:


=embded pdf on the page=
=embded pdf on the page=
[[File:ABS-Gb_gk.pdf|500px]]
--------------
<pdf page="10">File:ABS-Gb_gk.pdf</pdf>


Put the PDF document in /var/www/html/documents/
= Getting started =
 
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]
 
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]
<pdf>File:ABS-QM-MM.pdf</pdf>
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents Mediawiki Help]

Latest revision as of 18:07, 25 May 2022

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

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


Getting started

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