This is an old revision of this page, as edited by Anomie (talk | contribs) at 02:15, 17 November 2013 (Changed protection level of Template:Self: Allow templateeditors to edit, per WT:RFPP#Mass protection lowering from "sysop" to "editprotected" (script-assisted edit) ( (indefinite) (indefinite) [Move=Block all non-admin)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]
I, the copyright holder of this work, hereby publish it under the following license:
{{{{{1}}}|dw=no|date=|migration=Template:Self/migration }}
This template uses Lua:
This template is used on approximately 46,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. Using this template in lists (i.e. using * {{self|cc-by-3.0}}
) is discouraged. Doing so will lead to lint errors.
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:
|
Limitations
This template cannot be used on a line that starts with *
or #
. Doing so will cause syntax errors on the rendered page.
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: