Template:Derived from/doc: Difference between revisions
More actions
fix examples |
convert to {{TemplateBox}} |
||
| Line 1: | Line 1: | ||
{{ | {{TemplateBox | ||
|1=1 | |||
|1d=file derived from (up to 20 unnamed parameters can be used, for 20 files) | |||
|1def= | |||
|1stat=required | |||
|2=display | |||
|2d=size in pixels of thumbnail of files derived from. If not provided, no thumbnail is shown. | |||
|2stat=optional | |||
|name= | |||
|desc= | |||
If your file is a derivative work of another file on Commons, use this template to link it. | If your file is a derivative work of another file on Commons, use this template to link it. | ||
| Line 12: | Line 21: | ||
You can add up to 20 images. (Capability for more can be added in the template code) | You can add up to 20 images. (Capability for more can be added in the template code) | ||
|namespace=File | |||
== | |usergroup=all | ||
Consider also using the following specific derivation templates, for retouching and extracting or cropping: | |placement= | ||
|usage-notes= | |||
|type= | |||
|example= | |||
|i18n-method=switch | |||
|i18n-desc= | |||
|i18n-mediawiki-msg= | |||
|seealso=Consider also using the following specific derivation templates, for retouching and extracting or cropping: | |||
* {{tl|Retouched picture}} | * {{tl|Retouched picture}} | ||
* {{tl|Image extracted}} | * {{tl|Image extracted}} | ||
* {{tl|AttribSVG}} | * {{tl|AttribSVG}} | ||
|setscats= | |||
|lines= | |||
|shorthand= | |||
|relieson= | |||
}} | |||
Revision as of 18:06, 19 December 2011
If your file is a derivative work of another file on Commons, use this template to link it.
Examples:
{{Derived from|Example.jpg|Beispiel.png}} gives:
This file was derived from:
{{Derived from|Example.jpg|Beispiel.png|Sample.svg|display=16}} gives:
This file was derived from:
This template complements {{Derivative versions}}.
You can add up to 20 images. (Capability for more can be added in the template code)
Usage
{{Derived from/doc |1= |display= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | file derived from (up to 20 unnamed parameters can be used, for 20 files) | empty | required | |
display | size in pixels of thumbnail of files derived from. If not provided, no thumbnail is shown. | 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:
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)