Template: License
(#switch: (the colon is required)) |
(wikify link) |
||
Line 42: | Line 42: | ||
<includeonly> | <includeonly> | ||
<span class="license"> | <span class="license"> | ||
− | + | [http://www.gnu.org/licenses/license-list.html#{{#switch: {{{1|}}} | |
− | | GPLv2 = GPLv2 | + | | GPLv2 = GPLv2 GNU <abbr title="General Public License">GPL</abbr> version 2 |
− | | GPLv2+ = GPLv2 | + | | GPLv2+ = GPLv2 GNU <abbr title="General Public License">GPL</abbr> version 2 or later |
− | | GPLv3+ = GNUGPL | + | | GPLv3+ = GNUGPL GNU <abbr title="General Public License">GPL</abbr> version 3 or later |
− | | GPL = GNUGPL | + | | GPL = GNUGPL GNU <abbr title="General Public License">GPL</abbr> version 3 or later |
− | | AGPL = AGPL | + | | AGPL = AGPL GNU <abbr title="Affero General Public License">AGPL</abbr> version 3 or later |
| Apache2 = apache2">Apache License, version 2.0 | | Apache2 = apache2">Apache License, version 2.0 | ||
|#default = SoftwareLicenses">{{{1|not specified}}} | |#default = SoftwareLicenses">{{{1|not specified}}} | ||
− | }} | + | }}] |
</span> | </span> | ||
</includeonly> | </includeonly> |
Revision as of 10:26, 24 October 2015
This is a template to display software license information and link to the original license text.
Usage
Simply pass the type of license you need as the template argument.
Example: {{License|GPL}}
Available Licenses
Note: keywords are case-sensitive.
Any anchor on the GNU licenses page can be used as a keyword.
Keyword | License Name |
---|---|
GPLv2 | GNU General Public License version 2 (only) |
GPLv2+ | GNU General Public License version 2 or later |
GPLv3+ | GNU General Public License version 3 or later |
GPL | GNU General Public License (ultimate version, eq. GPLv3+) |
AGPL | GNU Affero General Public License |
Apache2 | Apache License version 2.0 |