Difference between revisions of "Template:Self"
Jump to navigation
Jump to search
(Expanded and reformatted the examples.) |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
If more than one licence, you can select one: | If more than one licence, you can select one: | ||
-->{{#if: {{{2|}}}|<center>''You may select the license of your choice.''</center>|}} | -->{{#if: {{{2|}}}|<center>''You may select the license of your choice.''</center>|}} | ||
− | |}<includeonly>{{ | + | |}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:Self-published work|{{PAGENAME}}]]}}}}}</includeonly><noinclude> |
{{template info|1= | {{template info|1= | ||
__NOTOC__ | __NOTOC__ | ||
Line 53: | Line 53: | ||
* {{tl|PD-self}} – Can be used when releasing a work to the public domain (an alternative is {{tl|Cc-zero}}). | * {{tl|PD-self}} – Can be used when releasing a work to the public domain (an alternative is {{tl|Cc-zero}}). | ||
+ | === GPLv3 === | ||
+ | |||
+ | {{obr}}self{{!}}GPLv3{{cbr}} | ||
+ | |||
+ | {{self|GPLv3}} | ||
}} | }} | ||
− | [[Category: | + | [[Category:Licence templates]] |
</noinclude> | </noinclude> |
Latest revision as of 20:24, 26 October 2020
Template documentation
Contents
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
{{self|cc-by-sa}}
|
{{self|cc-by-sa-4.0}}
|
{{Self|GFDL|cc-by-sa-4.0}}
|
Related templates
- {{PD-self}} – Can be used when releasing a work to the public domain (an alternative is {{Cc-zero}}).
GPLv3
{{self|GPLv3}}
|