Template:Derived from
This file was derived from:
If your file is a derivative work of another file on Commons, use this template to link it.
The template automatically sets the following categories: Derivative versions
Usage
Uses Lua: |
Examples
{{ Derived from | Example.jpg | by = {{u|example|'''original''' author}} }} gives
This file was derived from: Example.jpg by original author
{{ Derived from | Example.jpg | Beispiel.png | display = 16 }} gives
This file was derived from:
{{ Derived from | Example.jpg | . | .s | .g | display = 16 | opt = l }} ("l
" for "left") gives
This file was derived from:
This template complements {{Derivative versions}}.
The template takes no parameters.
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
See also
Consider also using the following specific derivation templates, for retouching and extracting or cropping:
- {{Retouched picture}}
- {{Extracted from}}/{{Image extracted}}
- {{Own based}}
- {{Attrib}} or the deprecated version {{AttribSVG}}
The counterpart:
For mere conversions to SVG:
- {{AutVec}} - ("authors of vectorized raster graphic")
by User
The file specified with parameter 1, or each file specified with parameters 1 to n, can also be linked with the name of its author.
A value given with the parameter "by=" will be assigned to each file which does not have an individual author assignment with byn.
An individual author assignment can either specify an author, or with no value byn=
that no "by" should exist for that file n
.
The 'global' parameter "by=user" is for all files that neither get an own author name byn=user
, nor are excluded byn=
.
- Abbrevition :
In simple cases the |by=
can be abbreviated with "/":
{{ Derived from | Example.jpg/Example | example.svg/Extra }}
renders as
This file was derived from:
- Example.jpg by Example
- Example.svg by Extra
Colon
The template finishes its display with a new line
; when the template is used just to display the text, like
{{ Derived from }} - This file was derived from: which will not be appropriate if continuation in the same line is required;
the new line
can be avoided by using a colon instead of the missing user name, e.g.
{{ Derived from | by = : }}{{ F | Example.svg }}{{ By | example }}<br /> - This file was derived from: Example.svg by example
without inbetween spaces; a final new line
can be forced manually, as shown, or by passing "br" as a second parameter to {{By}}.
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)