This is a read-only mirror of pymolwiki.org

Difference between revisions of "Template:Infobox script-repo"

From PyMOL Wiki
Jump to navigation Jump to search
(homepage)
m (1 revision)
 
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
! Type
 
! Type
 
| {{#switch: {{{type|script}}}
 
| {{#switch: {{{type|script}}}
   | module = Python Module
+
   | module = [[Running Scripts#Python_Modules|Python Module]]
 
   | plugin = [[Plugins|PyMOL Plugin]]
 
   | plugin = [[Plugins|PyMOL Plugin]]
 
   | script = [[Running Scripts|Python Script]]
 
   | script = [[Running Scripts|Python Script]]
Line 12: Line 12:
 
! Download
 
! Download
 
| {{#if: {{{filename|}}}
 
| {{#if: {{{filename|}}}
   | [https://github.com/Pymol-Scripts/Pymol-script-repo/raw/master/{{{filename}}} {{{filename}}}]
+
   | [https://raw.githubusercontent.com/Pymol-Scripts/Pymol-script-repo/master/{{{filename}}} {{{filename}}}]
 
   | {{{download|}}}
 
   | {{{download|}}}
 
   }}
 
   }}
Line 24: Line 24:
 
   | GPL    = [http://opensource.org/licenses/GPL-2.0 {{{license}}}]
 
   | GPL    = [http://opensource.org/licenses/GPL-2.0 {{{license}}}]
 
   | LGPL  = [http://opensource.org/licenses/LGPL-2.1 {{{license}}}]
 
   | LGPL  = [http://opensource.org/licenses/LGPL-2.1 {{{license}}}]
 +
  | BSD-2-Clause
 +
  | BSD-3-Clause
 +
  | GPL-2.0
 +
  | GPL-3.0
 +
  | LGPL-2.1
 +
  | LGPL-3.0
 +
  | Python-2.0
 +
  | MIT    = [http://opensource.org/licenses/{{{license}}} {{{license}}}]
 
   | {{{license|}}}
 
   | {{{license|}}}
 
   }}
 
   }}
Line 75: Line 83:
 
|type      = module
 
|type      = module
 
|filename  = anglebetweenhelices.py
 
|filename  = anglebetweenhelices.py
|author    = [[Users:Speleo3|Thomas Holder]]
+
|author    = [[User:Speleo3|Thomas Holder]]
 
|license  = BSD
 
|license  = BSD
 
}}
 
}}

Latest revision as of 03:24, 10 December 2018

Type Python Script
Download
Author(s) anonymous
License

This is a info box for scripts in the Pymol-script-repo.

Usage

{{Infobox script-repo
|type      =
|filename  =
|author    =
|license   =
}}

Argument type can be one of:

  • module
  • plugin
  • script (for python script)
  • pml (for python script)
  • or some free description

The filename argument must match a file in the Pymol-script-repo. If the script is not in the repo, the download argument can be provided as an alternative.

Some licenses (currently BSD, GPL and LGPL) are linked with opensource.org/licenses by default.

Examples

{{Infobox script-repo
|type      = plugin
|filename  = plugins/dynoplot.py
|author    = Dan Kulp
|license   =
}}
{{Infobox script-repo
|type      = module
|filename  = anglebetweenhelices.py
|author    = [[User:Speleo3|Thomas Holder]]
|license   = BSD
}}

If script is not in repo:

{{Infobox script-repo
|type      = pml
|download  = please copy&paste script
|author    = 
|license   = BSD
}}