Open main menu

Changes

Template:Self

3,444 bytes added, 21:23, 23 October 2020
Created an initial template by copying http://wiki.flightgear.org/index.php?title=Template:Self&oldid=74607
{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:#f0f0f0; border:2px solid #e0e0e0;" class="licensetpl_wrapper"
| <center>'''I, the copyright holder of this work, hereby publish it under the following license{{#if: {{{2|}}}|s}}:'''</center><!--
-->{{#if: {{{1|}}} |{{{{{1}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{2|}}} |{{{{{2}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{3|}}} |{{{{{3}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{4|}}} |{{{{{4}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{5|}}} |{{{{{5}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
-->{{#if: {{{6|}}} |{{{{{6}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!--
If more than one licence, you can select one:
-->{{#if: {{{2|}}}|<center>''You may select the license of your choice.''</center>|}}
|}<includeonly>{{file other|{{{category|[[Category:Self-published work|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
{{template info|1=
__NOTOC__
== 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 ==
<nowiki>{{</nowiki>'''Self'''<nowiki>|</nowiki>licence<nowiki>|</nowiki>''licence(n)''<!-- <nowiki>|</nowiki>''author=''<nowiki>|</nowiki>''attribution='' --><nowiki>}}</nowiki>

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.

<!-- Why are the following two parameters even here? They are not used by transcluded templates or templates transcluding this template. /Johan G, 2 Aug 2014
; author: The author of the work if the uploader is not the author.

; attribution: Attribution note, if different from the '''author''' parameter. Defaults to '''Author'''.
-->
== Examples ==
<nowiki>{{Self|cc-by-sa}}</nowiki>
{{Self|cc-by-sa}}

<nowiki>{{Self|GFDL|cc-by-sa}}</nowiki>
{{Self|GFDL|cc-by-sa}}

== Related templates ==
* {{tl|PD-self}} &ndash; Can be used when releasing a work to the public domain (an alternative is {{tl|Cc-zero}}).

}}

[[Category:License templates]]
</noinclude>
Trusted, Bureaucrats
4,228

edits