This documentation is transcluded from Template:Attrib/doc
This template is to be used on images that make use of elements from other images available on Commons.
The template automatically sets the following categories: Category:Derivative works
{{Attrib |1= }}
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | name of the image where elements are taken from (may be with the namespace ) | 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=- orcat= to suppress the standard categorization | empty | optional | |
type 4 | file type specification ("SVG", "file"; for SVG files the default is "SVG") specify 4=- or4= 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 imageorfile) | 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 | specification of the part or element which is used displayed as-it-is, may be multilingul (e.g. Langswitch) specified | empty | optional | |
s | style: with s=s a shortened text will be didplayed | empty | optional | |
m | possible {{U}} modification code (e.g. t , w , wt ) for parameter U or 6 | empty | optional |
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
{{Attrib|1=test.svg|U=Jimbo Wales|t=c|8=example|m=t}}
renders as:
Lua: can perform an unlimited numberofAttrib transclusions.
العربية ∙ беларуская (тарашкевіца) ∙ বাংলা ∙ Deutsch ∙ English ∙ español ∙ eesti ∙ français ∙ galego ∙ hrvatski ∙ magyar ∙ italiano ∙ 日本語 ∙ македонски ∙ മലയാളം ∙ norsk bokmål ∙ Nederlands ∙ polski ∙ português ∙ русский ∙ sicilianu ∙ slovenščina ∙ svenska ∙ ślůnski ∙ 简体中文 ∙ 繁體中文 ∙ +/−
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.