ઢાંચો:Usbk
Usage
ફેરફાર કરો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 withUser:
,Template:
, orWikipedia:
.
{{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:
|nocat=true
|category=
|categories=no
(see Wikipedia:Category suppression)
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.
Example
ફેરફાર કરોThe following code...
{{usbktop}} {{usbk|Template:User Arizona|category=Wikipedians in Arizona}} {{usbk|number=1|User:UBX/vandalized|n}} {{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}} {{usbk|number=3|User:Bennelliott/UBX/twin|2=you=A|3=twin=B}} {{usbk|number=3|continued=yes|User:Bennelliott/UBX/twin|2=you=C|3=twin=D}} {{usbkbottom}}
...displays the following table:
Code | Result | |||
---|---|---|---|---|
{{ઢાંચો:User Arizona}} Transclusions Category:Wikipedians in Arizona |
| |||
1. {{સભ્ય:UBX/vandalized|n}} Transclusions |
| |||
2. {{સભ્ય:Patricknoddy/Userboxes/Lives in}} Transclusions |
||||
2. cont. {{સભ્ય:Patricknoddy/Userboxes/Lives in|Atlanta, Georgia|Flag of the United States.svg}} Transclusions |
| |||
3. {{સભ્ય:Bennelliott/UBX/me|you=A|twin=B}} Transclusions |
| |||
3. continued {{સભ્ય:Bennelliott/UBX/me|you=C|twin=D}} Transclusions |
|
See also
ફેરફાર કરો- This template is compatible with the following templates:
- {{Ubxdisplay}} - a single-serving (i.e. non-tabled) version of this template
- {{stublist}} - Similar template set for stubs