Difference between revisions of "Template:License CC"

From Bronies.wiki
Jump to navigation Jump to search
(Created page with "{| class="box gray license" cellpadding="0" cellspacing="10" |- | width="64" valign="top" | 64px|link= | valign="top" | '''This file is licensed un...")
 
(Update to use rights/conditions parameters to build license name/URL.)
Line 2: Line 2:
 
|-
 
|-
 
| width="64" valign="top" | [[File:Cc.logo.circle.svg|64px|link=]]
 
| width="64" valign="top" | [[File:Cc.logo.circle.svg|64px|link=]]
| valign="top" | '''This file is licensed under the [{{{link}}} Creative Commons {{{name}}}] license.'''
+
| valign="top" | '''This file is licensed under the [https://creativecommons.org/licenses/by{{#if: {{{nc|}}} | -nc }}{{#if: {{{nd|}}} | -nd }}{{#if: {{{sa|}}} | -sa }}/{{{version}}}/ Creative Commons BY{{#if: {{{nc|}}} | -NC }}{{#if: {{{nd|}}} | -ND }}{{#if: {{{sa|}}} | -SA }} {{{version}}} International] license.'''
  
 
You are free:
 
You are free:
Line 9: Line 9:
  
 
Under the following conditions:
 
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.
+
* '''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.{{#if: {{{sa|}}}
{{#if: {{{sa|}}} | * '''share alike''' — If you remix, transform, or build upon the material, you must distribute your contributions under the [https://creativecommons.org/share-your-work/licensing-considerations/compatible-licenses same or compatible license] as the original. }}
+
  | * '''share alike''' — If you remix, transform, or build upon the material, you must distribute your contributions under the [https://creativecommons.org/share-your-work/licensing-considerations/compatible-licenses same or compatible license] as the original.
{{#if: {{{nc|}}} | * '''non-commercial''' — You may not use the material for commercial purposes. }}
+
}}{{#if: {{{nc|}}}  
{{#if: {{{nd|}}} | * '''no derivatives''' — If you remix, transform, or build upon the material, you may not distribute the modified material. }}
+
  | * '''non-commercial''' — You may not use the material for commercial purposes.
 +
}}{{#if: {{{nd|}}}  
 +
  | * '''no derivatives''' — If you remix, transform, or build upon the material, you may not distribute the modified material.
 +
}}
 +
* '''no additional restrictions''' — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
 
| width="64" valign="top" |
 
| width="64" valign="top" |
 
|-
 
|-

Revision as of 11:17, 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.