Template:Derived from/doc: Difference between revisions
More actions
m abbr alias |
removed section – Beispiele make parameter more clear (s.talk) |
||
| Line 12: | Line 12: | ||
|3stat=optional- | |3stat=optional- | ||
|4=by | |4=by | ||
|4d-en= | |4d-en=user-name of the original author, 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}}<br>''or'' a colon ":" - see [[#Colon]] | ||
|4stat=optional- | |4stat=optional- | ||
|name= | |name=Derived from | ||
|desc= | |desc-en=If your file is a derivative work of another file on Commons, use this template to link it. | ||
|desc-de=Wenn eine Datei ein abgeleitetes Werk einer anderen Datei aus den Commons ist, kann diese Vorlage verwendet werden, um darauf zu verlinken. | |||
|namespace=File | |namespace=File | ||
| Line 26: | Line 24: | ||
|usage-notes={{LangSwitch | |usage-notes={{LangSwitch | ||
|de= | |de= | ||
Ein eventueller Namensraum-Vorsatz (wie "File:") ist | Ein eventueller Namensraum-Vorsatz (wie "File:") ist unbedenklich. | ||
|en= | |en= | ||
A<!--n occasional--> namespace prefix (like "File:") does not disturb. | A<!--n occasional--> namespace prefix (like "File:") does not disturb. | ||
}} | }} | ||
=== {{int:Apisandbox-examples}} === | |||
{{Tle|T=Derived from|Example.jpg|p2=by|example}} {{LangSwitch | {{Tle|T=Derived from|Example.jpg|p2=by|example}} {{LangSwitch | ||
|de=ergibt | |de=ergibt | ||
|en=gives | |en=gives | ||
}}<br> | }}<br> | ||
{{Derived from|Example.jpg|by= | {{Derived from|Example.jpg|by=original author}} | ||
| Line 44: | Line 42: | ||
}}<br> | }}<br> | ||
{{Derived from|Example.jpg|User talk:Beispiel.png|display=16}} <!-- example for namespace prefix "User talk:" --> | {{Derived from|Example.jpg|User talk:Beispiel.png|display=16}} <!-- example for namespace prefix "User talk:" --> | ||
{{Tle|t=Derived from|Example.jpg|Beispiel.png|Sample.svg|p4=display|16|p5='''opt'''|'''l'''}} {{LangSwitch | {{Tle|t=Derived from|Example.jpg|Beispiel.png|Sample.svg|p4=display|16|p5='''opt'''|'''l'''}} {{LangSwitch | ||
| Line 51: | Line 48: | ||
}}<br> | }}<br> | ||
{{Derived from|Example.jpg|Beispiel.png|Sample.svg|display=16|opt=l}} | {{Derived from|Example.jpg|Beispiel.png|Sample.svg|display=16|opt=l}} | ||
{{LangSwitch | {{LangSwitch | ||
| Line 68: | Line 64: | ||
|i18n-desc= | |i18n-desc= | ||
|i18n-mediawiki-msg= | |i18n-mediawiki-msg= | ||
|seealso={{LangSwitch|de=Beachte auch die folgenden spezifischen Vorlagen für abgeleitete, d. h. retuschierte oder extrahierte Werke: | |seealso= | ||
{{LangSwitch|de=Beachte auch die folgenden spezifischen Vorlagen für abgeleitete, d. h. retuschierte oder extrahierte Werke: | |||
|en=Consider also using the following specific derivation templates, for retouching and extracting or cropping:}} | |en=Consider also using the following specific derivation templates, for retouching and extracting or cropping:}} | ||
* {{tl|Retouched picture}} | * {{tl|Retouched picture}} | ||
| Line 91: | Line 88: | ||
|relieson= | |relieson= | ||
}} | }} | ||
<includeonly>[[Category:Marker templates | <includeonly>[[Category:Marker templates]]<includeonly> | ||
Revision as of 05:12, 10 June 2018
If your file is a derivative work of another file on Commons, use this template to link it.
Usage
{{Derived from |1 ... 40= }}
A namespace prefix (like "File:") does not disturb.
Examples
{{ Derived from | Example.jpg | by = example }} 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 | Beispiel.png | Sample.svg | display = 16 | opt = l }} gives
This file was derived from:
You can add up to 40 images. (Capability for more can easily be added in the template code)
This template complements {{Derivative versions}}.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 ... 40 | file derived from (up to 40 unnamed parameters can be used, for 40 files) | empty | required | |
display or d | size in pixels of thumbnail of files derived from. If not provided, no thumbnail is shown. | empty | optional | |
opt or o | an additional option for {{F}}, e.g. "l" (left) or "b" (bordered) | empty | optional | |
by | user-name of the original author, displayed by {{By}} as parameter for {{U}} or a colon ":" - see #Colon | 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")
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)