Template:Self: Difference between revisions

From OIAr
Jump to navigation Jump to search
(cruft)
(fix wrong cut)
Line 1: Line 1:
{| style="margin:0.5em auto; width:90%; background-color:#f0f0f0; border:2px solid #aaaaaa; padding:2px;"
{| style="margin:0.5em auto; width:90%; background-color:#f0f0f0; border:2px solid #aaaaaa; padding:2px;"
| {{center|'''''{{{author|I}}}, the copyright holder of this work,''' hereby publish{{#if: {{{author|}}}|es|}} it under the following license{{#if: {{{2|}}}|s|}}:''}}
| {{center|'''''{{{author|I}}}, the copyright holder of this work,''' hereby publish{{#if: {{{author|}}}|es|}} it under the following license{{#if: {{{2|}}}|s|}}:''}}
{{center|''You may select the license of your choice.''}}
{{center|''<!--
//-->{{{{{1}}}|date={{{date|}}} }} <!--
//-->{{#if: {{{2|}}} |{{ {{{2}}}|date={{{date|}}} }} }} <!--
//-->{{#if: {{{3|}}} |{{ {{{3}}}|date={{{date|}}} }} }} <!--
//-->{{#if: {{{4|}}} |{{ {{{4}}}|date={{{date|}}} }} }} <!--
//-->{{#if: {{{5|}}} |{{ {{{5}}}|date={{{date|}}} }} }} <!--
//-->{{#if: {{{6|}}} |{{ {{{6}}}|date={{{date|}}} }} }}}} <!--
//-->{{#if: {{{2|}}}|{{center|{{lang|en|''You may select the license of your choice.''}}}}|}}
|}<includeonly>[[Category:Self-published work|{{PAGENAME}}]]</includeonly><noinclude>
|}<includeonly>[[Category:Self-published work|{{PAGENAME}}]]</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 14:54, 24 March 2013

I, the copyright holder of this work, hereby publish it under the following license:
{{{{{1}}}|date= }}
Template documentation

This template accepts up to 6 licenses (the first 6 unnamed parameters, which should be the names of image license templates), and displays them as options to choose between in a multi-license. If the image was not uploaded by its author, you can change "I" at the start of the template to another name by setting the author= parameter.

Here are examples of multi-license templates along with links to their component parts:

{{Self |cc-by-sa-3.0| GFDL}}
{{Self |cc-by-sa-3.0}}
{{Self |cc-by-3.0}}

Here below is what the first example template produces when saved in an image page.

{{Self |cc-by-sa-3.0| GFDL}}

produces

I, the copyright holder of this work, hereby publish it under the following licenses:
This template should only be used on file pages.