Difference between revisions of "Template:File copyright"

From VideoLAN Wiki
Jump to navigation Jump to search
(Remove parameter |text=, simply check for first unnamed parameter)
m (Add copyright code "CC-BY-4.0" for Creative Commons Attribution 4.0 International)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{#switch:{{{1}}}
 
{{#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-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-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.
 
   |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).
 
   |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.
 
   |PD              = This file is in the '''Public Domain''' and may be used for any purpose.
 
   |#default        = {{{1|Copyright details}}}
 
   |#default        = {{{1|Copyright details}}}
Line 13: Line 17:
 
Copyright may be:
 
Copyright may be:
 
* CC-0
 
* CC-0
 +
* CC-BY-3.0
 +
* CC-BY-4.0
 
* CC-BY-NC-SA-2.0
 
* CC-BY-NC-SA-2.0
 +
* CC-BY-SA-3.0
 
* CC-BY-SA-4.0
 
* CC-BY-SA-4.0
 
* GPL
 
* GPL
 +
* LGPL-3.0+
 
* PD
 
* PD
  

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