Template:License: Difference between revisions
Jump to navigation
Jump to search
(Added support for the "CC BY-NC-ND 4.0" licence.) |
(Added support for the "CC BY-NC-SA 3.0" licence.) |
||
Line 1: | Line 1: | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
| CC BY-NC-SA 3.0 = [[Image:CC some rights reserved.png|x24px|link=Template:Cc-by-nc-sa-3.0]] <!-- | |||
-->[[Image:Cc-by new white.png|x24px|link=Template:Cc-by-nc-sa-3.0]] <!-- | |||
-->[[Image:Cc-nc.png|x24px|link=Template:Cc-by-nc-sa-3.0]] <!-- | |||
-->[[Image:Cc-sa.png|x24px|link=Template:Cc-by-nc-sa-3.0]] <!-- | |||
-->[[Template:Cc-by-nc-sa-3.0|3.0]] | |||
| CC BY-NC-SA 4.0 = [[Image:CC some rights reserved.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!-- | | CC BY-NC-SA 4.0 = [[Image:CC some rights reserved.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!-- | ||
-->[[Image:Cc-by new white.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!-- | -->[[Image:Cc-by new white.png|x24px|link=Template:Cc-by-nc-sa-4.0]] <!-- | ||
Line 48: | Line 53: | ||
{{license|GPLv3+}} | {{license|GPLv3+}} | ||
=== CC BY-NC-SA 4.0 === | === Creative Commons === | ||
==== CC BY-NC-SA ==== | |||
===== Version 3.0 ===== | |||
{{obr}}license{{!}}CC BY-NC-SA 3.0{{cbr}} | |||
{{license|CC BY-NC-SA 3.0}} | |||
===== Version 4.0 ===== | |||
{{obr}}license{{!}}CC BY-NC-SA 4.0{{cbr}} | {{obr}}license{{!}}CC BY-NC-SA 4.0{{cbr}} | ||
{{license|CC BY-NC-SA 4.0}} | {{license|CC BY-NC-SA 4.0}} | ||
=== CC BY-NC-ND 4.0 === | ==== CC BY-NC-ND 4.0 ==== | ||
{{obr}}license{{!}}CC BY-NC-ND 4.0{{cbr}} | {{obr}}license{{!}}CC BY-NC-ND 4.0{{cbr}} | ||
{{license|CC BY-NC-ND 4.0}} | {{license|CC BY-NC-ND 4.0}} |
Revision as of 20:19, 7 August 2016
The following template description is not displayed when the template is inserted in an article.
Goal
To be used to license files.
The template automatically sets the following categories: Category:GPL,
Usage
{{license | type }}
- type
- The name of the license.
License types
Value | Linked category | Text/graphic |
---|---|---|
default | Category:GPL | GPLv2+ |
"GPLv2+" | Category:GPL | GPLv2+ |
"GPLv3+" | Category:GPLv3+ | |
"CC BY-SA 3.0" | Category:CC-BY-SA-3.0 | CC BY-SA 3.0 |
"CC BY-SA 4.0" | Category:CC-BY-SA-4.0 | CC BY-SA 4.0 |
"CC BY-NC-SA 3.0" | Category:CC-BY-NC-SA-3.0 | 3.0 |
"CC BY-NC-SA 4.0" | Category:CC-BY-NC-SA-4.0 | 4.0 |
"CC BY-NC-ND 3.0" | Category:CC-BY-NC-ND-3.0 | CC BY-NC-ND 3.0 |
"CC BY-NC-ND 4.0" | Category:CC-BY-NC-ND-4.0 | 4.0 |
Examples
Default
{{license}}
GPLv2+
{{license|GPLv2+}}
GPLv3+
{{license|GPLv3+}}
Creative Commons
CC BY-NC-SA
Version 3.0
{{license|CC BY-NC-SA 3.0}}
Version 4.0
{{license|CC BY-NC-SA 4.0}}
CC BY-NC-ND 4.0
{{license|CC BY-NC-ND 4.0}}
Unknown license
{{license|never-seen-before-open-source-license}}
never-seen-before-open-source-license