Template:Self/doc

From HKVFS Wiki
< Template:Self
Revision as of 10:51, 14 August 2024 by Jay (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

I, the copyright holder of this work, hereby publish it under the following licenses:
You may select the license of your choice.

Limitations

This template cannot be used on a line that starts with * or #. Doing so will cause syntax errors on the rendered page.