Template:Derivative versions
This template is used to display [a list of] derivative works of a file.
The template automatically sets the following categories: Files with derivative versions
Usage
{{Derivative versions |1= }}
Uses Lua: |
You can add as many images as you like. A namespace prefix (like "File:") does not disturb.
Aliasnames:
Examples
Place this template behind |other_versions =
in the description section!
- {{ Derivative versions | File:Example.jpg | by = username }} or {{ Derivative versions | 1 = File:Example.jpg | by = username }}
gives:
Derivative works of this file: Example.jpg by username |
- {{ Derivative versions | Example.jpg | Query-road.png | SVG example7.svg | display = 16 }}
gives:
Derivative works of this file: |
- {{ Derivative versions | Example.jpg | Query-road.png | SVG example7.svg | display = 24 | opt = b }}
gives:
Derivative works of this file: |
- {{ Derivative versions | One.svg | Nr02 blue.svg | Nr03 red.svg | 4 icon.svg | Circle-ye-5.svg | d = 24 | o = Z | o1 = l | l1 = first item }}
gives:
Derivative works of this file: |
For gallery style examples, see the talk page.
This template complements {{Derived from}}. For comparison see the counter-part:
{{ Derivative works | Example.jpg | Query-road.png | SVG example7.svg | display = 16 | opt = l }}
{{ Derived from | Example.jpg | Query-road.png | SVG example7.svg | display = 16 | opt = l }}
|
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Name(s) of the image (with or without namespace). | empty | required | |
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 display labels for each files | empty | optional | |
dis or d | Global pixel size value to display the image individual pixel size value(s) for each images | empty | optional | |
opt or o | Global additional option for {{F}}, like "l" (left), "b" (bordered) or "Z" (no displayed file names) individual additional option for {{F}} for each file, like "l", "b" or "Z" | empty | optional | |
par4 or q | Global 4th parameter for {{F}}, like "n" (nolink) or "+" or "-" individual 4th parameter(s) for {{F}} for each file, like "n" or "+" or "-" | empty | optional | |
par5 or r | Global 5th parameter for {{F}} individual 5th parameter(s) for {{F}} for each file | empty | optional | |
wiki or k | Global ISO 639-1 language code for a Wikipedia individual ISO 639-1 language codes for each file | empty | optional | |
inter or i | Global ISO 639-1 language code for multilanguage SVGs (internationalization) individual ISO 639-1 language codes for each multilanguage SVG | empty | optional | |
pfx or x | Global code prefixing the file(s) individual code prefix for each file | empty | optional | |
by or b | Global author name(s) individual author name(s) for each file | empty | optional | |
mod or m | Global code for modification of the user link(s) individual modifications (as t , w , wt ) | empty | optional | |
gallery | set to "yes" for a gallery layout: see {{G}} for gallery 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
- {{Derivative}} – credits author
The counter-part — nominate pictures where that picture is made (inspired, influenced, uses parts or technique) from:
- {{Derived from}}
- {{AutVec}} for mere conversions to SVG - ("authors of vectorized raster graphic")
- {{Retouched}}
- {{Extracted}}
- {{Attrib}} – credits author
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=
.
- Abbrevition :
In simple cases the |by=
can be abbreviated with "/":
{{ Derivative versions | Example.jpg/Example | example.svg/Extra }}
renders as
Derivative works of this file:
- Example.jpg by Example
- Example.svg by Extra
Localization
Bahasa Indonesia ∙ Alemannisch ∙ magyar ∙ italiano ∙ español ∙ Deutsch ∙ British English ∙ galego ∙ Nederlands ∙ English ∙ čeština ∙ français ∙ hrvatski ∙ Esperanto ∙ беларуская (тарашкевіца) ∙ 한국어 ∙ Plattdüütsch ∙ العربية ∙ বাংলা ∙ ಕನ್ನಡ ∙ slovenščina ∙ polski ∙ മലയാളം ∙ 中文(简体) ∙ português do Brasil ∙ українська ∙ Türkçe ∙ ไทย ∙ suomi ∙ 中文 ∙ فارسی ∙ македонски ∙ română ∙ 中文(繁體) ∙
This template makes use of {{Autotranslate}} and the translate extension.