FANDOM


This page is here to help you customise your userpage!

What to put on your userpageEdit

Well, pretty much anything you want! There are a few things you aren't allowed:

  • Personal images. Per the images and media policy, All images hosted on the wiki must be used in the main article namespace at least once. You cannot upload an image solely for use on your userpage.
    • You also shouldn't upload an image, add it to one article and your userpage, unless it complies with all the points of the policy and is superior to any existing image of the subject.
    • You're allowed to use images already on the wiki on your userpage as much as you want.
    • Personal images of your character can be hosted externally, but more on that later.
  • Flaming and personal attacks. Your userpage shouldn't be used to flame or personally attack any user, per the user treatment policy. Consistently adding such material can result in a block. Additionally, formatting done to the userpage must not make it difficult to access system links found in the side bar, the header, or the footer.

Anything else is fair game!

Some userpage codeEdit

All of the following assumes you are not using the Rich text editor. You can disable it by visiting your preferences, and unchecking Enable Rich Text Editing in the Editing tab (make sure you bypass your cache by following the instructions at the bottom of the page, or here).

Backgrounds and bordersEdit

Backgrounds and borders are created in two main ways:

  1. Using the HTML tag <div>.
  2. Using tables.

We will cover both here.

Using the HTML tag <div>Edit

Div tags follow the basic format as follows:

<div style="background:colour; border:width style colour; color:c; width:w; height:h;">

----page content here----

</div>

Explanation:

code result/why
<div The opening of the div tag. Without it nothing happens!
style=" Most of the userpage quantities (background, border, text size, etc.) are styles, so a style attribute is opened. Note the quote mark, this is required to open the style.
background:colour; This defines the background colour. Colour can take many values: a name, a hexadecimal code, or a RGB (red green blue) code. More later. Note that the semicolon trailing the colour is required to separate different quantities (in this case background from border).
border:width style colour; This defines the border. Width is the width of the border, usually given in pixels (e.g. 4px). Style is what the border is, e.g. solid, dashed, double, triple, etc. See also Help:Customising your signature - although its uses span the method is the same. Colour can take the same values as background above.
color:c; This define the text colour. Note the spelling of color. Colours can take the same values as background above. Be aware that link formatting overrides the text colour. You will need to use [[internal link location|<span style="color:preferred colour;">link name</span>]] or [external url <span style="color:preferred colour;">link name</span>].
width:w; This defines how wide this border/background/attributes stretches across the page. W takes a value of a percentage (e.g. 80%), or length in pixels (300px). A common usage is 100% - to span the entire width of the page.
height:h; This defines the height the attributes span down the page. H can be a percentage or a length, like width. Note again the semicolon - its not strictly required in this case (being the last quantity in the style) but should be used.
" This quote mark closes the style so it is required.
> This greater-than sign closes the opening div - it marks where the attributes end and the rest of your page begins. It is required.
----page content here---- This is the rest of the content of your userpage.
</div> This is the closing div tag. It marks where you no longer want the styles defined in the opening tag to no longer apply.
Some examples

Note that the results are a little crushed due to the table; copy the code to your userpage or the sandbox and preview to see it properly.

Example request Code Result
green background, red solid border 2 pixels wide, 100% wide and 500 pixels high <div style="background:green; border:2px solid red; width:100%; height:500px;"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div>

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

orange background, blue outset border 5px wide, green text <div style="background:orange; border:5px outset blue; color:green;"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div>

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

more example to come...

Using tablesEdit

Most of the time you can accomplish what you want with div. However sometimes you might want to use a table.

Advantages of tables to div:

  • Each cell can have a different style
  • Can make positioning easier with use of colspan and rowspan

Disadvantages

  • Can be unwieldy to some
  • Can get complex with lots of colspans and rowspans

Basic code is as follows:

{| style="background:colour; border:width style colour; color:c; width:w; height:h;"
| --content--
|style="background:colour; border:width style colour; color:c; width:w; height:h;"| --more content--
|-
|colspan="2"| --some more--
|- style="background:colour; border:width style colour; color:c; width:w; height:h;"
| --more--
| --and more--
|}


Explanation:

code result/why
{| This opens the table. Without it nothing happens!
style="..." All this is exactly the same as above.
| This defines a cell.
--content-- This is the content of that cell
|style="..."| --more content-- This defines the next cell (to the right of the one before), and also gives it a certain style (following all the normal rules). This can be used to make the cell have a different background, or its own border, etc.
|- This defines a new row.
|colspan="2"| --some more-- This defines a cell which spans two columns. The number can be increased.
|- style="..." This defines a row with a style (normal rules). The style applies to the cells following it, not preceding it.
|} This defines the end of the table. It is required.
See also
Some examples

Note that the results are a little crushed due to the table; copy the code to your userpage or the sandbox and preview to see it properly.

