This is a read-only mirror of pymolwiki.org

Difference between revisions of "Template:PymolScriptRepoInclude"

From PyMOL Wiki
Jump to navigation Jump to search
m (1 revision)
(Adding documentation)
Line 1: Line 1:
<include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/{{{1}}}" highlight="{{{2|python}}}" />
+
<includeonly><include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/{{{1}}}" highlight="{{{2|python}}}" />
  
This code has been put under version control in the project [http://www.pymolwiki.org/index.php/Git_intro Pymol-script-repo].
+
This code has been put under version control in the project [http://www.pymolwiki.org/index.php/Git_intro Pymol-script-repo].</includeonly><noinclude>
 +
Automatically includes current script code from Pymol-script-repo on github.
 +
 
 +
Usage: <code><nowiki>{{PymolScriptRepoInclude|filename|language}}</nowiki></code>, where filename gives the path on github and language gives the programming language (default python).
 +
</noinclude>

Revision as of 12:04, 30 October 2015

Automatically includes current script code from Pymol-script-repo on github.

Usage: {{PymolScriptRepoInclude|filename|language}}, where filename gives the path on github and language gives the programming language (default python).