Modèle:MIT/doc : Différence entre versions
m (1 révision importée) |
|
(Une révision intermédiaire par le même utilisateur non affichée) | |
(Aucune différence)
|
Version actuelle datée du 16 janvier 2016 à 18:24
This is a documentation subpage for . It contains usage information, categories, interlanguage links and other content that is not part of the original modèle page. |
The MIT License (Expat license or X11 license) template
Sommaire
Usage
{{MIT |1= |2= |3= }}
⧼templatedata-doc-params⧽
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Original author of the work | Author | required | |
2 | License; "Expat" or "X11"; optional but recommended; see Detailed Usage below | Expat | optional | |
3 | Year, normally it should be the year of first publication | empty | optional |
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 "Autorisation" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Conditions d'utilisation" section
Localization
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:MIT/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:MIT/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.
Note: Do not translate the words "Expat" and "X11" when they are used as parameters inside "{{}}".
Detailed Usage
MIT License has various versions, it may accurately refer to the Expat license or the X11 license. The "MIT License" often used and published on the official site of Open Source Initiative is the same as the Expat license. So It would be better if you specify the license more precisely:
Expat License
If you are sure that the work is licensed under the same version as the Expat license, you may use:
{{MIT|Thomas Edison|Expat}}
or
{{Expat|Thomas Edison}}
it would render as:
Copyright © Thomas Edison La permission est donnée, gratuitement, à n'importe quelle personne d'obtenir une copie de ce logiciel et des fichiers de documentation associés (le "Logiciel"), d'utiliser le Logiciel sans restriction, ce qui inclut sans limite le droit d'utiliser, copier, modifier, fusionner, publier, distribuer, sous-licencier et / ou vendre des copies du Logiciel, et de permettre aux personnes auxquelles le Logiciel est fourni de faire de même, avec les conditions suivantes : La notice de copyright ci-dessus et cette notice doivent être incluses dans toutes les copies ou portions substantielles du Logiciel. The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Software or the use or other dealings in the Software.
|
The file would be placed in Category:Expat/MIT License.
X11 License
If you are sure that the work is licensed under the same version as the X11 license, which prenvents the name(s) of the author(s) from being used in advertising, you may use:
{{MIT|Thomas Edison|X11}}
or
{{X11|Thomas Edison}}
it would render as:
Copyright © Thomas Edison La permission est donnée, gratuitement, à n'importe quelle personne d'obtenir une copie de ce logiciel et des fichiers de documentation associés (le "Logiciel"), d'utiliser le Logiciel sans restriction, ce qui inclut sans limite le droit d'utiliser, copier, modifier, fusionner, publier, distribuer, sous-licencier et / ou vendre des copies du Logiciel, et de permettre aux personnes auxquelles le Logiciel est fourni de faire de même, avec les conditions suivantes : La notice de copyright ci-dessus et cette notice doivent être incluses dans toutes les copies ou portions substantielles du Logiciel. The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Software or the use or other dealings in the Software. Except as contained in this notice, the name(s) of (the )Thomas Edison shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from (the )Thomas Edison.
|
The file would be placed in Category:X11 License.
Default MIT License
If you leave the second parameter blank:
{{MIT|Thomas Edison}}
it would render as:
Copyright © Thomas Edison La permission est donnée, gratuitement, à n'importe quelle personne d'obtenir une copie de ce logiciel et des fichiers de documentation associés (le "Logiciel"), d'utiliser le Logiciel sans restriction, ce qui inclut sans limite le droit d'utiliser, copier, modifier, fusionner, publier, distribuer, sous-licencier et / ou vendre des copies du Logiciel, et de permettre aux personnes auxquelles le Logiciel est fourni de faire de même, avec les conditions suivantes : La notice de copyright ci-dessus et cette notice doivent être incluses dans toutes les copies ou portions substantielles du Logiciel. The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Software or the use or other dealings in the Software.
|
with a notice "To uploader: MIT License has various versions..." at the bottom. The file would be placed in Category:Expat/MIT License.