Template:OBX license gnu: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (typo+cosmetics (sorry, icon smudges))
(Add GPLv3, LGPLv3. Bug: doesn't handle "or later", which is very common.)
Line 7: Line 7:
type — must be one of the following licenses:
type — must be one of the following licenses:
gpl — [http://www.gnu.org/licenses/gpl.html GNU General Public License] ([http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt 1.0], [http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 2.0])
gpl — [http://www.gnu.org/licenses/gpl.html GNU General Public License] ([http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt 1.0], [http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 2.0], [http://www.gnu.org/licenses/gpl-3.0.html 3.0])
lgpl — [http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License] ([http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html 2.1], [http://www.gnu.org/licenses/old-licenses/library.html
lgpl — [http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License] ([http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html 2.1], [http://www.gnu.org/licenses/lgpl-3.0.html 3.0], [http://www.gnu.org/licenses/old-licenses/library.html
fdl — [http://www.gnu.org/licenses/fdl.html GNU Free Documentation License] ([http://www.gnu.org/licenses/old-licenses/fdl-1.1.html 1.1])
fdl — [http://www.gnu.org/licenses/fdl.html GNU Free Documentation License] ([http://www.gnu.org/licenses/old-licenses/fdl-1.1.html 1.1])
version — some of the above have multiple versions (whose links are not standardized).
version — some of the above have multiple versions (whose links are not standardized).

Revision as of 02:22, 26 November 2007

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