Template:Self: Difference between revisions
Jump to navigation
Jump to search
Create wanted template |
Switch license according to given parameter, move doc, categories |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
'''I, the copyright holder of this work, hereby publish it under the [https://creativecommons.org/licenses/by-sa/4.0/ | '''''I, the copyright holder of this work,''' hereby publish it under the {{#switch: {{{1|}}} | cc-by-sa-4.0 = [https://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0] | cc-by-4.0 = [https://creativecommons.org/licenses/by/4.0/ Creative Commons Attribution 4.0] | cc-zero = [https://creativecommons.org/publicdomain/zero/1.0/ Creative Commons Zero 1.0] | ''unspecified CC license (see [[Template:Self]])''}} License.'' | ||
</includeonly> | </includeonly><noinclude> | ||
<noinclude> | {{documentation}} | ||
{{ | |||
[[Category:Xenharmonic Wiki file copyright templates]] | |||
[[Category: | |||
</noinclude> | </noinclude> |
Latest revision as of 22:38, 6 May 2025
The Self template handles licensing information when you upload a file to the wiki and select one of the "own work" options from the drop-down menu.
Usage
The template uses a single unnamed parameter to determine the text to display.
Licensing option | Parameter | Displayed text |
---|---|---|
Own work, Creative Commons Attribution-Share Alike 4.0 | cc-by-sa-4.0 | I, the copyright holder of this work, hereby publish it under the Creative Commons Attribution-ShareAlike 4.0 License. |
Own work, Creative Commons Attribution 4.0 | cc-by-4.0 | I, the copyright holder of this work, hereby publish it under the Creative Commons Attribution 4.0 License. |
Own work, release into public domain under the CC-Zero license | cc-zero | I, the copyright holder of this work, hereby publish it under the Creative Commons Zero 1.0 License. |