This is a read-only mirror of pymolwiki.org

Difference between revisions of "User:Sbliven/Sandbox"

From PyMOL Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Pymol Inclusion ==
 
== Pymol Inclusion ==
 +
Conclusion: the include plugin doesn't work as a template.
 +
 
Through Template:
 
Through Template:
{{Template:PymolScriptRepoInclude|removealt.py}}
+
{{Template:PymolScriptRepoInclude/Test|removealt.py}}
 
 
Direct:
 
<include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/removealt.py" highlight="python" />
 
  
 
Subst:
 
Subst:
<include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/{{{1}}}" highlight="{{{2|python}}}" />
+
<nowiki><include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/{{{1}}}" highlight="{{{2|python}}}" /></nowiki>
  
 
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].
 +
 +
Direct:
 +
<include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/removealt.py" highlight="python" />

Revision as of 13:48, 30 October 2015

Pymol Inclusion

Conclusion: the include plugin doesn't work as a template.

Through Template: {{{lt|<}}}include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/{{{1}}}" highlight="{{{2|python}}}" /{{{gt|>}}}

This code has been put under version control in the project Pymol-script-repo.

Subst: <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 Pymol-script-repo.

Direct: <include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/removealt.py" highlight="python" />