Template:Derived from/doc: Difference between revisions
More actions
m +link |
m expansion |
||
| Line 10: | Line 10: | ||
|3d-en=an additional option for {{Tl|F}}, either "l" (left) or "b" (bordered) | |3d-en=an additional option for {{Tl|F}}, either "l" (left) or "b" (bordered) | ||
|3stat=optional- | |3stat=optional- | ||
|4=by | |||
|4d-en=a user name; when it starts with either a "{" or "[", then it will be used as it is,<br> otherwise as parameter for {{Tl|U}} | |||
|4stat=optional- | |||
|name={{BASEPAGENAME}} | |name={{BASEPAGENAME}} | ||
| Line 28: | Line 31: | ||
=== Examples === | === Examples === | ||
}} | }} | ||
<tt>{{Tlf|Derived from|Example.jpg}}</tt> {{LangSwitch | <tt>{{Tlf|Derived from|Example.jpg|by=username}}</tt> {{LangSwitch | ||
|de=ergibt | |de=ergibt | ||
|en=gives | |en=gives | ||
}}<br> | }}<br> | ||
{{Derived from|Example.jpg}} | {{Derived from|Example.jpg|by=example}} | ||
Revision as of 06:20, 9 June 2017
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: — none —
Usage
{{Derived from |1= }}
A namespace prefix (like "File:") does not disturb.
Examples
{{Derived from|Example.jpg}} gives
This file was derived from: Example.jpg by example
{{Derived from|Example.jpg|Beispiel.png|display=16}} gives
This file was derived from:
{{Derived from|Example.jpg|Beispiel.png|Sample.svg|display=16|opt=l}} gives
This file was derived from:
You can add up to 25 images. (Capability for more can easily be added in the template code)
This template complements {{Derivative versions}}.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | file derived from (up to 25 unnamed parameters can be used, for 25 files) | empty | required | |
display | size in pixels of thumbnail of files derived from. If not provided, no thumbnail is shown. | empty | optional | |
opt | an additional option for {{F}}, either "l" (left) or "b" (bordered) | empty | optional | |
by | a user name; when it starts with either a "{" or "[", then it will be used as it is, otherwise as parameter for {{U}} | empty | optional | |
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}}
- {{Attrib}} or the previous version {{AttribSVG}}
The counterpart:
For mere conversions to SVG:
- {{AutVec}} - ("authors of vectorized raster graphic")
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)