Open main menu
Gnome-emblem-documents.svgThis user has uploaded files to Wikimedia Commons.


Documentationviewedithistorypurge
This documentation is transcluded from Template:User Files/doc.

As a user box for users who have uploaded one or more files to Commons. This template is multilingual. You can help with the translation here and at Template:User Files/layout.

Usage

{{User Files |number= |category= |colors= |gender= |subtract= |username= }}

Template parameters

ParameterDescriptionDefaultStatus
number
1
Specifies the amount of the files. Not used if category is defined.emptyoptional
categorySpecifies the category in which the files are counted.emptyoptional
colorsUses a different color scheme. Possible values are: standard, golden, light-blue and light-greyemptyoptional
genderGender of the user. Is used only in some languages (e.g. German). Possible values are: n (not defined, default value), f (female) and m (male).noptional
subtractSubtracts a constant from the displayed number.emptyoptional
usernameName of the user.emptyoptional

Additional information

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

The template is intended to be used by the following user groups: Autoconfirmed users

See also

Usage

Without any parameters you would get:

{{User Files}}
Gnome-emblem-documents.svgThis user has uploaded files to Wikimedia Commons.

Customizing the displayed number

If you want to specify the number of uploaded files you could do that this way:

{{User Files|42}}
{{User Files|number=42}}
Gnome-emblem-documents.svgThis user has uploaded 42 files to Wikimedia Commons.

It can be used as a live counter, if all the files have been categorized to a suitable user category:

{{User Files|category=Files by User:UnreifeKirsche}}
Gnome-emblem-documents.svgThis user has uploaded 178 files to Wikimedia Commons.

You can also subtract a constant if you need e.g. some subcategories not to be counted:

{{User Files|category=Files by User:UnreifeKirsche|subtract=5}}
Gnome-emblem-documents.svgThis user has uploaded 173 files to Wikimedia Commons.

Customizing the appereance

You can also change the color scheme of the userbox: {{User Files|number=42|colors=standard}}

Gnome-emblem-documents.svgThis user has uploaded 42 files to Wikimedia Commons.
{{User Files|number=42|colors=golden}}
Gnome-emblem-documents.svgThis user has uploaded 42 files to Wikimedia Commons.
{{User Files|number=42|colors=light-blue}}
Gnome-emblem-documents.svgThis user has uploaded 42 files to Wikimedia Commons.
{{User Files|number=42|colors=light-grey}}
Gnome-emblem-documents.svgThis user has uploaded 42 files to Wikimedia Commons.

Customizing the username

If you want you can display your username in this userbox:

{{User Files|number=42|username=UnreifeKirsche}}
Gnome-emblem-documents.svgUnreifeKirsche has uploaded 42 files to Wikimedia Commons.

Some languages distinguish between the gender of the user. If your language doesn't you can look at the example with the German interface.

{{User Files|number=42|gender=n}}
Gnome-emblem-documents.svgThis user has uploaded 42 files to Wikimedia Commons.
{{User Files|number=42|gender=f}}
Gnome-emblem-documents.svgThis user has uploaded 42 files to Wikimedia Commons.
{{User Files|number=42|gender=m}}
Gnome-emblem-documents.svgThis user has uploaded 42 files to Wikimedia Commons.