Difference between revisions of "Template:MIT/doc"
PhilmacFLy (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 15:30, 15 January 2017
The MIT License (Expat license or X11 license) template
Contents
Usage
{{MIT |1= |2= |3= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Original author of the work; optional but strongly recommended | The author(s) | optional | |
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 "⧼wm-license-information-permission⧽" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section
Localization
English |
This template makes use of {{Autotranslate}} and the translate extension.
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: Lua error in mw.title.lua at line 206: too many expensive function calls. 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: Lua error in mw.title.lua at line 206: too many expensive function calls. 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: Lua error in mw.title.lua at line 206: too many expensive function calls. with a notice "To uploader: MIT License has various versions..." at the bottom. The file would be placed in Category:Expat/MIT License.