Template:Derived from/doc: Difference between revisions
More actions
m English |
zh // Edit via Wikiplus |
||
| Line 8: | Line 8: | ||
|1d-pt=Nome da imagem (sem ou com espaços de nomes) | |1d-pt=Nome da imagem (sem ou com espaços de nomes) | ||
|1d-de=Name des Bildes. | |1d-de=Name des Bildes. | ||
|1d-zh=图像的文件名(包含或不包含名字空间名称皆可) | |||
|1def={{0}} | |1def={{0}} | ||
|1stat=requested | |1stat=requested | ||
| Line 14: | Line 15: | ||
|2d-en=names of more files; for each empty parameter, the name of parameter 1 is used | |2d-en=names of more files; for each empty parameter, the name of parameter 1 is used | ||
|2d-de=Namen weiterer Dateien; leere Prameter werden durch den Namen der ersten Datei ersetzt | |2d-de=Namen weiterer Dateien; leere Prameter werden durch den Namen der ersten Datei ersetzt | ||
|2d-zh=更多的文件名,如果未填写参数则默认使用参数1 | |||
|2stat=optional- | |2stat=optional- | ||
| Line 19: | Line 21: | ||
|3d-en=(Global display <u>label</u> for files) normally not useful if more than 1 file<br>individual parameter(s) | |3d-en=(Global display <u>label</u> for files) normally not useful if more than 1 file<br>individual parameter(s) | ||
|3d-de=individuelle Namen, die statt des Dateinamens angezeigt werden<br>individuelle Parameter | |3d-de=individuelle Namen, die statt des Dateinamens angezeigt werden<br>individuelle Parameter | ||
|3d-zh=文件的全域显示标签,多于1个文件时通常没有用<br>特定参数 | |||
|3stat=optional- | |3stat=optional- | ||
| Line 24: | Line 27: | ||
|4d-en=Global pixel size value, to <u>display</u> the image<br>individual size parameter{s} | |4d-en=Global pixel size value, to <u>display</u> the image<br>individual size parameter{s} | ||
|4d-de=Pixelwert für die darzustellende Bildgröße <br>individuelle Größenwerte | |4d-de=Pixelwert für die darzustellende Bildgröße <br>individuelle Größenwerte | ||
|4d-zh=全域像素大小值,从而显示图像<br>特定尺寸参数 | |||
|4stat=optional- | |4stat=optional- | ||
| Line 50: | Line 54: | ||
|10d-en=Global {{w|List of ISO 639-1 codes|ISO 639-1}} code for a <u>Wi'''k'''i</u>pedia sister project <br>individual code parameter(s) | |10d-en=Global {{w|List of ISO 639-1 codes|ISO 639-1}} code for a <u>Wi'''k'''i</u>pedia sister project <br>individual code parameter(s) | ||
|10d-de=globaler {{w|List of ISO 639-1 codes|ISO 639-1}} Code für <u>Wi'''k'''i</u>pedia Schwesterprojekt-Code<br>individuelle ISO codes | |10d-de=globaler {{w|List of ISO 639-1 codes|ISO 639-1}} Code für <u>Wi'''k'''i</u>pedia Schwesterprojekt-Code<br>individuelle ISO codes | ||
|10d-zh=维基姐妹项目的全域 {{w|ISO 639-1代码表|ISO 639-1|zh}} 代码<br>特定 ISO 代码参数 | |||
|10stat=optional- | |10stat=optional- | ||
| Line 60: | Line 65: | ||
|12d-en=Global code <u>prefi'''x'''</u>ing the file<br>individual prefix parameter(s) | |12d-en=Global code <u>prefi'''x'''</u>ing the file<br>individual prefix parameter(s) | ||
|12d-de=globaler <u>Prefi'''x'''</u> vor der Dateiausgabe ist<br>individuelle Prefixes | |12d-de=globaler <u>Prefi'''x'''</u> vor der Dateiausgabe ist<br>individuelle Prefixes | ||
|12d-zh=前缀于文件的全域代码<br>特定前缀参数 | |||
|12stat=optional- | |12stat=optional- | ||
| Line 65: | Line 71: | ||
|13d-en=Global author name<br>individual author name(s) | |13d-en=Global author name<br>individual author name(s) | ||
|13d-de=globaler Benutzername (Datei-Autor) <br>individuelle Benutzerbamen | |13d-de=globaler Benutzername (Datei-Autor) <br>individuelle Benutzerbamen | ||
|13d-zh=全域作者名<br>特定作者名 | |||
|13stat=optional- | |13stat=optional- | ||
<!-- galllery NOT with "Derived from" ??? for this templatem d\gallery is not useful ! --> | <!-- galllery NOT with "Derived from" ??? for this templatem d\gallery is not useful ! --> | ||
| Line 75: | Line 82: | ||
|desc-en=If your file is a derivative work of another <u>file on Commons</u>, use this template to link it. | |desc-en=If your file is a derivative work of another <u>file on Commons</u>, 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. | |desc-de=Wenn eine Datei ein abgeleitetes Werk einer anderen Datei aus den Commons ist, kann diese Vorlage verwendet werden, um darauf zu verlinken. | ||
|desc-zh=如果你的文件是另一个<u>维基共享资源文件</u>的衍生作品,请使用该模板链接到它。 | |||
|namespace=File | |namespace=File | ||
| Line 84: | Line 92: | ||
|en= | |en= | ||
A<!--n occasional--> namespace prefix (like "File:") does not disturb. | A<!--n occasional--> namespace prefix (like "File:") does not disturb. | ||
|zh= | |||
是否带有名字空间前缀(如“File:”)并不影响使用。 | |||
}} | }} | ||
=== {{int:Apisandbox-examples}} === | === {{int:Apisandbox-examples}} === | ||
| Line 115: | Line 125: | ||
|de=Diese Vorlage ergänzt | |de=Diese Vorlage ergänzt | ||
|en=This template complements | |en=This template complements | ||
|zh=与本模板对应的模板 | | |||
}} {{tl|Derivative versions}}. | }} {{tl|Derivative versions}}. | ||
Revision as of 06:11, 8 January 2021
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: Derivative versions
Usage
{{Derived from |1= }}
Examples
{{ Derived from | Example.jpg | by = {{u|example|'''original''' author}} }} 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 | . | .s | display = 16 | opt = l }} ("l" for "left") gives
This file was derived from:
This template complements {{Derivative versions}}.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | File name of the image (with or without namespace). | optional | ||
2, 3, ... n | names of more files; for each empty parameter, the name of parameter 1 is used | empty | optional | |
lab or l | (Global display label for files) normally not useful if more than 1 file individual parameter(s) | empty | optional | |
dis or d | Global pixel size value, to display the image individual size parameter{s} | empty | optional | |
opt or o | Global additional option for {{F}}, like "l" (left) or "b" (bordered) individual option(s) | empty | optional | |
par4 or q | Global 4th parameter for {{F}}, like "n" (nolink) or "+" or "-" individual more parameter(s) | empty | optional | |
par5 or r | Global 5th parameter for {{F}} individual more parameter(s) | empty | optional | |
wiki or k | Global ISO 639-1 code for a Wikipedia sister project individual code parameter(s) | empty | optional | |
inter or i | Global ISO 639-1 code for SVG switch internationalization individual code parameter(s) | empty | optional | |
pfx or x | Global code prefixing the file individual prefix parameter(s) | empty | optional | |
by or b | Global author name individual author name(s) | empty | optional | |
gallery | set to "yes" for a gallery layout: parameters | 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 deprecated version {{AttribSVG}}
The counterpart:
For mere conversions to SVG:
- {{AutVec}} - ("authors of vectorized raster graphic")
by User
The file specified with parameter 1, or each file specified with parameters 1 to n, can also be linked with the name of its author.
A value given with the parameter "by=" will be assigned to each file which does not have an individual author assignment with byn.
An individual author assignment can either specify an author, or with no value byn= that no "by" should exist for that file n.
The 'global' parameter "by=user" is for all files that neither get an own author name byn=user, nor are excluded byn=.
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)