Template:Userbox/AWB/doc: Difference between revisions
< Template:Userbox | AWB
Content added Content deleted
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
{{clear}} |
|||
{{Documentation|Template:Userbox}} |
{{Documentation|Template:Userbox/AWB}} |
||
The '''Userbox''' template is used to quickly create a userbox for display on a user's user page without having to know HTML or wiki syntax. |
|||
Format: <code><nowiki>{{Userbox/AWB}}</nowiki></code> |
|||
==Usage== |
|||
<br> |
|||
{{Userbox}} |
|||
The userbox displays that the user is an [[RS:AutoWikiBrowser|AutoWikiBrowser (AWB)]]. |
|||
{{Clear|left}} |
|||
<pre>{{Userbox |
|||
|id = id text or image |
|||
|id-c = id background colour |
|||
|id-fc = id font colour |
|||
|id-s = id text size |
|||
|info = info text |
|||
|info-c = info background colour |
|||
|info-fc = info font colour |
|||
|info-s = info text size |
|||
|border-c = box colour |
|||
|border-s = border width (in pixels) |
|||
}}</pre> |
|||
==Example== |
|||
<pre>{{Userbox |
|||
|id = [[File:Quest start icon.png|25px]] |
|||
|id-c = gold |
|||
|id-fc = #FFFFFF |
|||
|info = '''This user is a [[Members|<span style= "color:black; text-decoration:underline;">member</span>]].''' |
|||
|info-c = #FFE766 |
|||
|info-fc = black |
|||
|border-c = #786500 |
|||
|border-s = 1 |
|||
}}</pre> |
|||
'''Gives you:''' |
|||
{{Userbox |
|||
|id = [[File:Quest start icon.png|25px]] |
|||
|id-c = gold |
|||
|id-fc = #FFFFFF |
|||
|info = '''This user is a [[Members|<span style= "color:black; text-decoration:underline;">member</span>]].''' |
|||
|info-c = #FFE766 |
|||
|info-fc = black |
|||
|border-c = #786500 |
|||
|border-s = 1 |
|||
}} |
|||
<br><br><br> |
|||
===Additional notes=== |
|||
* It is suggested that the size of any images in the id box is limited to 36x36 pixels. |
|||
* For a list of colours and the Hex codes for them, see [[RuneScape:Colour codes]] |
|||
;Create new userbox |
|||
<createbox> |
|||
align=left |
|||
width=30 |
|||
break=yes |
|||
prefix=Template:Userbox/ |
|||
preload=Template:Userbox/Preload |
|||
buttonlabel=Create New Userbox |
|||
</createbox> |
|||
<includeonly>[[Category:Userbox templates| ]]</includeonly> |
Latest revision as of 12:05, 17 October 2024
Format: {{Userbox/AWB}}
The userbox displays that the user is an AutoWikiBrowser (AWB).