Template:Attribs

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Attribs/doc.

This is a supertemplate of other templates.
An unlimited number of Attrib transclusions can be assigned to the file
where it should be shown that the other files attributed to its creation.
[clarification needed]

The template automatically sets the following categories: Attributed work  (a subcategory of Derivative works)

Usage

{{Attribs |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1filenamename of a file; with or without namespace0required
2usernamename of the user who created the file; with or without namespaceemptysuggested
3, 5, 7,...filenamename of another file/more files, unlimited numberemptyoptional
4, 6, 8,...usernamename of the user who created the file 3, 5, 7, ...emptyoptional
by
U, u
username
(global)
username for all the files 1,3,5,7... without individual parameter 2,4,6,8...
this is a general parameter; parameters 2,4,6,8... have precedence
emptyoptional
cat
category
categoryname of another category
cat= or cat=- to suppress any automatic categorizing
emptyoptional
typetypeFile extension, e.g. "SVG"0SVGoptional
ttopicspecify there the "topic" of the file that got attributed ("to"-topic)emptyoptional
ftopic
{global)
specify there the "topic(s)" of the file(s) which are used (general "from"-topic)
An empty value "f=" inhibits the defaulting with the value from "t"
0t
empty
optional
f1, f2, ...topicspecify there the "topics" of the files which are used (individual "from"-topics)
  • this value, or these values, specify topic(s) of the mentioned files;
f1 for the 1st file of parameter 1,
f2 for the 2nd file of parameter 3,
f3 for the 3rd file of parameter 5,
f4 for the 4th file of parameter 7, and so on.
  • when the general topic exists (defined with "f", or defaulted from "t"
    each individual topic "fn" replaces the general one;
when the value of an individual topic is empty, the general one is not used.
  • when no general topic exists (not defined with "f", nor defaulted from "t"
    each file without an individual topic "fn" remaines topicless
emptyoptional
ppart
{global)
specify there the "part(s)" which is/are used (general parameter)emptyoptional
p1, p2, ...partspecify there the "parts" of the files which are used (individual "parts")emptyoptional
m1, m2, ...modificationspecify the modifications for the user names, parameters 2,4,6,8...emptyoptional
sformattingspecified 's' for a shorter text, anything else for standard's'optional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Examples

Example

File:German Empire states map gd.svg uses it, or File:EU Member states and Candidate countries map.svg. See other transclusions.