This page is semi-protected against editing.

Template:Derived from

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This file was derived from:

Template documentation[view·edit·history·purge]
This documentation istranscludedfromTemplate:Derived from/doc.

If your file is a derivative work of anotherfile 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 from|Example.jpg|by={{u|example|'''original''' author}}}} gives
This file was derived from:Example.jpgbyoriginalauthor


{{Derived from|Example.jpg|Beispiel.png|display=16}} gives
This file was derived from:

{{Derived from|Example.jpg|.|.s|.g|display=16|opt=l}} ( "l"for" left ") gives
This file was derived from:


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
labFFForl
0l1... ln
(Global displaylabelfor files) normally not useful if more than 1 file
individual parameter(s)
emptyoptional
disFFFordl
0d1... dn
Global pixel size value, todisplaythe image
individual size parameter{s}
emptyoptional
optFFForo
0o1... on
Global additionaloptionfor{{F}},like "l" (left) or "b" (bordered)
individual option(s)
emptyoptional
par4FForql
0q1... qn
Global 4thparameter for{{F}},like "n" (nolink) or "+" or "-"
individual more parameter(s)
emptyoptional
par5FForrl
0r1... rn
Global 5thparameter for{{F}}
individual more parameter(s)
emptyoptional
wikiFForkl
0k1... kn
GlobalISO 639-1code for aWikipedia sister project
individual code parameter(s)
emptyoptional
interForil
0i1... in
GlobalISO 639-1code for SVG switchinternationalization
individual code parameter(s)
emptyoptional
pfxFFForxl
0x1... pn
Global codeprefixing the file
individual prefix parameter(s)
emptyoptional
byFFFForbl
0b1... bn
Global author name
individual author name(s)
emptyoptional
modFFForml
0m1... mn
Global code for modification of the user link(s)
individual modifications (ast,w,wt)
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 mereconversions to SVG:

  • {{AutVec}}- ( "authors ofvectorized raster graphic ")

byUser

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 valuebyn=that no "by" should exist for that filen.
The 'global' parameter "by=user"is for all files that neither get an own author namebyn=user,nor are excludedbyn=.

Abbrevition:

In simple cases the|by=can be abbreviated with "/":
{{Derived from|Example.jpg/Example|example.svg/Extra}}
renders as
This file was derived from:

Colon

The template finishes its display with anew 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; thenew linecan 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.svgbyexample
without inbetween spaces; a finalnew linecan 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"(xxbeing thecodeof your language)