Difference between revisions of "Template:Self"

From relax wiki
Jump to navigation Jump to search
(Created an initial template by copying http://wiki.flightgear.org/index.php?title=Template:Self&oldid=74607)
 
(Expanded and reformatted the examples.)
Line 32: Line 32:
 
-->
 
-->
 
== Examples ==
 
== Examples ==
<nowiki>{{Self|cc-by-sa}}</nowiki>
 
{{Self|cc-by-sa}}
 
  
  <nowiki>{{Self|GFDL|cc-by-sa}}</nowiki>
+
=== Creative Commons Share Alike ===
{{Self|GFDL|cc-by-sa}}
+
 
 +
{{obr}}self{{!}}cc-by-sa{{cbr}}
 +
 
 +
{{self|cc-by-sa}}
 +
 
 +
=== Creative Commons Share Alike 4.0 ===
 +
 
 +
{{obr}}self{{!}}cc-by-sa-4.0{{cbr}}
 +
 
 +
{{self|cc-by-sa-4.0}}
 +
 
 +
=== GFDL and Creative Commons Share Alike 4.0 ===
 +
 
 +
  <nowiki>{{Self|GFDL|cc-by-sa-4.0}}</nowiki>
 +
{{Self|GFDL|cc-by-sa-4.0}}
  
 
== Related templates ==
 
== Related templates ==

Revision as of 19:17, 26 October 2020

I, the copyright holder of this work, hereby publish it under the following license:

Template documentation

Goal

Template used to surround one or several license tags when the uploader is the author.

The template automatically add pages in the file namespace to Category:Self-published work.

Usage

{{Self|licence|licence(n)}}

All parameters but license are optional.

license
License. In essence the names of the templates in Category:License templates excluding the Template: namespace prefix.
license(n)
Up to five additional licenses.

Examples

Creative Commons Share Alike

{{self|cc-by-sa}}
I, the copyright holder of this work, hereby publish it under the following license:
Warning  You have indicated that you wish to release this work under a Creative Commons Attribution-ShareAlike license, however, you have not specified which version of the license you wish to release it under. In order for this license to be valid, a version number must be given. Files without a valid license will be deleted. The most current version of this license is Creative Commons Attribution-ShareAlike 4.0, which you can use by replacing "cc-by-sa" with "cc-by-sa-4.0" in the licensing template. If you intended to use any Creative Commons Attribution-ShareAlike licenses, replace "cc-by-sa" with "cc-by-sa-1.0+".

For example, instead of using {{cc-by-sa}}, you should use {{cc-by-sa-4.0}} or {{cc-by-sa-1.0+}}. Instead of using {{Self|GFDL|cc-by-sa}}, you should use {{Self|GFDL|cc-by-sa-4.0}} or {{Self|GFDL|cc-by-sa-1.0+}}.

Template:File other

Creative Commons Share Alike 4.0

{{self|cc-by-sa-4.0}}
I, the copyright holder of this work, hereby publish it under the following license:
CC some rights reserved

cc-by cc-sa

This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • 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.

Template:File other

GFDL and Creative Commons Share Alike 4.0

{{Self|GFDL|cc-by-sa-4.0}}
I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
CC some rights reserved

cc-by cc-sa

This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • 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.

You may select the license of your choice.
Template:File other

Related templates

  • {{PD-self}} – Can be used when releasing a work to the public domain (an alternative is {{Cc-zero}}).