Template:User Files/doc/layout
use {{TemplateBox}}
← Older revision
Revision as of 14:12, 22 March 2013
Line 1:
Line 1:
−
+
{{TemplateBox
+
|1=number
+
|1d=Specifies the amount of the files. Not used if category is defined.
+
{{#if: {{{compatible|}}} | (Synonyms: 1, num) | (Synonym: 1) }}
+
|1def=
+
|1stat=
−
{{{description|}}}
+
|2=category
−
''This template is multilingual. You can help with the translation [{{fullurl:{{FULLPAGENAME}}|action=edit}} here] and at [{{fullurl:Template:User Files/layout|action=edit}} Template:User Files/layout].''
+
|2d=Specifies the category in which the files are counted. {{#if: {{{compatible|}}} | (synonym: cat }}
+
|2def=
+
|2stat=
−
''See also:'' [[File:Gnome-emblem-documents.svg|15x15px]] {{t|User Files}}, [[File:Gnome-emblem-photos.svg|15x15px]] {{t|User Images}}, [[File:Quality images logo.svg|15x15px]] {{t|User QI}}, [[File:Valued image seal.svg|15x15px]] {{t|User VI}}, [[File:Cscr-featured.svg|15x15px]] {{t|User FP}}, [[File:Gnome-video-x-generic.svg|15x15px]] {{t|User Videos}} and [[File:Gnome-audio-input-microphone.svg|15x15px]] {{t|User Sounds}}
+
|3=colors
+
|3d=Uses a different color scheme. Possible values are: standard,
+golden, light-blue and light-grey
+
|3def=
+
|3stat=
+
|4=gender
+
|4d=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).
+
|4def=n
+
|4stat=
−
== Parameters ==
+
|5=subtract
−
All parameters are optional.
+
|5d=Subtracts a constant from the displayed number. {{#if: {{{compatible|}}} | (Synonym: sub }}
−
{| class="wikitable"
+
|5def=
−
! Paramter !! Synonyms !! Description
+
|5stat=
−
|-
+
−
| number
+
|6=username
−
| {{#if: {{{compatible|}}} | 1, num | 1 }}
+
|6d=Name of the user.
−
| Specifies the amount of the files. Not used if category is defined.
+
|6def=
−
|-
+
|6stat=
−
| category
+
−
| | {{#if: {{{compatible|}}} | cat }}
+
|name={{{template|}}}
−
| Specifies the category in which the files are counted.
+
|desc={{Esoteric}}
−
|-
+
{{{description|}}}
−
| colors
+
''This template is multilingual. You can help with the translation
−
|
+
[{{fullurl:{{FULLPAGENAME}}|action=edit}} here] and at [{{fullurl:Template:User
−
| Uses a different color scheme. Possible values are: standard, golden, light-blue and light-grey
+
Files/layout|action=edit}} Template:User Files/layout].''
−
|-
+
|namespace=user
−
| gender
+
|usergroup=autoconfirmed
−
|
+
|placement=
−
| 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).
+
|usage-notes=
−
|-
+
|type=
−
| subtract
+
|example=
−
| {{#if: {{{compatible|}}} | sub }}
+
|i18n-method=
−
| Subtracts a constant from the displayed number.
+
|i18n-desc=
−
|-
+
|seealso=[[File:Gnome-emblem-documents.svg|15x15px]] {{t|User Files}},
−
| username
+
[[File:Gnome-emblem-photos.svg|15x15px]] {{t|User Images}}, [[File:Quality images
−
|
+
logo.svg|15x15px]] {{t|User QI}}, [[File:Valued image seal.svg|15x15px]] {{t|User
−
| Name of the user.
+
VI}}, [[File:Cscr-featured.svg|15x15px]] {{t|User FP}},
−
|}
+
[[File:Gnome-video-x-generic.svg|15x15px]] {{t|User Videos}} and
+
[[File:Gnome-audio-input-microphone.svg|15x15px]] {{t|User Sounds}}
+
|setscats=
+
|lines=
+
|shorthand=
+
|relieson=
+
}}
== Usage ==
== Usage ==
Line 49:
Line 55:
{{{{{template|}}}|number=42}}
{{{{{template|}}}|number=42}}
−
It can be used as a live counter, if all the files have been categorized to a suitable [[:Category:User categories|user category]]:
+
It can be used as a live counter, if all the files have been categorized to a
+
suitable [[:Category:User categories|user category]]:
{{{{{template|}}}|category={{{category|}}}}}
{{{{{template|}}}|category={{{category|}}}}}
Line 73:
Line 79:
{{{{{template|}}}|number=42|username=UnreifeKirsche}}
{{{{{template|}}}|number=42|username=UnreifeKirsche}}
−
Some languages distinguish between the gender of the user. ''If your language doesn't you can look at the example with the {{uselang|de|German interface}}.''
+
Some languages distinguish between the gender of the user. ''If your language
+
doesn't you can look at the example with the {{uselang|de|German interface}}.''
{{{{{template|}}}|number=42|gender=n}}
{{{{{template|}}}|number=42|gender=n}}