Difference between revisions of "Template:License CC"

From Bronies.wiki
Jump to navigation Jump to search
(Update to use rights/conditions parameters to build license name/URL.)
m (Remove from licensing template category (as it is not itself a license type))
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
You are free:
 
You are free:
* '''to share''' — To copy, distribute and transmit the work.
+
* '''to share''' — To copy, distribute and transmit the work.{{#if: {{{nd|}}} |
{{#if: {{{nd|}}} | | * '''to remix''' — To adapt the work. }}
+
| * '''to remix''' — To adapt the work.
 +
}}
  
 
Under the following conditions:
 
Under the following conditions:
Line 19: Line 20:
 
| width="64" valign="top" |
 
| width="64" valign="top" |
 
|-
 
|-
|}<includeonly>[[Category:Files with a Creative Commons license]]</includeonly><noinclude>
+
|}<includeonly>{{#ifeq: {{NAMESPACE}} | {{ns:File}} | [[Category:Files with a Creative Commons license]] }}</includeonly><noinclude>
 
{{ Documentation }}
 
{{ Documentation }}
[[Category:Licensing templates]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:31, 5 October 2020

Cc.logo.circle.svg This file is licensed under the Creative Commons BY {{{version}}} International license.

You are free:

  • to share — To copy, distribute and transmit the work.
  • to remix — To adapt the work.

Under the following conditions:

  • attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • no additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
This documentation is transcluded from Template:License CC/doc and needs to be edited separately.

This is a metatemplate (a template used to create other templates) used for Creative Commons license templates, except for {{License PD CC0}}, which is a public domain license.

Usage

It is required to provide the license version. Creative Commons licenses have differences between versions, and a work licensed under one version may not be transferable to a newer version.

The rights and conditions of the license should be defined at the same time. The right to share and the conditions to provide attribution and not apply additional restrictions re always shown—as these are true of all Creative Commons licenses. The right to remix is shown unless nd is set.

| sa=ShareAlike — Derivative works of the material must be shared under the same or a compatible license.

| nc=NonCommerical — The material must not be used for commercial purposes.

| nd=NoDerivatives — The material must not be modified. If this is set to true, the right to remix is automatically removed.

This information is used to build the license name and link. Not all combinations of the above produce a valid license. For example, there isn't a license that is both ShareAlike and NoDerivatives.