Template:OBX license gnu: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Add GPLv3, LGPLv3. Bug: doesn't handle "or later", which is very common.)
m (Reverted edits by 195.242.161.191 (Talk) to last version by Cjl)
 
(3 intermediate revisions by 3 users not shown)
(No difference)

Latest revision as of 04:54, 4 June 2009

Heckert GNU white.svg GNU licensed under {{{1}}}


Usage

Used to tag a software component as having its source code lincensed under GNU licenses. The exact shape and version of the license is determined by the parameters.

{{OBX license gnu|type|version|link=url}}

  type    — must be one of the following licenses:
            gpl    — GNU General Public License (1.0, 2.0, 3.0)
            lgpl   — GNU Lesser General Public License (2.1, 3.0, [http://www.gnu.org/licenses/old-licenses/library.html 
            fdl    — GNU Free Documentation License (1.1)
  version — some of the above have multiple versions (whose links are not standardized).
            Therefore, verify if the particular combination actually links to the document.
            If it fails, use the link paramter below.
  link =  — OPTIONAL — you can provide a particular [[wiki-link display]] to the desired license,
            the other two parameters aren't used (iow, ignored if present).

Categories

  • need to determine if a category is needed (and which)
  • [[:Category:???]]

Sample

Heckert GNU white.svg GNU licensed under GPL
{{OBX license gnu|gpl}}
Heckert GNU white.svg GNU licensed under GPL-2.0
{{OBX license gnu|gpl|2.0}}
Heckert GNU white.svg GNU licensed under LGPL-2.1
{{OBX license gnu|lgpl|2.1}}
Heckert GNU white.svg GNU licensed under FDL-1.1
{{OBX license gnu|link=[http://www.gnu.org/licenses/old-licenses/fdl-1.1.html '''FDL-1.1''']}}
See also
http://www.fsf.org/
http://www.gnu.org/licenses/
http://www.gnu.org/licenses/old-licenses/old-licenses.html