Difference between revisions of "Template:Infobox scripts"

From relax wiki
Jump to navigation Jump to search
(Created page with "{| cellspacing="0" cellpadding="3" class="infobox" |- ! Type | {{#switch: {{{type|script}}} | script = Category:Relax_script_repo | tutorial = Category:Tutorials...")
 
Line 3: Line 3:
 
! Type
 
! Type
 
| {{#switch: {{{type|script}}}
 
| {{#switch: {{{type|script}}}
   | script = [[Category:Relax_script_repo]]
+
   | script = [[Relax_script_repo]]
   | tutorial = [[Category:Tutorials]]
+
   | tutorial = [[Tutorials]]
 
   | {{{type}}}
 
   | {{{type}}}
 
   }}
 
   }}

Revision as of 10:25, 25 June 2013

Type Relax_script_repo
Download
Author(s) anonymous
License

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

Usage

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

Argument type can be one of:

  • script (for python script)
  • tutorial

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

Only GPL-3.0 license (GPL) are accepted, and linked with http://www.gnu.org/licenses/gpl.html by default.

Examples

{{Infobox script-repo
|type      = script
|filename  = hello_world.py
|author    = [[User:tlinnet|Troels E. Linnet]]
|license   = GPL
}}