Difference between revisions of "Template:Derivative versions/doc"

From "PTTLink Wiki"
Jump to navigation Jump to search
Mediawiki>Sarangbot
m (format)
 
m (1 revision imported)
 

Latest revision as of 15:43, 24 January 2022

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

You can add as many images as you like. A namespace prefix (like "File:") does not disturb.

Aliasnames:

Examples

gives:
Template:Box-2


  • {{ Derivative versionsExample.jpgQuery-road.pngSVG example7.svgdisplay = 16 }}

gives:
Template:Box-2

  • {{ Derivative versionsExample.jpgQuery-road.pngSVG example7.svgdisplay = 24opt = b }}

gives:
Template:Box-2

  • {{ Derivative versionsOne.svgNr02 blue.svgNr03 red.svg4 icon.svgCircle-ye-5.svgd = 24o = Zo1 = ll1 = first item }}

gives: Template:Box-2

For gallery style examples, see the talk page.


This template complements {{Derived from}}. For comparison see the counter-part:

{{ Derivative worksExample.jpgQuery-road.pngSVG example7.svgdisplay = 16opt = l }}
{{ Derived fromExample.jpgQuery-road.pngSVG example7.svgdisplay = 16opt = l }}

Template:Box-2

Template parameters

ParameterDescriptionDefaultStatus
1Name(s) of the image (with or without namespace).emptyrequired
2, 3, ... nnames of more files; for each empty parameter, the name of parameter 1 is usedemptyoptional
labFFF or l
0lTemplate:Sub ... lTemplate:Sub
(Global display label for files) → normally not useful if more than 1 file
individual display labels for each files
emptyoptional
disFFF or dl
0dTemplate:Sub ... dTemplate:Sub
Global pixel size value to display the image
individual pixel size value(s) for each images
emptyoptional
optFFF or o
0oTemplate:Sub ... oTemplate:Sub
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"
emptyoptional
par4FF or ql
0qTemplate:Sub ... qTemplate:Sub
Global 4th parameter for {{F}}, like "n" (nolink) or "+" or "-"
individual 4th parameter(s) for {{F}} for each file, like "n" or "+" or "-"
emptyoptional
par5FF or rl
0rTemplate:Sub ... rTemplate:Sub
Global 5th parameter for {{F}}
individual 5th parameter(s) for {{F}} for each file
emptyoptional
wikiFF or kl
0kTemplate:Sub ... kTemplate:Sub
Global ISO 639-1 language code for a Wikipedia
individual ISO 639-1 language codes for each file
emptyoptional
interF or il
0iTemplate:Sub ... iTemplate:Sub
Global ISO 639-1 language code for multilanguage SVGs (internationalization)
individual ISO 639-1 language codes for each multilanguage SVG
emptyoptional
pfxFFF or xl
0xTemplate:Sub ... pTemplate:Sub
Global code prefixing the file(s)
individual code prefix for each file
emptyoptional
byFFFF or bl
0bTemplate:Sub ... bTemplate:Sub
Global author name(s)
individual author name(s) for each file
emptyoptional
modFFF or ml
0mTemplate:Sub ... mTemplate:Sub
Global code for modification of the user link(s)
individual modifications (as t, w, wt)
emptyoptional
galleryset to "yes" for a gallery layout: see {{G}} for gallery 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

⧼Seealso⧽

The counter-part — nominate pictures where that picture is made (inspired, influenced, uses parts or technique) from:

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 byTemplate:Sub.
An individual author assignment can either specify an author, or with no value byTemplate:Sub= 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 byTemplate:Sub=user, nor are excluded byTemplate:Sub=.

Localization

English 

This template makes use of {{Autotranslate}} and the translate extension.


48pxTranslate this template now!
 Administrate translations.