Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Derived from/doc: Difference between revisions

Template page
m format
m format
Line 1: Line 1:
{{redirects|DF|Derivedfrom|Derivative from}}
{{redirects|DF|Derivedfrom|Derivative from}}
{{TemplateBox
{{TemplateBox
|1=1 ... ∞
|1=1
|1d=file derived from (unnamed parameters up to an unlimited number of file names)
|1d-en=File name of the image (with or without namespace).
|1def=
|1d-es=Nombre de la imágen (sin o con el espacio de nombres)
|1stat=required
|1d-fr=Nom de l'image (sans ou avec l’espace de noms)
|2=display</code> ''or'' <code>d
|1d-ja=画像名(名前空間なし)
|2d=size in pixels of thumbnail of files derived from. If not provided, no thumbnail is shown.
|1d-pt=Nome da imagem (sem ou com espaços de nomes)
|1d-de=Name des Bildes.
|1def={{0}}
|1stat=requested
 
|2=2, 3, ... n
|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
|2stat=optional-
|2stat=optional-
|3=</code>{{0|000}}<code>opt</code> ''or'' <code>o
 
|3d-en=an additional option for displaying the file, e.g. "<tt>l</tt>" (display '''l'''eft) or "b" ('''b'''ordered)  
|3=lab</code>{{0|FFF}}&nbsp;''or'' <code>l<br>{{0}}l{{sub|1}} ... l{{sub|n}}
|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
|3stat=optional-
|3stat=optional-
|4=by
 
|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]]
|4=dis{{0|FFF}}</code>&nbsp;''or''&nbsp;<code>d{{0|l}}<br>{{0}}d{{sub|1}} ... d{{sub|n}}
|4stat=optional-
|4d-en=Global pixel size value, to <u>display</u> the  image<br>individual size parameter{s}
|5=by{{sub|1}} ... by{{sub|}}
|4d-de=Pixelwert für die darzustellende Bildgröße <br>individuelle Größenwerte
|5d-en=either the [[#By user|user-name]] of the original author of file{{sub|n}}, or suppression with <tt>by{{sub|n}}=</tt>
|4stat=optional-  
 
|5=opt</code>{{0|FFF}}&nbsp;''or'' <code>o<br>{{0}}o{{sub|1}} ... o{{sub|n}}
|5d-en=Global additional <u>option</u> for {{Tl|F}}, like "l" (left) or "b" (bordered)<br>individual option(s)
|5d-de=zusätzliche Option für {{Tl|F}}, wie "l" (links) or "b" (umrahmt)<br>individuelle Optionen
|5stat=optional-
|5stat=optional-
|6=par4</code>{{0|FF}}&nbsp;''or''&nbsp;<code>q{{0|l}}<br>{{0}}q{{sub|1}} ... q{{sub|n}}
|6d-en=Global 4{{exp|th}} <u>par</u>ameter for {{Tl|F}}, like "n" (nolink) or "+" or "-"<br>individual more parameter(s)
|6d-de=globaler 4. Parameter für {{Tl|F}}<br>individuelle weitere Optionsparameter
|6stat=optional-
|7=par5</code>{{0|FF}}&nbsp;''or''&nbsp;<code>r{{0|l}}<br>{{0}}r{{sub|1}} ... r{{sub|n}}
|7d-en=Global 5{{exp|th}} <u>par</u>ameter for {{Tl|F}}<br>individual more parameter(s)
|7d-de=globaler 5. Parameter für {{Tl|F}}<br>individuelle weitere Optionsparameter
|7stat=optional-
<!--
|8=<s>par6</s></code>{{0|FF}}&nbsp;''or''&nbsp;<code>v{{0|l}}<br>{{0}}v{{sub|1}} ... v{{sub|n}}
|8d-en=Global 6{{exp|th}} parameter for {{Tl|F}}<br>individual more parameter(s)
|8d-de=globaler 6. Parameter für {{Tl|F}}<br>individuelle weitere Parameter
|8stat=optional-
-->
|10=wiki</code>{{0|FF}}&nbsp;''or''&nbsp;<code>w{{0|l}}<br>{{0}}w{{sub|1}} ... w{{sub|n}}
|10d-en=Global {{w|List of ISO 639-1 codes|ISO 639-1}} code for a <u>Wiki</u>pedia sisterprojekt <br>individual code parameter(s)
|10d-de=globaler {{w|List of ISO 639-1 codes|ISO 639-1}} Code für <u>Wiki</u>pedia Schwesterprojekt-Code<br>individuelle ISO codes
|10stat=optional-
|11=inter</code>{{0|F}}&nbsp;''or''&nbsp;<code>i{{0|l}}<br>{{0}}i{{sub|1}} ... i{{sub|n}}
|11d-en=Global {{w|List of ISO 639-1 codes|ISO 639-1}} code for SVG switch <u>inter</u>nationalization<br>individual code parameter(s)
|11d-de=globaler Code einer mehrsprachigen Datei<br><u>indiv</u>iduelle Sprachcodes
|11stat=optional-
|12=prf</code>{{0|FFF}}&nbsp;''or''&nbsp;<code>p{{0|l}}<br>{{0}}p{{sub|1}} ... p{{sub|n}}
|12d-en=Global code <u>prefix</u>ing the file<br>individual prefix parameter(s)
|12d-de=globaler <u>Prefix</u> vor der Dateiausgabe ist<br>individuelle Prefixes
|12stat=optional-
|13=by</code>{{0|FFFF}}&nbsp;''or''&nbsp;<code>b{{0|l}}<br>{{0}}b{{sub|1}} ... b{{sub|n}}
|13d-en=Global author name<br>individual author name(s)
|13d-de=globaler Benutzername (Datei-Autor) <br>individuelle Benutzerbamen
|13stat=optional-
|15=gallery
|15d-en=set to "yes" for a gallery layout: parameters 
|15d-de=mit "Gallery=yes" wird eine galerieartige Ausgabe erstellt
|15stat=optional-


|name=Derived from
|name=Derived from

Revision as of 18:26, 8 February 2020

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= }}

A namespace prefix (like "File:") does not disturb.

Examples

{{ Derived fromExample.jpgby = {{u|example|'''original''' author}} }} gives
This file was derived from: Example.jpg by original author


{{ Derived fromExample.jpgBeispiel.pngdisplay = 16 }} gives
This file was derived from:

{{ Derived fromExample.jpgBeispiel.pngSample.svgdisplay = 16opt = l }} ("l" for "left") 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

ParameterDescriptionDefaultStatus
1File name of the image (with or without namespace).0optional
2, 3, ... nnames of more files; for each empty parameter, the name of parameter 1 is usedemptyoptional
labFFF or l
0l1 ... ln
(Global display label for files) normally not useful if more than 1 file
individual parameter(s)
emptyoptional
disFFF or dl
0d1 ... dn
Global pixel size value, to display the image
individual size parameter{s}
emptyoptional
optFFF or o
0o1 ... on
Global additional option for {{F}}, like "l" (left) or "b" (bordered)
individual option(s)
emptyoptional
par4FF or ql
0q1 ... qn
Global 4th parameter for {{F}}, like "n" (nolink) or "+" or "-"
individual more parameter(s)
emptyoptional
par5FF or rl
0r1 ... rn
Global 5th parameter for {{F}}
individual more parameter(s)
emptyoptional
wikiFF or wl
0w1 ... wn
Global ISO 639-1 code for a Wikipedia sisterprojekt
individual code parameter(s)
emptyoptional
interF or il
0i1 ... in
Global ISO 639-1 code for SVG switch internationalization
individual code parameter(s)
emptyoptional
prfFFF or pl
0p1 ... pn
Global code prefixing the file
individual prefix parameter(s)
emptyoptional
byFFFF or bl
0b1 ... bn
Global author name
individual author name(s)
emptyoptional
galleryset to "yes" for a gallery layout: parametersemptyoptional

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:

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 fromby = : }}{{ FExample.svg }}{{ Byexample }}<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)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.