Template:License cc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Duskey m (fine tuning) |
sims>Duskey (added documentation) |
||
Line 3: | Line 3: | ||
{{#if: {{{by|}}} | [[File:Cc by attribution.png|20px|link=http://creativecommons.org/licenses/]] }}{{#if: {{{sa|}}} | [[File:Cc sa share alike.png|20px|link=http://creativecommons.org/licenses/]] }}{{#if: {{{nc|}}} | [[File:Cc nc noncommercial.png|20px|link=http://creativecommons.org/licenses/]] }}{{#if: {{{nd|}}} | [[File:Cc nd noderivs.png|20px|link=http://creativecommons.org/licenses/]] }} |
{{#if: {{{by|}}} | [[File:Cc by attribution.png|20px|link=http://creativecommons.org/licenses/]] }}{{#if: {{{sa|}}} | [[File:Cc sa share alike.png|20px|link=http://creativecommons.org/licenses/]] }}{{#if: {{{nc|}}} | [[File:Cc nc noncommercial.png|20px|link=http://creativecommons.org/licenses/]] }}{{#if: {{{nd|}}} | [[File:Cc nd noderivs.png|20px|link=http://creativecommons.org/licenses/]] }} |
||
|'''Creative Commons:'''<br />''This file is licensed under the [[Wikipedia:Creative Commons|Creative Commons]] [http://creativecommons.org/licenses/ {{#if: {{{by|}}} | BY- }}{{#if: {{{sa|}}} | SA- }}{{#if: {{{nc|}}} | NC- }}{{#if: {{{nd|}}} | ND- }}{{#if: {{{version|}}} | {{{version}}} }}]{{#if: {{{attribution|}}} | <br />'''Attribution:''' {{{attribution}}} }} |
|'''Creative Commons:'''<br />''This file is licensed under the [[Wikipedia:Creative Commons|Creative Commons]] [http://creativecommons.org/licenses/ {{#if: {{{by|}}} | BY- }}{{#if: {{{sa|}}} | SA- }}{{#if: {{{nc|}}} | NC- }}{{#if: {{{nd|}}} | ND- }}{{#if: {{{version|}}} | {{{version}}} }}]{{#if: {{{attribution|}}} | <br />'''Attribution:''' {{{attribution}}} }} |
||
|}<noinclude>[[Category:Test templates|{{PAGENAME}}]]</noinclude> |
|}<noinclude>{{Documentation}}[[Category:Test templates|{{PAGENAME}}]]</noinclude> |
Revision as of 06:14, 25 July 2010
File:Creative commons some rights reserved copyright.svg |
Creative Commons: This file is licensed under the Creative Commons [1] |
- Description
- New template for files under the Creative Commons license.
- Notes
- Puts files in Category:Creative Commons license files.
- Syntax
{{License cc |version = |sa = |attribution = }}
- Optional parameters
- All parameters are optional, but do fill in version. It's also bound to be under one of the conditions.
- Version is 2.0, 2.5 or 3.0. None will assume version 1.0
- Attribution is the name of the author. Wiki-code works here, though keep it simple.
- Input
{{License cc |version = 3.0 |sa = y |attribution = [[User:Duskey|Duskey]] }}
- Output
File:Creative commons some rights reserved copyright.svg |
Creative Commons: This file is licensed under the Creative Commons SA-3.0 Attribution: Duskey |
Visit Template:License cc/doc to edit this text! (How does this work?) (Refresh this text - why?)