m Changed protection level of Template:Self: Allow templateeditors to edit, per WT:RFPP#Mass protection lowering from "sysop" to "editprotected" (script-assisted edit) ([Edit=Allow only template editors and admins] (indefinite) [Move=Block all non-admin |
AnomieBOT II (talk | contribs) m Unsubstifying template, so {{subst:Self}} results in {{Self|date=...}} |
||
Line 1: | Line 1: | ||
{{ {{{|safesubst:}}}#invoke:Unsubst||$N=Self |date=__DATE__ |$B= |
|||
{| 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|}}:''}} |
||
Line 9: | Line 10: | ||
//-->{{#if: {{{6|}}} |{{ {{{6}}}|dw={{{dw|no}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }}}}<!-- |
//-->{{#if: {{{6|}}} |{{ {{{6}}}|dw={{{dw|no}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }}}}<!-- |
||
//-->{{#if: {{{2|}}}|{{center|{{lang|en|''You may select the license of your choice.''}}}}|}} |
//-->{{#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 18:22, 17 November 2013
{
This template accepts licenses as 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.
The optional migration= parameter corresponds to keywords in the {{License migration}} template series and is used to track the license update process for GFDL images.
Here are 4 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,2.5,2.0,1.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:
{
Limitations
This template cannot be used on a line that starts with *
or #
. Doing so will cause syntax errors on the rendered page.