Template:Own based

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

Own work based on:

Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Own based/doc.

This template is used in the |source= parameter of the {{Information}} template to render the words "own work based on:" in the language specified in the user's preferences. Note that the work(s) specified must already exist on Commons— this template cannot be used to specify a work located elsewhere or to provide a citation to such a work.

Usage

{{Own based |1= }}

Or use the shorthand ownb

Any namespace declaration (e.g. File:, Image:) is ignored. Only items from the FILE namespace on Commons can be used.
Parameters starting with "[" or "{" are used as-they-are; this allows to specify also files outside of Commons.

Template parameters

ParameterDescriptionDefaultStatus
1Name of the (first) file 0 (see also the note)emptyoptional
2Name of a second fileemptyoptional
3Name of a third fileemptyoptional
byName of a user: by {{By}} used as argument for template {{U}}

except when it starts with "&", "{" or "[", then it will be used as-it-is

e.g. {{Ut}}, {{Uw}} or other user name templates, or  
emptyoptional
display or ddisplay size in px: example Own work based on: Example.jpgExample.jpgemptyoptional
0000opt or ooption for display (see Template:F); more examples at Derivative versions.emptyoptional

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

Placement: In the "Source" parameter of the {{Information}} template (or the respective parameter of similar templates) or just below this template

Example

{{Own based|Example.jpg|by=example}}

renders as:

Own work based on: Example.jpg by example

See also

Note

When the file name of the first file is the same it will be enough just to specify the file type by e.g.

  • .png (or short: .p or shorter: .)
  • .jpg (or short: .j)
  • .gif (or short: .g)
  • .svg (or short: .s)
  • .pdf (or any other extension - case sensitive)

Example: {{ Own based.j }}. This option will work only for the first file!
If a file name starts with a dot, the form [[:File:.Xyz.jpeg|Orig]] can be used to avoid conflicts.

Localization

This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).