Template:Self/doc: Difference between revisions
(WhatsHisName) |
(new doc) |
||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> 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. | ||
}} | |||
= | The optional ''migration='' parameter corresponds to keywords in the {{Tl|License migration}} template series and is used to track the [[M:license update|license update]] process for GFDL images. | ||
Here are 4 examples of multi-license templates along with links to their component parts: | |||
{| 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>{{Self| | | <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>{{Self| | | <nowiki>{{</nowiki>[[Template:Self|Self]] <nowiki>|</nowiki>[[Template:Cc-by-3.0|cc-by-3.0]]<nowiki>}}</nowiki> | ||
|} | |} | ||
Here below is what the first example template produces when saved in an image page. | |||
:<nowiki>{{Self |cc-by-sa-3.0| GFDL}}</nowiki> | |||
produces | |||
{{Self |cc-by-sa-3.0| GFDL}} | |||
<includeonly> | |||
<!-- ADD CATEGORIES BELOW THIS LINE --> | |||
[[Category:Wikipedia image copyright templates|Self]] | |||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | |||
[[cy:Nodyn:Self]] | |||
[[eo:Template:Self]] | |||
[[it:Template:Self]] | |||
[[ja:Template:Self]] | |||
[[mk:Шаблон:Себе]] | |||
[[ka:თარგი:Self]] | |||
[[vi:Tiêu bản:Self]] | |||
[[zh:Template:Self]] | |||
</includeonly> |
Revision as of 13:14, 25 February 2012
![]() |
This is a documentation subpage for Template:Self (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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.
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
|