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

Template page

If your file is a derivative work of another file on Commons, use this template to link it.

Examples:

{{Derived from|Example.jpg|Beispiel.png}} gives:

This file was derived from:

{{Derived from|Example.jpg|Beispiel.png|Sample.svg|display=16}} gives:

This file was derived from:

This template complements {{Derivative versions}}.

You can add up to 20 images. (Capability for more can be added in the template code)

Usage

{{Derived from/doc |1= |display= }}

Template parameters

ParameterDescriptionDefaultStatus
1file derived from (up to 20 unnamed parameters can be used, for 20 files)emptyrequired
displaysize in pixels of thumbnail of files derived from. If not provided, no thumbnail is shown.emptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

If your file is a derivative work of another file on Commons, use this template to link it. '''Examples:''' '''<span style="white-space:nowrap;">&#123;&#123;Derived from&#124;Example.jpg&#124;Beispiel.png&#125;&#125;</span>''' gives: This file was derived from&#x3A;&#32;

  • &#32;[[:File:Example.jpg|Example.jpg]]
  • [[:File:Beispiel.png|Beispiel.png]]<br />[[Category:Derivative versions]]
'''<span style="white-space:nowrap;">&#123;&#123;Derived from&#124;Example.jpg&#124;Beispiel.png&#124;Sample.svg&#124;display=16&#125;&#125;</span>''' gives: This file was derived from&#x3A;&#32;
  • &#32;[[:File:Example.jpg|Example.jpg]]&#58;&nbsp;[[File:Example.jpg|16px]]
  • [[:File:Beispiel.png|Beispiel.png]]&#58;&nbsp;[[File:Beispiel.png|16px]]
  • [[:File:Sample.svg|Sample.svg]]&#58;&nbsp;[[File:Sample.svg|16px]]<br />[[Category:Derivative versions]]
This template complements [[:Template:Derivative versions|<span style="font-family:monospace,monospace;">&#123;&#123;Derivative versions&#125;&#125;</span>]]. You can add up to 20 images. (Capability for more can be added in the template code)

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
1

file derived from (up to 20 unnamed parameters can be used, for 20 files)

Unknownrequired
display

size in pixels of thumbnail of files derived from. If not provided, no thumbnail is shown.

Unknownoptional

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:

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.