Wikia

Lego Star Wars Wiki

Help:UserBoxes

Talk0
1,061pages on
this wiki
Main Article: Wikipedia:Wikipedia:Userboxes

Userboxes (commonly abbreviated as UBX) are small colored boxes designed to appear on Lego Star Wars Users' user pages. They generally include one or two small graphics and a few short lines of text. Often they also include wiki markup that places the user in a category. Userboxes are generally created as templates and transcluded onto userpages, although their markup may be substituted directly onto userpages instead. Userboxes should not be used in articles.

Method 1

The easiest way to add a Userbox to your page is to go to Lego Star Wars Wiki:Project Userbox find a Userbox you like and then edit your page copy the code onto your User Page and save. So for example on looking on Lego Star Wars Wiki:Project Userbox you see the Han Solo Userbox shown below:

Lego Han This user loves Han Solo.


To have this Userbox on your page then all you have to do is copy the code shown below the box on the Userbox Project page. In this case its:

{{Han Solo Userbox}}

Edit your page by clicking the "Edit" tab at the top, add this code to your page and save. You are now the proud owner of a UserBox

Method 2

If you don't like any of the Userboxes shown on Lego Star Wars Wiki:Project Userbox then you can create a custom User Box by copying the below code onto your page:

{{Userbox
  |id       = Image
  |id-c     = Image Box background color
  |id-fc    = If you don't want an Image you can have text.  So this is font color 
  |id-s     = If you don't want an Image you can have text.  So this is text size
  |info     = Add your text here 
  |info-c   = info background color
  |info-fc  = info font color
  |info-s   = info text size
  |border-c = box color
  |border-s = border width in pixels
}}

Replace the above text with your custom box characteristics. It is suggested that you limit the size of any images in the id box to 50 pixels. For a list of colors and the Hex codes for them, see this Wikipedia page.

Below are a few examples of custom boxes:

{{Userbox
|id = [[Image:Lego Ben.jpg|50px]]
|id-c = DeepSkyBlue
|info = This user loves Lego Been.
|info-c = DeepSkyBlue
|info-fc = White
|border-c = DeepSkyBlue}}
Lego Been This user loves Lego Ben.
{{Userbox
|id = [[Image:Female.JPG|45px]]
|id-c = #FFF
|info = This user is a '''female'''.
|info-c = #FFD1DC
|info-fc = #000
|border-c = #E75480}}
Female This user is a female.
{{Userbox
|id = [[Image:C-SimpFamily.png|45px]]
|id-c = White
|info = This user loves to watch The Simpsons.
|info-c = gold
|info-fc = Black
|border-c = black}}
C-SimpFamily This user loves to watch The Simpsons.
{{Userbox
|id = [[Image:Xbox360.jpg|50px]]
|id-c =white
|info ='''This user owns an Xbox 360.
|info-c =silver
|info-fc =black
|border-c = black}}
Xbox360 This user owns an Xbox 360.
{{Userbox
|id = [[Image:Capitalism.jpg|45px]]
|id-c = id background color
|info = '''This user is a [[wikipedia:Capitalism|<span style="color:#EEC900">Capitalist</span>]]'''. 
|info-c = #4169E1
|info-fc = white
|border-c = #EEC900}}
Capitalism This user is a Capitalist.

"Filling In"

When ever there is a {{{1}}} You shouldn't copy the code shown below.

{{Userbox
|id = [[Image:wiki.png|45px]]
|id-c = silver
|info = This user has '''{{{1}}}''' [[Special:Editcount/{{PAGENAME}}|edits]]'''.
|info-c = gold
|info-fc = black
|border-c = white}}
Wiki This user has {{{1}}} edits.

Instead copy this one: And Then put the number or word you want where it says: edit number here, word(s) go here, ect.

 {{Edit Count Userbox|edit number here}}

Showing Userboxes

To show userboxes on your user page, use the following code:

{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 248px; border: #99B3FF solid 1px; background-color: #FFFFFF; color: #000000;" align="right"
!<big>{{PAGENAME}}'s [[Halopedia:Project Userbox|Userboxes]]</big>
|- align="center"
|(insert userbox here)
|- align="center"
|(insert userbox here)
...
|}

You might want to change the color of your border by changing the color code. You can find a number of codes here.

Around Wikia's network

Random Wiki