Difference between revisions of "Template:Self"
Jump to navigation
Jump to search
{{#ifeq|File|}}
{{#ifeq|File|}}
{{#ifeq|File|}}
(Expanded and reformatted the examples.) |
(Switch away from the non-existent {{file other}} template.) |
||
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|File|{{{category|[[Category:Self-published work|{{PAGENAME}}]]}}}}}</includeonly><noinclude> |
{{template info|1= | {{template info|1= | ||
__NOTOC__ | __NOTOC__ |
Revision as of 19:18, 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}}
|