This is a read-only mirror of pymolwiki.org
Difference between revisions of "Template:PymolScriptRepoInclude"
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
(One intermediate revision by one other user not shown) | |||
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 15:53, 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).