Template:Derived from/doc: Difference between revisions
More actions
m expansion |
m format |
||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
|1=1 | |1=1 ... 25 | ||
|1d=file derived from (up to 25 unnamed parameters can be used, for 25 files) | |1d=file derived from (up to 25 unnamed parameters can be used, for 25 files) | ||
|1def= | |1def= | ||
| Line 8: | Line 8: | ||
|2stat=optional- | |2stat=optional- | ||
|3=opt | |3=opt | ||
|3d-en=an additional option for {{ | |3d-en=an additional option for {{T2|F}}, e.g. "l" (left) or "b" (bordered) | ||
|3stat=optional- | |3stat=optional- | ||
|4=by | |4=by | ||
|4d-en=a user name | |4d-en=a user name, displayed by {{T2|by||}} <!-- <br>when it starts with either a "{" or "[", then it will be used as it is,<br> otherwise --> as parameter for {{T2|U}} | ||
|4stat=optional- | |4stat=optional- | ||
| Line 23: | Line 23: | ||
|usergroup=all | |usergroup=all | ||
|placement= | |placement= | ||
|usage-notes= | |usage-notes={{LangSwitch | ||
{{LangSwitch|de= | |de= | ||
Ein eventueller Namensraum-Vorsatz (wie "File:") ist unschädlich. | Ein eventueller Namensraum-Vorsatz (wie "File:") ist unschädlich. | ||
=== Beispiele === | === Beispiele === | ||
| Line 31: | Line 31: | ||
=== Examples === | === Examples === | ||
}} | }} | ||
{{Tle|T=Derived from|Example.jpg|p2=by|example}} {{LangSwitch | |||
|de=ergibt | |de=ergibt | ||
|en=gives | |en=gives | ||
| Line 38: | Line 38: | ||
{{Tle|t=Derived from|Example.jpg|Beispiel.png|p3='''display'''|'''16'''}} {{LangSwitch | |||
|de=ergibt | |de=ergibt | ||
|en=gives | |en=gives | ||
| Line 45: | Line 45: | ||
{{Tle|t=Derived from|Example.jpg|Beispiel.png|Sample.svg|p4=display|16|p5='''opt'''|'''l'''}} {{LangSwitch | |||
|de=ergibt | |de=ergibt | ||
|en=gives | |en=gives | ||
| Line 79: | Line 79: | ||
* {{Tl|AutVec}} - ("<u>aut</u>hors of <u>vec</u>torized raster graphic") | * {{Tl|AutVec}} - ("<u>aut</u>hors of <u>vec</u>torized raster graphic") | ||
|setscats= | |setscats= | ||
|lines= | |lines= | ||
|shorthand= | |shorthand= | ||
Revision as of 09:00, 16 February 2018
If your file is a derivative work of another file on Commons, use this template to link it.
Usage
{{Derived from |1 ... 25= }}
A namespace prefix (like "File:") does not disturb.
Examples
{{ Derived from | Example.jpg | by = example }} 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 ... 25 | 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}}, e.g. "l" (left) or "b" (bordered) | empty | optional | |
by | a user name, displayed by {{By}} 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)