Template:OBX license gnu: Difference between revisions
Jump to navigation
Jump to search
(Add GPLv3, LGPLv3. Bug: doesn't handle "or later", which is very common.) |
(→Usage) |
||
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>{{-}} |
||
Hi There, |
|||
== 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 — 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], [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/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]) |
|||
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 <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 11:24, 4 December 2008
GNU licensed under {{{1}}} |
Hi There,
Categories
- need to determine if a category is needed (and which)
- [[:Category:???]]
Sample
GNU licensed under GPL |
{{OBX license gnu|gpl}}
GNU licensed under GPL-2.0 |
{{OBX license gnu|gpl|2.0}}
GNU licensed under LGPL-2.1 |
{{OBX license gnu|lgpl|2.1}}
GNU licensed under FDL-1.1 |
{{OBX license gnu|link=[http://www.gnu.org/licenses/old-licenses/fdl-1.1.html '''FDL-1.1''']}}