Difference between revisions of "Template:File copyright"
Jump to navigation
Jump to search
(Create meta-template for Category:File copyright templates) |
m (Add copyright code "CC-BY-4.0" for Creative Commons Attribution 4.0 International) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="widebox" style="background: white;">{{{ | + | <div class="widebox center" style="color: initial; background: white;"> |
+ | {{#switch:{{{1}}} | ||
+ | |CC-0 = This file is provided under the '''[https://creativecommons.org/publicdomain/zero/1.0/ CC0 1.0 Universal Public Domain Dedication]''' license. | ||
+ | |CC-BY-3.0 = This file is under the '''[https://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported]''' license. | ||
+ | |CC-BY-4.0 = This file is under the '''[https://creativecommons.org/licenses/by/4.0/ Creative Commons Attribution 4.0 International]''' license. | ||
+ | |CC-BY-NC-SA-2.0 = This file is under the '''[https://creativecommons.org/licenses/by-nc-sa/2.0/ Creative Commons Attribution-NonCommercial-ShareAlike 2.0]''' license. | ||
+ | |CC-BY-SA-3.0 = This file is under the '''[https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 Unported]''' license. | ||
+ | |CC-BY-SA-4.0 = This file is under the '''[https://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0]''' license. | ||
+ | |GPL = This file is under the '''[https://www.gnu.org/licenses/gpl.html GNU General Public License]''' (any version ever published). | ||
+ | |LGPL-3.0+ = This file is under the '''[https://www.gnu.org/licenses/lgpl-3.0.html GNU Lesser General Public License]''' (version 3 or later). | ||
+ | |PD = This file is in the '''Public Domain''' and may be used for any purpose. | ||
+ | |#default = {{{1|Copyright details}}} | ||
+ | }}</div><noinclude> | ||
== Usage == | == Usage == | ||
− | <code>{{{{PAGENAME}}| | + | <code>{{{{PAGENAME}}|<nowiki><copyright>}}</nowiki></code> |
+ | |||
+ | Copyright may be: | ||
+ | * CC-0 | ||
+ | * CC-BY-3.0 | ||
+ | * CC-BY-4.0 | ||
+ | * CC-BY-NC-SA-2.0 | ||
+ | * CC-BY-SA-3.0 | ||
+ | * CC-BY-SA-4.0 | ||
+ | * GPL | ||
+ | * LGPL-3.0+ | ||
+ | * PD | ||
+ | |||
+ | Otherwise the information will be displayed as-is (wikimarkup allowed), e.g. <code>{{{{PAGENAME}}|<nowiki>custom}}</nowiki></code> will give <samp>custom</samp> | ||
[[Category:File copyright templates|*]] | [[Category:File copyright templates|*]] | ||
</noinclude> | </noinclude> |
Latest revision as of 07:52, 1 June 2019
Copyright details
Usage
{{File copyright|<copyright>}}
Copyright may be:
- CC-0
- CC-BY-3.0
- CC-BY-4.0
- CC-BY-NC-SA-2.0
- CC-BY-SA-3.0
- CC-BY-SA-4.0
- GPL
- LGPL-3.0+
- PD
Otherwise the information will be displayed as-is (wikimarkup allowed), e.g. {{File copyright|custom}}
will give custom