Template:Characterbox
From LGPedia
					Revision as of 17:59, 6 April 2009 by Shiori  (Talk | contribs) (Switching to the new template (fingers crossed))
New Characterbox template
This template creates character boxes like those on lonelygirl15 characters, for example.
Usage
{{Characterbox
|width=
|height=
|background=
|border=
|header=
|image=
|imagewidth=
|imageborder=
|charactername=
|textcolor=
|actorname=
|characterblurb=
<!--include only if a main character-->
|main=yes
}}
All parameters have a default value, so if a certain parameter is unneeded, it can be omitted without damage.
| Parameter | What to put there | Default if omitted | 
|---|---|---|
| width | Width of the character box | 90%, if an image is specified, 100% otherwise | 
| height | Height of the character box, any valid css unit. | If omitted, height is automatically determined | 
| background | The box's background color. Accepts any valid HTML color name or code. | transparent | 
| border | The box's border color. Accepts any valid HTML color name or code. | #aaa | 
| header | The box's header color. Accepts any valid HTML color name or code. | Defaults to the background color. | 
| image | Purely the name of the image to use, without "Image:" prefix. | None. If omitted, no image is displayed. | 
| imagewidth | The width of the image to display, in pixels, without "px". | 80px for main characters, 50px otherwise | 
| imageborder | The border around the image. Accepts any valid HTML color name or code. | Defaults to the border color. | 
| charactername | Purely the name of the character, nothing else. If a page with that name exists, a link will be created automatically. | Name missing. | 
| textcolor | The color of text in the character box. Accepts any valid HTML color name or code. | #000 | 
| actorname | Purely the name of the actor, nothing else. If a page with that name exists, a link will be created automatically. | The text "Unknown". | 
| characterblurb | Whatever you want to say about that character. | No description entered. | 
