Difference between revisions of "MediaWiki/Demo"
Jump to navigation
Jump to search
AngelHerraez (talk | contribs) (jmolApplet tag, cover image) |
|||
Line 264: | Line 264: | ||
<jmolApplet> | <jmolApplet> | ||
<name>D</name> | <name>D</name> | ||
− | <title> | + | <title>This is 2-propanol </title> |
<color>yellowtint</color> | <color>yellowtint</color> | ||
<size>260</size> | <size>260</size> | ||
− | <caption> | + | <caption>Data read from the page [[Models/2-propanol]]</caption> |
<wikiPageContents> Models/2-propanol </wikiPageContents> | <wikiPageContents> Models/2-propanol </wikiPageContents> | ||
</jmolApplet> | </jmolApplet> | ||
Line 275: | Line 275: | ||
<tr> | <tr> | ||
<td style="vertical-align:top;"> | <td style="vertical-align:top;"> | ||
+ | |||
==== Using script ✓ ==== | ==== Using script ✓ ==== | ||
<jmol> | <jmol> |
Revision as of 17:31, 28 March 2019
Test for the Jmol Extension for MediaWiki
Contents
Pop-up models
A user action will open a popup window with a model.
jmolFile tag ✓The link cyclohexane will open a popup window displaying Chair.cml taken from this wiki <jmolFile text='cyclohexane'>Chair.cml</jmolFile> |
jmolMol tag ✓The link in your coffee will open a popup window displaying caffeine. También algo en el café <jmolMol text='something in your coffee'>caffeine</jmolMol> |
jmolSmiles tag ✓The link nitrobenzene will open a popup window displaying nitrobenzene <jmolSmiles text='nitrobenzene'>c1ccccc1[N+](=O)[O-]</jmolSmiles> |
jmolPdb tag ✓The link adipocyte lipid binding protein will open a popup window displaying 1ab0.pdb. Esta es una proteína que une lípidos <jmolPdb text='adipocyte lipid binding protein'>1ab0</jmolPdb> |
jmolAppletButton tag ✓
|
jmolAppletLink tag ✓ |
Pop-in models
User action will insert a model within the page.
jmolAppletInlineButton tag ✓Using urlContents |
jmolAppletInlineLink tag ✓Using uploadedFileContents |
jmolApplet tag with cover image ✓
The JSmol model is inserted when clicking on the image. Here using uploadedFileContents
Cyclohexane, chair conformation |
In-page models
A model is inserted as part of the page at page load time.
jmolApplet tag
Using uploadedFileContents ✓
|
Using urlContents ✓
|
||||||||
Using inlineContents ✓ |
Using wikiPageContents ✓
|
||||||||
Using script ✓
|
....