Difference between revisions of "Template:Infobox software license/sandbox"
imported>Pnm (Add namespace condition) |
imported>Kirkgaard (updating sandbox to current main revision 844849987) |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | | title = {{{title|{{{name|<includeonly>{{ | + | | title = {{{title|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}} |
| − | | image | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}} |
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| labelstyle = width:45%; | | labelstyle = width:45%; | ||
| Line 7: | Line 7: | ||
| label1 = Author | | label1 = Author | ||
| data1 = {{{author|}}} | | data1 = {{{author|}}} | ||
| − | | label2 = | + | | label2 = Latest version |
| data2 = {{{version|}}} | | data2 = {{{version|}}} | ||
| label3 = [[Publishing|Publisher]] | | label3 = [[Publishing|Publisher]] | ||
| Line 15: | Line 15: | ||
| label5 = [[Debian Free Software Guidelines|DFSG]] compatible | | label5 = [[Debian Free Software Guidelines|DFSG]] compatible | ||
| data5 = {{{Debian approved|}}} | | data5 = {{{Debian approved|}}} | ||
| − | | label6 = [[Free software]] | + | | label6 = [[Free Software Foundation|FSF]] [[Comparison of free and open-source software licenses#Approvals|approved]] |
| − | | data6 = {{{Free Software|}}} | + | | data6 = {{{FSF approved|{{{Free Software|}}}}}} |
| − | | label7 = [[Open-source | + | | label7 = [[Open Source Initiative|OSI]] [[Comparison of free and open-source software licenses#Approvals|approved]] |
| data7 = {{{OSI approved|}}} | | data7 = {{{OSI approved|}}} | ||
| − | | label8 = [[ | + | | label8 = [[GPL compatible]] |
| data8 = {{{GPL compatible|}}} | | data8 = {{{GPL compatible|}}} | ||
| label9 = [[Copyleft]] | | label9 = [[Copyleft]] | ||
| data9 = {{{copyleft|}}} | | data9 = {{{copyleft|}}} | ||
| − | | label10 = [[ | + | | label10 = [[GPL linking exception|Linking from code with a different license]] |
| − | | data10 = {{{ | + | | data10 = {{{linking|}}} |
| − | | label11 = | + | | label11 = Website |
| − | | data11 = {{{ | + | | data11 = {{{website|}}} |
| − | | label12 = | + | | label12 = [[Deprecation|Deprecated]] |
| − | | data12 | + | | data12 = {{{deprecated|}}} |
| − | }} | + | }}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude> |
| − | < | ||
| − | {{ | ||
| − | </ | ||
Revision as of 16:25, 7 June 2018
| This is the template sandbox page for Template:Infobox software license (diff). See also the companion subpage for test cases. |
TemplateData for Infobox software license
This template creates an infobox useful for summarizing common characteristics of [[Free software|Free Software]] and [[Open-source software|Open Source Software]] [[software licence|licences]].
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the licence. | String | optional |
| Image | image | Logo, mascot or emblem for licence. | File | optional |
| Caption | caption | Caption for the image. | String | optional |
| Author | author | Person or an organization that created the licence. | String | optional |
| Version | version | The version of the license. | String | optional |
| Copyright | copyright | The copyright status of the software licence. | String | optional |
| Publisher | publisher | Person or organization who published the licence or claims copyright on the licence itself. | String | optional |
| Date | date | Date of publication of the licence. | String | optional |
| Spdx | spdx | The [[SPDX]] identifier of the license. See the [https://spdx.org/licenses/ current license list] for valid values.
| String | optional |
| Debian approved | Debian approved | <code>Yes</code> if the licence is compatible with the [[Debian Free Software Guidelines]], <code>No</code> if not. [Information on whether a given licence meets this criterion may be found either at Debian's [http://wiki.debian.org/DFSGLicenses The DFSG and Software Licenses] or [http://www.debian.org/legal/licenses/ License information]. (Please read both, as licences in one list may not be in the other.)] | String | optional |
| FSF approved | FSF approved Free Software | <code>Yes</code> if the licence meets [[The Free Software Definition]], <code>No</code> if not. (Information on whether a given licence meets this criterion may be found at the FSF's [//www.gnu.org/licenses/license-list.html Various Licenses and Comments about Them].) | String | optional |
| OSI approved | OSI approved | <code>Yes</code> if the [[Open Source Initiative]] has approved the licence, <code>No</code> if not. (Information on whether a given licence meets this criterion may be found either at the OSI's [http://www.opensource.org/licenses/alphabetical Alphabetical list] or the [http://www.opensource.org/licenses/category Categorical list].) | String | optional |
| GPL compatible | GPL compatible | <code>Yes</code> if software licensed under the licence can be combined with software licensed under the [[GNU General Public License]], <code>No</code> if not. (Information on whether a given licence meets this criterion may be found at the FSF's [//www.gnu.org/licenses/license-list.html Various Licenses and Comments about Them].) | String | optional |
| Copyleft | copyleft | <code>Yes</code> if software licensed under the licence requires licensees to extend the same rights they received to others, <code>No</code> if not, or <code>Partial</code> if somewhere in the middle. | String | optional |
| Linking | linking | <code>Yes</code> if software licensed under the licence can be linked with software licensed under other licences, <code>No</code> if not. | String | optional |
| Website | website | Either the website for the licence, or the canonical URL for the licence text itself.
| String | optional |
| Qid | qid | Wikidata item (QID) describing the license. Set to <code>none</code> to disable wikidata.
| String | optional |
| Deprecated | deprecated | <code>Yes</code> if the publisher has declared this license deprecated, obsolete, or superseded. | String | optional |
Contents
Usage
{{Infobox software licence
| name =
| image =
| caption =
| author =
| version =
| publisher =
| date =
| spdx =
| OSI approved = Yes or No or n/a
| Debian approved = Yes or No or n/a
| FSF approved = Yes or No or n/a
| GPL compatible = Yes or No
| copyleft = Yes or No or Partial
| linking = Yes or No
| website =
| deprecated =
}}
Examples
GPL 3.0
| Author | Free Software Foundation |
|---|---|
| Latest version | 3 |
| Publisher | Free Software Foundation, Inc. |
| Published | 29 June 2007 |
| SPDX identifier | GPL-3.0-only |
| Debian FSG compatible | Yes |
| FSF approved | Yes |
| OSI approved | Yes |
| GPL compatible | Yes |
| Copyleft | Yes |
| Linking from code with a different licence | No |
| Website | Template:URL |
{{Infobox software licence
| name = GNU General Public License
| image =
| caption = GNU GPLv3 Logo
| author = [[Free Software Foundation]]
| version = 3
| copyright = Free Software Foundation, Inc.
| date = 29 June 2007
| spdx = GPL-3.0-only
| OSI approved = Yes
| Debian approved = Yes
| FSF approved = Yes
| GPL compatible = Yes
| copyleft = Yes
| linking = No
| website = {{URL|http://www.gnu.org/licenses/gpl.html}}
}}
LGPL 1.0
The GNU logo | |
| Author | Free Software Foundation |
|---|---|
| Latest version | 1.0 |
| Publisher | Free Software Foundation |
| Published | 1991 |
| SPDX identifier | {{#property:P2479|from=}} |
| Debian FSG compatible | Yes |
| FSF approved | Yes |
| OSI approved | Yes |
| GPL compatible | Yes |
| Copyleft | Yes |
| Linking from code with a different licence | Yes |
| Website | [Script error: No such module "If empty". ] |
{{Infobox software licence
| name = GNU Lesser General Public License
| image = [[Image:Heckert GNU white.svg|160px]]
| caption = The GNU logo
| author = [[Free Software Foundation]]
| version = 1.0
| copyright = Free Software Foundation
| date = 1991
| OSI approved = Yes
| Debian approved = Yes
| FSF approved = Yes
| GPL compatible = Yes
| copyleft = Yes
| linking = Yes
}}
| The above documentation is transcluded from Template:Infobox software license/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |