Actions

User

User:TabbyGarf/Guides:Userbox Etiquette

From Screamer Wiki

Revision as of 04:56, 7 June 2020 by TabbyGarf (talk | contribs) (Page creation.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Disclaimer

This userbox etiquette is part of a project of UBX (Userbox) uniformization applied in part by some administrators on their own userboxes. This etiquette tries to obtain overall sameness of style by being visually attached to the default wiki theme. This sameness is achieved by attributing the page background color to the userbox's "id-c" and "info-c" values. Another way of reaching that sameness is setting a userbox height (id-h) of 45 pixels, this value is also set to the picture (id value).

Template

Such a userbox can be made thanks to multiple ways. For a simple one you can use this template provided:

{{userbox
| border-c      = #fff
| border-s      = 2
| id            = [[File:filename.extension|45px|link=]]
| id-c          = #333
| id-h          = 45
| id-s          = 12
| id-w          = 45
| info          = sample text
| info-c        = #333
| info-fc       = #fff
| info-s        = 8
}}

To follow more the wiki's theme you can set the border-c value to "#e87057" to fit the Hyperlink color.

If you dont want to bother touching any code you can use this UBX generator as long as you follow the template values for "id-h", "id-w" and "id" in case you use an image.


Notable good examples

Usage

Template Template Code Why Is It Good?
User:TabbyGarf/UserHelper
{{User:TabbyGarf/UserHelper}}
User:TabbyGarf/UserHelper
{{User:TabbyGarf/UserHelper|helpme}}
User:TabbyGarf/UserHelper
{{User:TabbyGarf/UserHelper|help}}
User:TabbyGarf/UserHelper
{{User:TabbyGarf/UserHelper|both}}