Changes
allow template to round and format usage count
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{High-use|77917}}
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>{{</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-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|date=October 2015}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- PLEASE ADD CATEGORIES BELOW THIS LINE: -->
[[Category:File namespace templates|Self]]
}}</includeonly>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{High-use|77917}}
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>{{</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-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|date=October 2015}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox |
| <!-- PLEASE ADD CATEGORIES BELOW THIS LINE: -->
[[Category:File namespace templates|Self]]
}}</includeonly>