Template:User: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
No edit summary
Line 11: Line 11:
{{{residence|}}}
{{{residence|}}}
</td></tr>|1{{{residence|}}}=}}{{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="background:{{{c2|#111}}};" class="head">'''Physical description'''</th></tr>}}
</td></tr>|1{{{residence|}}}=}}{{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="background:{{{c2|#111}}};" class="head">'''Physical description'''</th></tr>}}
{{t|1=<tr class="data" style="background: {{{c3|#f0f0f0}}};"><td>Gender</td><td class="infoboxcell">
{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Gender</td><td class="infoboxcell">
{{{gender|}}}
{{{gender|}}}
</td></tr>|1{{{gender|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Skin color</td><td class="infoboxcell">
</td></tr>|1{{{gender|}}}=}}{{t|1=<tr class="data" style="background: {{{c3|#222}}};"><td>Skin color</td><td class="infoboxcell">

Revision as of 18:54, 5 March 2009

{{{name}}}
Biographical information
Physical description
General information
[Source]

Field list

  • image
  • name
  • birth
  • birthplace
  • residence
  • gender
  • skin color
  • height
  • weight
  • hair
  • eyes
  • occupation
  • hobbies
  • contribs
  • userboxes (place optional userbox template here)
  • c1 (optional color modifier)
  • c2 (optional color modifier)
  • c3 (optional color modifier)

Display parameters

  • hideb
  • hidep
  • hideg

Details

This version of the user infobox template allows users to easily recolor the box and gives them the ability to display their userboxes using an optional userbox container template that was specially designed to nest neatly within it.

Usage

To use this template, paste the following code into the top of your userpage, filling all relevant fields:

{{user infobox
|image=
|name=
|birth= 
|birthplace=
|residence=
|gender=
|skin=
|height= 
|weight=
|hair= 
|eyes=
|occupation=
|hobbies=
|contribs=
|userboxes=
}}

Notes

  1. All the data fields are collapsible, so do not worry about leaving any of them empty.
  2. The three variables (hideb, hidep, and hideg) correspond to the three sub-headings (Biographical information, Physical description, and General information). If you wish to remove one of them, all you must do is append a brief statement to the template code. For instance:
{{user infobox
|hideb=hide
}}

Produces this: Template:User infobox

Example

Template:User infobox

Code

{{user infobox
|name=name
|birth=date
|gender=gender
|skin=skin color
|height=height
|weight=weight
|hair=color
|eyes=color
|hobbies=hobbies
|userboxes={{userbox container
|ub1={{user en}}
|ub2={{user fox}}
|ub3={{user sw-3}}
}}
}}