Template:Derived from/doc: Difference between revisions
More actions
add {{tl|Extracted from}} to "see also" |
m format |
||
| Line 12: | Line 12: | ||
|name={{BASEPAGENAME}} | |name={{BASEPAGENAME}} | ||
|desc= | |desc={{LangSwitch | ||
|de=Wenn eine Datei ein abgeleitetes Werk einer anderen Datei aus den Commons ist, kann diese Vorlage verwendet werden, um darauf zu verlinken. | |||
|en=If your file is a derivative work of another file on Commons, use this template to link it. | |||
}} | |||
{{LangSwitch | |namespace=File | ||
|usergroup=all | |||
|placement= | |||
|usage-notes= | |||
{{LangSwitch|de= | |||
Ein eventueller Namensraum-Vorsatz (wie "File:") ist unschädlich. | |||
=== Beispiele === | |||
|en= | |||
A<!--n occasional--> namespace prefix (like "File:") does not disturb. | |||
=== Examples === | |||
}} | }} | ||
<tt>{{Tlf|Derived from|Example.jpg}}</tt> {{LangSwitch | |||
|de=ergibt | |de=ergibt | ||
|en=gives | |en=gives | ||
}} | }}}<br> | ||
{{Derived from|Example.jpg}} | {{Derived from|Example.jpg}} | ||
<tt>{{Tlf|Derived from|Example.jpg|Beispiel.png|6='''display=16'''}}</tt> {{LangSwitch | |||
|de=ergibt | |de=ergibt | ||
|en=gives | |en=gives | ||
}} | }}<br> | ||
{{Derived from|Example.jpg|Beispiel.png|display=16}} | {{Derived from|Example.jpg|User talk:Beispiel.png|display=16}} <!-- example for namespace prefix "User talk:" --> | ||
<tt>{{Tlf|Derived from|Example.jpg|Beispiel.png|Sample.svg|6=display=16|7='''opt=l'''}}</tt> {{LangSwitch | |||
|de=ergibt | |de=ergibt | ||
|en=gives | |en=gives | ||
}}}<br> | |||
{{Derived from|Example.jpg|Beispiel.png|Sample.svg|display=16|opt=l}} | |||
{{LangSwitch | |||
|de=Hier können bis zu 25 Bilder angegeben werden (Kapazität für mehr kann problemlos im Code der Vorlage angepasst werden). | |||
|en=You can add up to 25 images. (Capability for more can easily be added in the template code) | |||
}} | }} | ||
{{LangSwitch | {{LangSwitch | ||
| Line 40: | Line 59: | ||
}} {{tl|Derivative versions}}. | }} {{tl|Derivative versions}}. | ||
|type= | |type= | ||
|example= | |example= | ||
| Line 59: | Line 70: | ||
The counterpart: | The counterpart: | ||
* {{tl|Derivative versions}} | * {{tl|Derivative versions}} | ||
|setscats= | |setscats= — none — | ||
|lines= | |lines= | ||
|shorthand= | |shorthand= | ||
| Line 65: | Line 76: | ||
}} | }} | ||
<includeonly>[[Category:Marker templates|{{PAGENAME}}]]<includeonly> | <includeonly>[[Category:Marker templates|{{PAGENAME}}]]<includeonly> | ||
Revision as of 08:51, 21 March 2015
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
{{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 | |
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:
The counterpart:
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)