Template:OBX license gnu: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Reverted edits by 221.43.182.31 (Talk) to last version by Gnu)
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>{{-}}


Cool!
== Usage ==

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 ==

Revision as of 23:13, 3 June 2009

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


Cool!

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