Template:Userbox/Item

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:54, 17 October 2024 (Created page with "{{Userbox |id={{#switch:{{{1}}} |house = File:Construction icon.png |scythe = File:Scythe.png |#default = {{#ifexist: File:{{{1}}}.png | [[File:{{{1}}}.png]] | {{#ifexist: File:{{{1}}}.PNG | [[File:{{{1}}}.PNG]] | {{{image|?}}} }} }} }} |id-c={{#switch: {{{1}}} |house = #8C6F2D |scythe = #E0760B }} |info=<center>{{#switch: {{{1}}} |house = This user owns a <br>'''<span style="color:black">House</span>'''. |scythe = This user owns a <br>'''Scyth..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
?
This user owns a {{{1}}}.

Usage

Template documentation
This documentation is transcluded from Template:Userbox/doc. [edit] [history] [purge]

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.

Usage

id info
{{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)
}}

Example

{{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
}}

Gives you:

File:Quest start icon.png This user is a member.




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>