Template:Self/doc: Difference between revisions

From OIAr
Jump to navigation Jump to search
(remove migration stuff)
(remove unused lic example)
 
Line 3: Line 3:
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.
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 4 examples of multi-license templates along with links to their component parts:  
Here are examples of multi-license templates along with links to their component parts:  


{| class="wikitable"
{| class="wikitable"
|-
|-
|<nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:cc-by-sa-3.0|cc-by-sa-3.0]]<nowiki>|</nowiki> [[Template:GFDL|GFDL]]<nowiki>}}</nowiki>
|<nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:cc-by-sa-3.0|cc-by-sa-3.0]]<nowiki>|</nowiki> [[Template:GFDL|GFDL]]<nowiki>}}</nowiki>
|-
|<nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:cc-by-sa-3.0,2.5,2.0,1.0|cc-by-sa-3.0,2.5,2.0,1.0]] <nowiki>|</nowiki>[[Template:GFDL|GFDL]]<nowiki>}}</nowiki>
|-
|-
|<nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:cc-by-sa-3.0|cc-by-sa-3.0]]<nowiki>}}</nowiki>
|<nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:cc-by-sa-3.0|cc-by-sa-3.0]]<nowiki>}}</nowiki>

Latest revision as of 13:10, 24 March 2013

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.
You may select the license of your choice.