Template:Usbk/doc
| This is a documentation subpage for Template:Usbk. It may contain usage information, categories and other content that is not part of the original template page. |
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
Example
The following code...
{{usbktop}}
{{usbk|User:American Eagle/Count|N}}
{{usbk|User:Razorflame/Userpage Vandalized|N}}
{{usbk|User:American Eagle/USA}}
{{usbk|User:Chocolates/User notadmin}}
{{usbkbottom}}
...displays the following table:
| Code | Result | Users | ||
|---|---|---|---|---|
| {{User:American Eagle/Count|N}} |
|
Transclusions | ||
| {{User:Razorflame/Userpage Vandalized|N}} |
|
Transclusions | ||
| {{User:American Eagle/USA}} | Transclusions | |||
| {{User:Chocolates/User notadmin}} |
|
Transclusions |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.