User:Sbliven/Sandbox: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
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}}
 
Subst:
<nowiki>{{{lt|<}}}include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/{{{1}}}" highlight="{{{2|python}}}" /{{{gt|>}}}</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:
Direct:
<include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/removealt.py" highlight="python" />
<include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/removealt.py" highlight="python" />

Latest revision as of 08:57, 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: {{{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.

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" />