Уикипедия — ашық энциклопедиясынан алынған мәлімет
Jump to navigation Jump to search
(i) Құжаттама


This template is used for showing a userbox and its properties in a table row. The only mandatory parameter is userbox name. Wrap {{usbktop}} and {{usbkbottom}} around uses of this template.

{{usbk|userbox name}}
Include the full userbox name, i.e. prefix it with User:, Template:, or Wikipedia:.
{{usbk|userbox name|param1|param2}}
For a userbox that uses up to 2 unnamed parameters. If your userbox accepts more parameters, make a request on the talk page to expand this template.
{{usbk|userbox name|2=param1=value1|3=param2=value2}}
For a userbox set that uses up to 2 named parameters.
{{usbk|userbox name|category=user category}}
If the userbox adds user pages into a user category under Category:Wikipedians. Do not include the Category: prefix.

Category suppression

Some userboxes automatically place the page where it is used into a category. These categories are not appropriate for pages such as lists, so some userboxes support a feature to suppress the automatic category. This template invokes category suppression for those userboxes. There are several methods for category suppression, Usbk supports those that use:

Numbering of Userboxen

The userboxen can be numbered by changing the |number= parameter. When you do this you must manually enter what number the userbox is. Also if you want to display the same userbox another time with altered parameters you can can the |cont.= parameter or the |continued= parameter, which will then display "cont." or "continued" respectively.


The following code...

{{usbk|Template:User Arizona|category=Wikipedians in Arizona}}
{{usbk|number=2|User:Patricknoddy/Userboxes/Lives in}}
{{usbk|number=2|cont.=yes|User:Patricknoddy/Userboxes/Lives in|Atlanta, Georgia|Flag of the United States.svg}}

...displays the following table:

Код Нәтижесі
 {{Үлгі:User Arizona}} Үлгі:User Arizona Қолданылған беттер
Category:Wikipedians in Arizona
1. {{User:UBX/vandalized|n}} Қатысушы:UBX/vandalized Қолданылған беттер
2. {{User:Patricknoddy/Userboxes/Lives in}} Қатысушы:Patricknoddy/Userboxes/Lives in Қолданылған беттер
2. cont.  {{User:Patricknoddy/Userboxes/Lives in|Atlanta, Georgia|Flag of the United States.svg}} Қатысушы:Patricknoddy/Userboxes/Lives in Қолданылған беттер
3. {{User:Bennelliott/UBX/me|you=A|twin=B}} Қатысушы:Bennelliott/UBX/me Қолданылған беттер
3. continued  {{User:Bennelliott/UBX/me|you=C|twin=D}} Қатысушы:Bennelliott/UBX/me Қолданылған беттер

See also

Үлгіні өңдеген кезде абай болыңыз!