Template:User WCUP
| Wikimedia Commons has a User Page for User WCUP |
Documentation
The {{User WCUP}} template shows that the user is also a user of Wikimedia Commons and has a Wikimedia Commons User Page. It should not be substed. As a userbox, it was designed to be placed on a user page, where that user had the same name on Wikimedia Commons, so by default the main optional parameter takes the name of the page that it's placed on. (If Jimbo Wales put it on his user page, then it would state, "Wikimedia Commons has a User Page for Jimbo Wales".) If it is placed on a different page or if a user has a different username on Wikimedia Commons, an optional "user" parameter allows it to be explicitly given a specific username to link to. In addition, it has multiple optional parameters for formatting. The link to a userpage will never be a red link due to the nature of cross-project linking, so please check your work by previewing and following the link. Due to the limitations of cross-wiki linking, the links will continue to remain blue.
Usage
{{User WCUP}}
{{User WCUP|name on Commons}}
Example
| Code | Result | ||
|---|---|---|---|
| {{User WCUP}} |
| ||
| {{User WCUP|Jimbo Wales}} |
| ||
| {{User WCUP|user=Jimbo Wales}} |
|
Advanced Formatting
There are also several additional formatting options in the template. The following attributes are all implicitly assigned a value, but they may be changed by explicitly assigning them a value. Any attribute starting with "info-" refers to the text of the userbox.
| Attribute | Value |
|---|
Advanced Formatting Example
| Wikimedia Commons has a User Page for Jimbo Wales |
If we wanted the textbox to float on the right, instead of float on the left, with a "gold" border, a "jolly green" background and text the color of "Harold's Crayon", then {{User WCUP | Jimbo Wales | float=right | border-width=9 |border-color=gold |info-background=#9CCB19 |info-size=20 |info-color=#B62084}} would give us that image which you see over on the right.
TemplateData
A userbox to show that a user has a userpage on Wikimedia Commons
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| User | 1 user | The title of the userpage on Wikimedia Commons, minus the User: prefix. Defaults to the base title of the userpage the userbox is placed on.
| String | optional |
| Float | float | Changes where the box floats.
| String | optional |
| Border color | border-color | Changes the color of the userbox border.
| String | optional |
| Border Width | border-width | Changes the width of the userbox border, in pixels.
| Number | optional |
| Info background color | info-background | Changes the background color of the userbox.
| String | optional |
| Info font color | info-color | Changes the info font color.
| String | optional |
| Info font size | info-size | Changes the info text size, in points.
| Number | optional |
See also
- Template:User admin Wikicommons - A similar template for Commons administrators.
- Template:User Commons - A similar template without "Wikimedia" in its name.
- Template:User Wikimedia Commons - A similar template with "Wikimedia" in its name.
- User:Willscrlt/UBX/UbxWikicommonsUser - A similar template.
- Template:Cross-wiki user A similar side box with links to user page, user talk, contributions, etc.
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.