Template:User FP

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Cscr-featured.svg This user has uploaded featured pictures to Wikimedia Commons.


Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:User FP/doc.

As a user box for users who have uploaded one or more Featured pictures 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

Parameter Description Default Status
number
1
num
Specifies the amount of the files. Not used if category is defined. empty optional
category
cat
Specifies the category in which the files are counted. empty optional
colors Uses a different color scheme. Possible values are: standard, golden, light-blue and light-grey empty optional
gender Gender 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). n optional
subtract
sub
Subtracts a constant from the displayed number. empty optional
username Name of the user. empty optional

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

Gnome-emblem-documents.svg {{User Files 2}}, Gnome-emblem-photos.svg {{User Images}}, Quality images logo.svg {{User QI}}, Valued image seal.svg {{User VI}}, Cscr-featured.svg {{User FP}}, {{MyGallery/userbox}} provides a userbox with a convenient link, Gnome-video-x-generic.svg {{User Videos}} and Gnome-audio-input-microphone.svg {{User Sounds}}

Usage

Without any parameters you would get:

{{User FP}}
Cscr-featured.svg This user has uploaded featured pictures to Wikimedia Commons.

Customizing the displayed number

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

{{User FP|42}}
{{User FP|number=42}}
Cscr-featured.svg This user has uploaded 42 featured pictures to Wikimedia Commons.

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

{{User FP|category=Featured pictures by Alvesgaspar}}
Cscr-featured.svg This user has uploaded 155 featured pictures to Wikimedia Commons.

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

{{User FP|category=Featured pictures by Alvesgaspar|subtract=5}}
Cscr-featured.svg This user has uploaded 150 featured pictures to Wikimedia Commons.

Customizing the appereance

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

Cscr-featured.svg This user has uploaded 42 featured pictures to Wikimedia Commons.
{{User FP|number=42|colors=golden}}
Cscr-featured.svg This user has uploaded 42 featured pictures to Wikimedia Commons.
{{User FP|number=42|colors=light-blue}}
Cscr-featured.svg This user has uploaded 42 featured pictures to Wikimedia Commons.
{{User FP|number=42|colors=light-grey}}
Cscr-featured.svg This user has uploaded 42 featured pictures to Wikimedia Commons.

Customizing the username

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

{{User FP|number=42|username=UnreifeKirsche}}
Cscr-featured.svg UnreifeKirsche has uploaded 42 featured pictures 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 FP|number=42|gender=n}}
Cscr-featured.svg This user has uploaded 42 featured pictures to Wikimedia Commons.
{{User FP|number=42|gender=f}}
Cscr-featured.svg This user has uploaded 42 featured pictures to Wikimedia Commons.
{{User FP|number=42|gender=m}}
Cscr-featured.svg This user has uploaded 42 featured pictures to Wikimedia Commons.