Template:CCLicense/doc
Template:CCLicense is a meta-template for generating Creative Commons license tags. Logic is delegated to Module:CCLicense.
TemplateData
Meta-template for constructing Creative Commons license cards via Module:CCLicense.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| CC0 / Public Domain | zero cc0 | Generates CC0 Universal Public Domain rights and metadata.
| Boolean | optional |
| Attribution (BY) | by | Adds Attribution requirement text (sets metadata attrreq="true"). Defaults to true for standard licenses.
| Boolean | optional |
| NonCommercial (NC) | nc | Adds NonCommercial restriction text (sets metadata nonfree="true").
| Boolean | optional |
| ShareAlike (SA) | sa | Adds ShareAlike condition text.
| Boolean | optional |
| NoDerivatives (ND) | nd | Adds NoDerivatives restriction text (removes 'to remix' permission, sets metadata nonfree="true", and overrides ShareAlike).
| Boolean | optional |
| Version | version | License version string (e.g., 4.0, 3.0, 2.5).
| String | required |
| Jurisdiction / Port | jurisdiction port | Ported country code (e.g., de, us, uk). | String | optional |
| Attribution Entity | attr attribution author | Custom attribution string passed directly to {{License card}} as attr. | String | optional |
Examples
CC BY-SA 4.0 with Custom Attribution
{{CCLicense
| version = 4.0
| by = yes
| sa = yes
| attr = Canonical Ltd.
}}This file is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.
You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- attribution – You must give appropriate credit to Canonical Ltd., provide a link to the license, and indicate if changes were made.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
CC BY-NC 3.0 Germany (Ported License)
{{CCLicense
| version = 3.0
| by = yes
| nc = yes
| jurisdiction = de
| attr = Jane Doe
}}This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 De license.
You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- attribution – You must give appropriate credit to Jane Doe, provide a link to the license, and indicate if changes were made.
- noncommercial – You may not use the material for commercial purposes.
CC0 1.0 Universal (Public Domain Dedication)
{{CCLicense
| version = 1.0
| zero = yes
}}This work has been dedicated to the public domain under the CC0 1.0 Universal Public Domain Dedication.
You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.