Misc:howtoedit: Difference between revisions
Created page with "=COMPLICATED EDITING= can be done using CKEDITOR and paste code into your window: http://biomol.bme.utexas.edu/ckeditor/samples/api.html =Basic= 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= <nowiki>link_name</nowiki>> which gives link_name where Research is a spacename (predefined), page_..." |
|||
| (41 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= | =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= | =Basic= | ||
a white space in the beginning of sentence creates a box. | 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= | |||
<nowiki>[[tutorials:page_name|link_name]]</nowiki>> which gives [[Research:Page name|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: | |||
=How to create | software, tutorials, ammm, misc, projects | ||
<nowiki>[[ | 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 20: | Line 23: | ||
or give the address http://.... directly | or give the address http://.... directly | ||
=To list | =To list available pages in a namespace (like research)= | ||
click on special pages, then all pages and choose "Research" from the pull down. | click on special pages, then all pages and choose "Research" from the pull down. | ||
| Line 55: | Line 58: | ||
|} | |} | ||
=Image= | =Image= | ||
[[Image: | [[Image:Forcefield.png|thumb|right]] | ||
To display images, first upload the images. | To display images, first upload the images. | ||
Point to the uploaded files, images or pdf etc | Point to the uploaded files, images or pdf etc. | ||
As an inline thumbnail for "File.jpg" | |||
<nowiki> | |||
* [[Image:File.jpg]] to use the full version of the file | * [[Image:File.jpg]] to use the full version of the file | ||
| Line 69: | Line 73: | ||
* [[Media:File.ogg]] for directly linking to the file without displaying the file | * [[Media:File.ogg]] for directly linking to the file without displaying the file | ||
</nowiki> | </nowiki> | ||
| |||
=Citation and References= | =Citation and References= | ||
Instruction | Instruction | ||
http://www.mediawiki.org/wiki/Extension:Cite/Cite.php | http://www.mediawiki.org/wiki/Extension:Cite/Cite.php | ||
For example the parargragph below | |||
<nowiki> 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/> </nowiki> | |||
will generate | |||
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> | 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> | ||
=Equation Editor= | =Equation Editor= | ||
Use the LateX editors (many online) to generate the mathML code. On wiki enclose it between <math>... </math>. | |||
Use the LateX | |||
For example | For example | ||
| Line 94: | 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> | |||
= 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] | |||
* [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
| 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
- ↑ Stone, A.J., The Theory of Intermolecular Forces. International Series of Monographs on Chemistry. 1996, Oxford: Oxford University Press.