Example request Code Result
green background, red solid border 2 pixels wide, 100% wide and 500 pixels high
{| style="background:green; border:2px solid red; width:100%; height:500px;"
|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
black background, gold 5px inset border, purple text, second cell is red with white border, third cell on new row is blue, white text with 2 colspan
{| style="background:black; border:5px inset gold; color:purple;"
|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|style="background:red; border:2px solid white;"|Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
|-
|colspan="2" style="background:blue; color:white;"|Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
more examples to come...

Other useful HTMLEdit

The following tags can be used on your userpage for the following effects:

Tag Description Example
<big>text</big> Increases the font size. Can be nested. text large text
<small>text</small> Decreases the font size. can be nested. text small text
<sup>text</sup> Superscripts text. Can be nested. textsuperscript
<sub>text</sub> Subscripts text. Can be nested. textsubscript
<div align="alignment">content</div> Aligns content to the left, right or center.
centered text

See also W3Schools HTML reference and W3Schools CSS reference

ColoursEdit

Colours can be defined by name (red), by hexadecimal (#FF0000) or RGB number (rgb(255,0,0). Note that the # for hex and the rgb, ( and , for RGB should be included.

A list of colours can be found here. See also W3Schools web colours list.

UserboxesEdit

Userboxes are special templates designed specifically for use on userpages.

There are many premade ones, and you can also make your own personalised ones.

Custom userboxesEdit

If you want to say something about yourself via a userbox, but none of the premade ones are just right? Make your own!

Userboxes are made using Template:Userbox. Here is the base template, along with explanations of each parameter.

{{Userbox
|id       = ID text/image (the part on the left side)
|id-c     = ID background colour
|id-fc    = ID font colour
|id-s     = ID text size
|info     = info text (the part on the right side)
|info-c   = info background colour
|info-fc  = info font colour
|info-s   = info text size
|border-c = border colour
|border-s = border width (in pixels)
}}

All the colours can be in hex, RGB, or just the name. See above.

The ID is the left hand side of the userbox. Its usually a good idea to limit this to a single word, or an image of 36 by 36 pixel (handily enough, about the size of a normal inventory sprite).

The info is the right hand side of the infobox; this is generally always text, and can be a few sentences without stretching the box too badly.

Be aware that links in either ID or info override the font colour specified, solution above.

Some examplesEdit

notes code result
using an ID of text; notice the unused parameters are omitted; colour names
{{Userbox
|id       = Boxes!
|id-c     = green
|id-fc    = white
|info     = This user likes boxes!
|info-c   = lightgreen
|info-fc  = blue
|border-s = 2
}}
Boxes! This user likes boxes!
ID is small image; hex colours
{{Userbox
|id       = [[File:Zero.jpg|Box!]]
|id-c     = #A52A2A
|info     = This user likes boxes!
|info-c   = #800000
|info-fc  = #DCDCDC
|border-c = #000000
}}
Zero This user also likes wooden boxes!
ID is larger, resized image; RGB colours
{{Userbox
|id       = [[File:Zero.jpg|36x36px|Crate the trolls!]]
|id-c     = rgb(47,79,79)
|info     = This user likes crates too!
|info-c   = rgb(176,196,222)
|info-fc  = rgb(0,100,0)
|border-c = rgb(70,0,30)
|border-s = 4
}}
Zero This user likes crates too!

PositioningEdit

Custom userboxes can be positioned in the same way as premade ones, and can be mixed in:

{{userboxes}}
{{Userbox
|id       = Boxes!
|id-c     = green
|id-fc    = white
|info     = This user likes boxes!
|info-c   = lightgreen
|info-fc  = blue
|border-s = 2
}}
{{Userbox
|id       = [[File:Zero.jpg|Box!]]
|id-c     = #A52A2A
|info     = This user likes boxes!
|info-c   = #800000
|info-fc  = #DCDCDC
|border-c = #000000
}}
{{Userbox/CG name|name}}
{{Userbox
|id       = [[File:Zero.jpg|36x36px|Crate the trolls!]]
|id-c     = rgb(47,79,79)
|info     = This user likes crates too!
|info-c   = rgb(176,196,222)
|info-fc  = rgb(0,100,0)
|border-c = rgb(70,0,30)
|border-s = 4
}}
{{userboxesend}}

Template:Userbox/free player

Boxes! This user likes boxes!
Zero This user likes boxes!

Template:Userbox/CG name

Zero This user likes crates too!
-->

Other user templatesEdit

There are many other templates you can use on your userpage to enhance it; a full list is here (not that some pages here belong to certain users).

SubpagesEdit

Sometimes, you want something in your userspace but not on your main userpage. This is where making subpages comes in.

There are three ways to make a subpage:

  • Edit a page and create a link to a non-existent page and press preview (e.g. put in [[User:Example/Quests]] for a Quests subpage (remember, its case sensitive), then click the link (it should take you straight to an edit box).
  • Type in the subpage you want into the search box to the left (e.g. type in User:Example/Quests), then click the Create this page link.
  1. Go to Special:CreatePage and put your subpage as the title (e.g. User:Example/Cheese) and your content in the edit box.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.