Difference between revisions of "Template:Infobox software licence/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (change source to syntaxhighlight)
imported>Kirkgaard
(document spdx id)
Line 14: Line 14:
 
| publisher      =  
 
| publisher      =  
 
| date            =  
 
| date            =  
 +
| spdx            =
 
| OSI approved    = Yes or No or n/a
 
| OSI approved    = Yes or No or n/a
 
| Debian approved = Yes or No or n/a
 
| Debian approved = Yes or No or n/a
Line 30: Line 31:
 
; version: Version of the licence, if any.
 
; version: Version of the licence, if any.
 
; date: Date of publication of the licence.
 
; date: Date of publication of the licence.
 +
; spdx: the [[SPDX]] identifier of the license. See the [https://spdx.org/licenses/ current license list] for valid values.
 
; 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].)
 
; 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].)
 
; 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.)]
 
; 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.)]
Line 52: Line 54:
 
| copyright      = Free Software Foundation, Inc.
 
| copyright      = Free Software Foundation, Inc.
 
| date            = 29 June 2007
 
| date            = 29 June 2007
 +
| spdx            = GPL-3.0-only
 
| OSI approved    = Yes
 
| OSI approved    = Yes
 
| Debian approved = Yes
 
| Debian approved = Yes
Line 70: Line 73:
 
| copyright      = Free Software Foundation, Inc.
 
| copyright      = Free Software Foundation, Inc.
 
| date            = 29 June 2007
 
| date            = 29 June 2007
 +
| spdx            = GPL-3.0-only
 
| OSI approved    = Yes
 
| OSI approved    = Yes
 
| Debian approved = Yes
 
| Debian approved = Yes
Line 153: Line 157:
 
"date": {
 
"date": {
 
"description": "Date of publication of the licence.",
 
"description": "Date of publication of the licence.",
 +
"type": "string"
 +
},
 +
"spdx": {
 +
"description": "the SPDX identifier of the license.",
 
"type": "string"
 
"type": "string"
 
},
 
},

Revision as of 23:36, 7 July 2020

This template creates an infobox useful for summarizing common characteristics of Free Software and Open Source Software licences.

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

Parameters

All parameters are optional.

author
Person or an organization that created the licence.
version
Version of the licence, if any.
date
Date of publication of the licence.
spdx
the SPDX identifier of the license. See the current license list for valid values.
OSI approved
Yes if the Open Source Initiative has approved the licence, No if not. (Information on whether a given licence meets this criterion may be found either at the OSI's Alphabetical list or the Categorical list.)
Debian approved
Yes if the licence is compatible with the Debian Free Software Guidelines, No if not. [Information on whether a given licence meets this criterion may be found either at Debian's The DFSG and Software Licenses or License information. (Please read both, as licences in one list may not be in the other.)]
FSF approved
Yes if the licence meets The Free Software Definition, No if not. (Information on whether a given licence meets this criterion may be found at the FSF's Various Licenses and Comments about Them.)
GPL compatible
Yes if software licensed under the licence can be combined with software licensed under the GNU General Public License, No if not. (Information on whether a given licence meets this criterion may be found at the FSF's Various Licenses and Comments about Them.)
copyleft
Yes if software licensed under the licence requires licensees to extend the same rights they received to others, No if not, or Partial if somewhere in the middle.
linking
Yes if software licensed under the licence can be linked with software licensed under other licences, No if not.
publisher
Person or organization who published the licence or claims copyright on the licence itself.
name
Name of the licence.
image
Logo, mascot or emblem for licence. Must take the form of an image reference (e.g., [[Image:something.jpg]]).
caption
Caption for the image.
website
Either the website for the licence, or the canonical URL for the licence text itself.

Examples

GPL 3.0

GNU General Public License
AuthorFree Software Foundation
Latest version3
PublisherFree Software Foundation, Inc.
Published29 June 2007
SPDX identifierGPL-3.0-only
Debian FSG compatibleYes
FSF approvedYes
OSI approvedYes
GPL compatibleYes
CopyleftYes
Linking from code with a different licenceNo
Websitewww.gnu.org/licenses/gpl.html
{{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         = [http://www.gnu.org/licenses/gpl.html  www.gnu.org/licenses/gpl.html]
}}

LGPL 1.0

GNU Lesser General Public License
Heckert GNU white.svg
The GNU logo
AuthorFree Software Foundation
Latest version1.0
PublisherFree Software Foundation
Published1991
SPDX identifier{{#property:P2479|from=}}
Debian FSG compatibleYes
FSF approvedYes
OSI approvedYes
GPL compatibleYes
CopyleftYes
Linking from code with a different licenceYes
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
}}

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox software licence

An infobox on software licences

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the licence.

Stringoptional
Imageimage

Logo, mascot or emblem for licence.

Fileoptional
Captioncaption

Caption for the image.

Stringoptional
Authorauthor

Person or an organization that created the licence.

Stringoptional
Versionversion

The version of the software.

Stringoptional
Copyrightcopyright

The copyright status of the software licence.

Stringoptional
Publisherpublisher

Person or organization who published the licence or claims copyright on the licence itself.

Stringoptional
Datedate

Date of publication of the licence.

Stringoptional
Spdxspdx

the SPDX identifier of the license.

Stringoptional
Debian approvedDebian approved

Yes if the licence is compatible with the Debian Free Software Guidelines, otherwise no.

Stringoptional
FSF approvedFSF approved

Yes if the licence meets The Free Software Definition, otherwise no.

Stringoptional
OSI approvedOSI approved

Yes if the Open Source Initiative has approved the licence, No if not.

Stringoptional
GPL compatibleGPL compatible

Yes if software licensed under the licence can be combined with software licensed under the GNU General Public License, No if not.

Stringoptional
Copyleftcopyleft

Yes if software licensed under the licence requires licensees to extend the same rights they received to others, No if not, or Partial if somewhere in the middle.

Stringoptional
Linkinglinking

Yes if software licensed under the licence can be linked with software licensed under other licences, No if not.

Stringoptional
Websitewebsite

The website of the licence, if it exists.

Stringoptional