Replacement filing cabinet.svg This image includes elements that have been taken or adapted from this file: Replacement filing cabinet.svg Replacement filing cabinet.svg.

Documentation icon Documentation ⧼editsection-brackets⧽ ⧼editsection-brackets⧽ ⧼editsection-brackets⧽ ⧼editsection-brackets⧽


This documentation is transcluded from Template:Attrib/doc


(this part of the documentation is only available in some languages)

This template is to be used on images that make use of elements from other images available on Commons.

It provides an easy way to attribute the author of work requiring such attribution.
In future it can allow for tracking of how free images are being used and derived from.

The template automatically sets the following categories: Category:Derivative works

Usage

{{Attrib|1=}}

Parameters

Parameter name Description (this part of the documentation is only available in some languages) Default value required or optional?

parameter #1 (1) name of the image where elements are taken from empty required
by
2
name of the user who created that image; used as an argument for the template U

(will be checked for existence) except when it starts with either "&", "<", "[" or "{" — then
it will be used as-it-is, e.g. wikilinks; other user name templates like {{Ut}}, {{Uw}}

empty optional
category
cat
3
name of a category (to be used instead of the standard category)
may be specified completely "[[Category:xxxx]]" or just "xxxx"
specify cat=- or cat= to suppress the standard categorization
empty optional
type
4
file type specification ("SVG", "file"; for SVG files the default is "SVG")

specify 4=- or 4= to display parameter 1 as plain text instead of a picture

empty optional
user
u
5
user(s) who created that image. This information will be displayed as-it-is:
It can be passed in linkable format as e.g. {{U|user}} or as plain text.
When provided the parameters #2 and #6 are ignored and no existence check is performed.
empty optional
U
6
name of the user who created that image (without existence check)
When provided the parameter #2 is ignored and no existence check is performed.
empty optional
topic
t
7
it is possible to specify here the short code of the topic (of the new file)
(see the template Igen/top for the defined short codes);
it will be displayed instead of the type (e.g. vector image or file)
type optional
from
f
8
topic short code, or free other text
it is possible to specify here the short code of the "from" topic;
it will be displayed at the "from" file
parm. 7 optional
part
p
9
spefication of the part which is used 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:

Example

{{Attrib|1=test.svg|U=Jimbo Wales|t=c|8=example}}:

renders as:

Replacement filing cabinet.svg This image includes elements that have been taken or adapted from this file:   no name.

⧼Seealso⧽

(this part of the documentation is only available in some languages)

  • {{AttribSVG}} deprecated
  • {{Attribs}} to collect several {{Attrib}} with the following parameters:
  • parameter 1, 3, 5, ...
  • parameter 2, 4, 6, ... (necessary, at least empty!)
  • parameter "by" or parameter "U" or parameter "u" for empty parameters 2, 4, 6, ...
  • parameter "t" 00 "to"-topic
  • parameter "f" 00 "from" topic, general
  • parameter "p" 00 used "part", general
  • parameter "cat"
  • parameter "type"
  • parameters f1, f2, f3 ... individual 'from'-topics for files {parameter 1, 3, 5, ...}
  • parameters p1, p2, p3 ... individual parts of the files {parameter 1, 3, 5, ...}
Lua: can perform an unlimited number of Attrib transclusions.

Localization

English | +/-

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Attrib/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Attrib/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.


Community content is available under CC-BY-SA unless otherwise noted.