Template:PymolScriptRepoInclude: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(created, like Template:PymolScriptRepoDownload)
 
(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>

Latest revision as of 07: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).