Template:User QI 2
This user has uploaded quality images to Commons. |
As a user box for users who have uploaded one or more quality images to Commons.
Correct work with some languages, have more than one plural form.
See also:
{{User Files}} {{User own photos}} {{User Sounds 2}}
And also (not correct work with some languages, have more than one plural form):
{{User Files}}, {{User Images}}, {{User QI}}, {{User VI}}, {{User FP}}, {{User Videos}} and {{User Sounds}}
Usage
{{User Files 2 |number= |category= |colors= |gender= |subtract= |username= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
number | Synonym: 1. Specifies the amount of the files. Not used if category is defined. | 0 | optional | |
category | Specifies the category, in which the files are counted. | empty | optional | |
colors | Uses a different color scheme. Possible values are: golden , light-blue and light-grey . | light-grey | optional | |
gender | Gender of the user. Is used only in some languages (e.g. German, Russian). Possible values are: n (not defined, default value), f (female) and m (male). | n | optional | |
subtract | Subtracts a constant from the displayed number. | 0 | 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: all users
To add your language to the list of languages supported by this template, please copy the code of Template:User QI 2/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.
Parameter objname
consists of several parts (2, 3 or 4 - depending of language), separated by symbol "/":
- first part contains singular form
- second part contains plural form
- third part contains second plural form (used in some language, for most of languages can be omitted)
- fourth part contains text for empty or zero number (at most of languages coincides with the second part and can be omitted)
Examples:
- English:
/file/files
- Russian:
/файл/файла/файлов/файлы
See also the description of template {{Plural}}.
Usage
Without any parameters you would get:
{{User QI 2}}
This user has uploaded quality images to Commons. |
Customizing the displayed number
If you want to specify the number of uploaded files you could do that this way:
{{User QI 2|42}}
{{User QI 2|number=42}}
This user has uploaded 42 quality images to Commons. |
It can be used as a live counter, if all the files have been categorized to a suitable user category:
{{User QI 2|category=Quality images by Alvesgaspar}}
This user has uploaded 2020 quality images to Commons. |
You can also subtract a constant if you need e.g. some subcategories not to be counted:
{{User QI 2|category=Quality images by Alvesgaspar|subtract=5}}
This user has uploaded 2015 quality images to Commons. |
Customizing the appereance
You can also change the color scheme of the userbox:
{{User QI 2|number=42|colors=golden}}
This user has uploaded 42 quality images to Commons. |
{{User QI 2|number=42|colors=light-blue}}
This user has uploaded 42 quality images to Commons. |
{{User QI 2|number=42|colors=light-grey}}
This user has uploaded 42 quality images to Commons. |
Customizing the username
If you want you can display your username in this userbox:
{{User QI 2|number=42|username=UnreifeKirsche}}
UnreifeKirsche has uploaded 42 quality images to 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 QI 2|number=42|gender=n}}
This user has uploaded 42 quality images to Commons. |
{{User QI 2|number=42|gender=f}}
This user has uploaded 42 quality images to Commons. |
{{User QI 2|number=42|gender=m}}
This user has uploaded 42 quality images to Commons. |