Template: License
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 |
---|---|
OTHER | This is a special keyword (see below) |
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 |
OTHER licensing scheme
Some projects include code from various sources and combine several software licenses. In this case it's easier to link to the code repository's license file, or some other equivalent source. The OTHER keyword can be used for this. It takes a second argument which is the URL to link to, and an optional third argument which is the anchor:
Usage | Description |
---|---|
{{License|OTHER|https://gitweb.torproject.org/tor.git/tree/LICENSE}} | will show: License: Speficic licensing scheme |
{{License|OTHER|https://gitweb.torproject.org/tor.git/tree/LICENSE|Tor-specific free software license}} | will show: License: Tor-specific free software license |