Difference between revisions of "Template:Self"
Jump to navigation
Jump to search
(Created an initial template by copying http://wiki.flightgear.org/index.php?title=Template:Self&oldid=74607) |
m |
||
(4 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 32: | Line 32: | ||
--> | --> | ||
== Examples == | == Examples == | ||
− | |||
− | |||
− | <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 == | ||
* {{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}}
|