Template:CC-BY-SA

Free Creative Commons
To use this template, type  on the image information page. Replace "Version" with the license version you want ("all" for all versions) and "Author" with information about the author. To remove the condition "Attribution" use the parameter, to remove the condition "Share Alike" use the parameter. The files with this template will be automatically added to the Category:Images with a Free Creative Commons License. The image in the template is a link to this category.

Non-Free Creative Commons
To use the license ND (No Derivative Works) or NC (Noncommercial), add the parameters  (ND automatically removes SA) and   respectively, the files with these licenses will be automatically added to the Category:Images with a Non-Free Creative Commons License. The image in the template is a link to this category.

Model
http://commons.wikimedia.org/wiki/Template:Cc-by-sa-3.0