Editing User:AngelHerraez/Sandbox2

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== Simple use of Jmol_Link_Popup template ==
== Simple use of Chembox_3DStruct ==
This template puts a link with the molecule pagename leading to a pop-up window with Jmol. The molecule should be a model file uploaded as wiki page. This code:
A use of the Chembox_3DStruct_Simple template that puts a link with the molecule name leading to a pop-up window with Jmol. <s>The molecule should be uploaded as a file.</s> File types not allowed in this Wiki.
  <nowiki>{{Jmol Link Popup|Water.pdb}}</nowiki>
 
renders as:
Let's change the template so that it uses model files uploaded as wiki pages. This code:
{{Jmol Link Popup|Water.pdb}}
  <nowiki>{{Chembox 3DStruct Simple|Water.pdb}}</nowiki>
renders so:
{{Chembox 3DStruct Simple|Water.pdb}}


Another example:
Another example:
  <nowiki>{{Jmol Link Popup|Benzene.pdb}}</nowiki>
  <nowiki>{{Chembox 3DStruct Simple|Benzene.pdb}}</nowiki>
renders as:
renders so:
{{Jmol Link Popup|Benzene.pdb}}
{{Chembox 3DStruct Simple|Benzene.pdb}}


Works OK!
Works OK!
Please note that all contributions to SklogWiki are considered to be released under the Creative Commons Attribution Non-Commercial Share Alike (see SklogWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: