Template:HPND

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
X11.svg
This work is licensed under the Historical Permission Notice and Disclaimer:

Copyright the Author.

Permission to use, copy, modify and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the Author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The Author makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:HPND/doc.

License template for the Historical Permission Notice and Disclaimer (X11R5 license)

The template automatically sets the following categories: HPND

Usage

{{HPND |1= |2= |copyright-notice= |no-nonendorsement= |related-entities= |no-short-warranty= |no-long-warranty= |monosyndeton-variant= |definite-article-variant= |no-of= |unspliced-variant= }}

This is a license which was used for X11 releases 1–5, Python versions 0.9.0–1.2 and Wayland versions up to 1.8.92, amongst other software. It is sometimes[1] called the "X11 license" or "MIT X11 license"; however, this is ambiguous with the X11R6 licence (MIT/Expat plus non-endorsement, called "X11 License" by the FSF) despite being a completely different wording.

The unambiguous name Historical Permission Notice and Disclaimer for X11R5 licenses was coined in 2002[2] and is used by both the OSI and the FSF.

Template parameters

ParameterDescriptionDefaultStatus
1Copyright holderemptysuggested
2Copyright yearsemptysuggested
copyright-noticeCopyright noticeOverride the default structure of the copyright notice (the OSI text does not prescribe a specific form).emptyoptional
no-nonendorsementNo non-endorsement clauseOmit the (optional) non-endorsement clausefalseoptional
related-entitiesRelated entitiesNames other than the name given as copyright holder listed in the non-endorsement clauseemptyoptional
no-short-warrantyNo short warranty disclaimerOmit the (optional) short warranty disclaimerfalseoptional
no-long-warrantyNo long warranty disclaimerOmit the (optional) long warranty disclaimerfalseoptional
monosyndeton-variantMonosyndeton variantOSI-permitted minor variant in which the "and" between the first two conditions is replaced with a comma.falseoptional
definite-article-variantDefinite article variantOSI-permitted minor variant saying "the copyright notice" rather than "that copyright notice"falseoptional
no-ofNon-"of" variantOSI-permitted minor variant omitting "of" before the entity names in the non-endorsement clause.falseoptional
unspliced-variantNon-comma-spliced variantOSI-permitted minor variant removing comma splicing in the long warranty disclaimerfalseoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

License template for the [[:w:Historical Permission Notice and Disclaimer|Historical Permission Notice and Disclaimer]] (X11R5 license)

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Copyright holder1

Unknownsuggested
Copyright years2

Unknownsuggested
Copyright noticecopyright-notice

Override the default structure of the copyright notice (the OSI text does not prescribe a specific form).

Unknownoptional
Definite article variantdefinite-article-variant

OSI-permitted minor variant saying "the copyright notice" rather than "that copyright notice"

Default
false
Booleanoptional
Monosyndeton variantmonosyndeton-variant

OSI-permitted minor variant in which the "and" between the first two conditions is replaced with a comma.

Default
false
Booleanoptional
No long warranty disclaimerno-long-warranty

Omit the (optional) long warranty disclaimer

Default
false
Booleanoptional
No non-endorsement clauseno-nonendorsement

Omit the (optional) non-endorsement clause

Default
false
Booleanoptional
Non-"of" variantno-of

OSI-permitted minor variant omitting "of" before the entity names in the non-endorsement clause.

Default
false
Booleanoptional
No short warranty disclaimerno-short-warranty

Omit the (optional) short warranty disclaimer

Default
false
Booleanoptional
Related entitiesrelated-entities

Names other than the name given as copyright holder listed in the non-endorsement clause

Unknownoptional
Non-comma-spliced variantunspliced-variant

OSI-permitted minor variant removing comma splicing in the long warranty disclaimer

Default
false
Booleanoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement: In the "Permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section

Relies on:
{{Other License-Layout}}

See also

X11R6.0 and later are under {{MIT}}/{{X11}}, while Python switched to {{Python 1.3–1.6alpha2}}, several other licenses and eventually {{PSFL}}. {{ISC}} is a simplied derivative of the HPND.