Template:Cc-layout: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 10: | Line 10: | ||
| #default = {{{license}}} | | #default = {{{license}}} | ||
}} {{{version}}}] license. | }} {{{version}}}] license. | ||
'''Attribution: {{{attribution}}} | {{#if:{{{attribution|}}}|'''Attribution:''' {{{attribution}}}|}} | ||
|- | |- | ||
|style="width:120px;" valign="top"|[[File:CC some rights reserved.png|90px|link=]]<br>{{#switch: {{{license|}}} | |style="width:120px;" valign="top"|[[File:CC some rights reserved.png|90px|link=]]<br>{{#switch: {{{license|}}} | ||
| Line 37: | Line 37: | ||
| by-nc-nd = * '''No Derivative Works''' — You may not alter, transform, or build upon this work. | | by-nc-nd = * '''No Derivative Works''' — You may not alter, transform, or build upon this work. | ||
| #default = }} | | #default = }} | ||
|}<noinclude>[[Category:Copyright templates]]</noinclude> | |}<noinclude> | ||
<includeonly>[[Category:Creative Commons {{{license}}}-{{{version}}} images]]</includeonly> | [[Category:Copyright templates|CC-layout]] | ||
{{documentation}} | |||
</noinclude> | |||
<includeonly>[[Category:Creative Commons {{#switch: {{{license|}}} | |||
| by = Attribution | |||
| by-sa = Attribution Share Alike | |||
| by-nd = Attribution No Derivatives | |||
| by-nc = Attribution Non-Commercial | |||
| by-nc-sa = Attribution Non-Commercial Share Alike | |||
| by-nc-nd = Attribution Non-Commercial No Derivatives | |||
| #default = {{{license}}} | |||
}} {{{version}}} images]]</includeonly> | |||
Latest revision as of 14:27, 4 November 2010
| This file is licensed under the Creative Commons {{{license}}} {{{version}}} license. | |
{{{license}}} |
You are free:
Under the following conditions:
|
[edit]
Template documentation
This is a general layout template for all Creative Commons templates.
Usage
{{cc-layout
| license = abbreviation of the license
| version = version number of the license
| attribution = optional attribution
}}
Parameters
- license
- Abbreviation of the license. Available options are by, by-sa, by-nd, by-nc, by-nc-sa and by-nc-nd.
- version
- Version number of the license. Available options are 1.0, 2.0, 2.5 and 3.0.
- attribution
- The attribution string as specified by the licensor, that re-users are obliged to name.