Template:OBX license gnu: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Reverted edits by 195.242.161.191 (Talk) to last version by Cjl)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{OBX boilerplate html | icon=[[Image:Heckert GNU white.svg|42px]] | text = [http://www.gnu.org/licenses/ GNU licensed] under {{{link|[http://www.gnu.org/licenses/{{lc:{{{1}}}}}{{#if:{{{2|}}}|-{{{2}}}}}.html '''{{uc:{{{1}}}}}{{#if:{{{2|}}}|-{{{2}}}}}''']}}}}}<noinclude>{{-}}
{{OBX boilerplate html | icon=[[Image:Heckert GNU white.svg|42px]] | text = [http://www.gnu.org/licenses/ GNU licensed] under {{{link|[http://www.gnu.org/licenses/{{lc:{{{1}}}}}{{#if:{{{2|}}}|-{{{2}}}}}.html '''{{uc:{{{1}}}}}{{#if:{{{2|}}}|-{{{2}}}}}''']}}}}}<noinclude>{{-}}


== Usage ==
Hi There,

Used to tag a [[:Category:Software|software component]] as having its [[:Category:XO source|source code]] lincensed under [http://www.gnu.org/licenses/ GNU licenses]. The exact shape and version of the license is determined by the parameters.
<nowiki>{{</nowiki>{{PAGENAME}}|type|version|link=url<nowiki>}}</nowiki>
type &mdash; must be one of the following licenses:
gpl &mdash; [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 &mdash; [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 &mdash; [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 &mdash; 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 = &mdash; OPTIONAL &mdash; you can provide a particular <tt><nowiki>[[wiki-link display]]</nowiki></tt> to the desired license,
the other two parameters aren't used (iow, ignored if present).


== Categories ==
== Categories ==

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