🎃 Happy Halloween, Screamer Wiki! 🎃
User:TabbyGarf/Guides:Userbox Etiquette: Difference between revisions
(→Usage) |
m (Documentation section.) |
||
Line 19: | Line 19: | ||
| info-s = 8 | | info-s = 8 | ||
}} | }} | ||
<noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
</pre> | </pre> | ||
Line 53: | Line 56: | ||
|Follow a theme to the variety of Kinky. | |Follow a theme to the variety of Kinky. | ||
|- | |- | ||
== Documentation == | |||
Adding documentation is necessary for userbox usage. To make a documentation you need to put {{tl|documentation}} inside the <noinclude> tags and make a "/doc" sub-page for example, [[User:TabbyGarf/UserHelper]]'s documentation page is [[User:TabbyGarf/UserHelper/doc]]. | |||
You can use a table to show different outputs of your UBX. | |||
<pre> | |||
{| | |||
!Template Output | |||
!Plain Code | |||
|- | |||
|{{User:K-Fee/UBX}} | |||
|<pre>{{User:K-Fee/UBX}}</pre> | |||
|- | |||
|{{User:K-Fee/UBX|Auto}} | |||
|<pre>{{User:K-Fee/UBX|Auto}}</pre> | |||
|- | |||
|{{User:K-Fee/UBX}} | |||
|<pre>{{User:K-Fee/UBX|Strand}}</pre> | |||
|- | |||
</pre> | |||
or, in the case of a single output: | |||
<pre> | |||
{| | |||
!Template Output | |||
!Plain Code | |||
|- | |||
|{{User:K-Fee/UBX}} | |||
|<pre>{{User:K-Fee/UBX}}</pre> | |||
|- | |||
</pre> |
Revision as of 07:02, 7 June 2020
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). You are not obligated to follow the etiquette as you wont get banned for breaking it. It's your UBX. your style. However in the case of let's say less niche/more general Userboxes (like an admin status UBX, User info UBX like {{User:TabbyGarf/MemberFor}}, {{User:TabbyGarf/UserHelper}} or {{User:TabbyGarf/Translator}}
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 }} <noinclude> {{documentation}} </noinclude>
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
Documentation
Adding documentation is necessary for userbox usage. To make a documentation you need to put {{documentation}} inside the tags and make a "/doc" sub-page for example, User:TabbyGarf/UserHelper's documentation page is User:TabbyGarf/UserHelper/doc. You can use a table to show different outputs of your UBX.
{| !Template Output !Plain Code |- |{{User:K-Fee/UBX}} |<pre>{{User:K-Fee/UBX}}
or, in the case of a single output:
{| !Template Output !Plain Code |- |{{User:K-Fee/UBX}} |<pre>{{User:K-Fee/UBX}}
Template | Template Code | Why Is It Good? | ||
---|---|---|---|---|
{{User:TabbyGarf/Garfield}} |
Giving the image's color to the border. | |||
{{FANDOMDespise}} |
Users a color theme similar to FANDOM's logo, text could be fixed by setting "info-s" to "8" for homogeneity | |||
{{UserHacker}} |
Follow a theme to the typical "terminal-like" color palette. | |||
{{BLM}} |
Uses the icon's BG color on the UBC's BG color. | |||
{{BDSM}} |
Follow a theme to the variety of Kinky. | |||
User:K-Fee/UBX | {{User:K-Fee/UBX|Auto}} | |||
User:K-Fee/UBX | {{User:K-Fee/UBX|Strand}} |