Template:Self: Difference between revisions

BudjarnLambeth (talk | contribs)
m Update todo
Fredg999 (talk | contribs)
Switch license according to given parameter, move doc, categories
 
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/deed.en Creative Commons Attribution-ShareAlike 4.0] License.''
'''''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}}
{{Wikipedia}}
This is the template that handles licensing information when you upload a file to the wiki and select one of the “own work” options from the drop-down menu.


It outputs the following in the description of the file you’ve uploaded: “'''''I, the copyright holder of this work,''' hereby publish it under the [https://creativecommons.org/licenses/by-sa/4.0/deed.en Creative Commons Attribution-ShareAlike 4.0] License.''”
[[Category:Xenharmonic Wiki file copyright templates]]
[[Category:Templates]]
 
{{todo|expand|inline=1|comment=Find some way for this template to detect whether or not the author selected “share-alike” or not in the drop down menu when they uploaded the file, and have the template’s output reflect that.}}
</noinclude>
</noinclude>