Template:Cc-layout: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '{| cellspacing="2" cellpadding="0" style="width:100%; clear:both; text-align:center; margin:0.5em auto; background-color:#f9f9f9; border:2px solid #e0e0e0;" |- |colspan="2"|This …' |
mNo edit summary |
||
| (7 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;"|[[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|}}} | ||
| by = [[File:cc-by.png|24px|link=]] | | by = [[File:cc-by.png|24px|link=]] | ||
| by-sa = [[File:cc-by.png|24px|link=]] [[File:cc-sa.png|24px|link=]] | | by-sa = [[File:cc-by.png|24px|link=]] [[File:cc-sa.png|24px|link=]] | ||
| 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> | ||
[[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.