Template:ColoredHeroBox
From Unofficial Handbook of the Virtue Universe
Designed off of HeroBox. All credit goes to its designer
The ColoredHeroBox is an extension of the HeroBox so that user's can easily set it to their own color theme.
Contents |
How to use the ColoredHeroBox
Follow the guidelines for the HeroBox
New Paramaters
(All colors should be entered in hex value, such as #010101))
- topmargin - The number of pixels of spacing should be used for the top margin.
- color1 - The base background color.
- color2 - The border and name background color.
- color3 - The subsection background color.
- fontcolor1 - The color of the base text. Defaults to white.
- fontcolor2 - The color of the name and player text (ie Eye color, caption, ect). Defaults to white.
- fontcolor3 - The color of subsection text (ie Biographical Data, Personal Data, ect). Defaults to white.
- template - A default color template. This will override fontcolor1, fontcolor2, fontcolor3, color1, color2 and color3 with a predefined pattern.
- border - The number of pixels wide the border will be. Recommended values are 0 or 1. Defaults to 1.
Templates
These predefined templates are the full package. By adding any of these in the template line, you set the font and background colors to a predefined pattern. They're great for quick results, but if you want to use any of your own colors, don't use these!
- purple
- magenta
- crimson
- orange
- gold
- forestgreen
- cyan
- charcoal
Cheat Sheet
Just copy/paste the below list into your character's Edit box. Fill in the categories you wish to edit, and delete the rest. (Note: Use either color1, color2 and color3 or template. If using template, make sure you used one of the predefined patterns.)
{{ColoredHeroBox | topmargin = | template = | color1 = | color2 = | color3 = | fontcolor1 = | fontcolor2 = | fontcolor3 = | border = | image = | caption = | name = | player = | archetype = | origin = | level = | realname = | aliases = | species = | age = | height = | weight = | eyes = | hair = | nationality = | occupation = | birthplace = | hometown = | marital = | relatives = | powers = | abilities = | equipment = | footnotes = |}}
Modifying HeroBox
If you've already got HeroBox implemented, updating it to ColoredHeroBox is trivial! You can do it with no data loss. Just insert the blue text below into your pre-existing template and change "HeroBox" to "ColoredHeroBox".
{{ColoredHeroBox
| template =
| color1 =
| color2 =
| color3 =
| fontcolor1 =
| fontcolor2 =
| fontcolor3 =
| border =
| image =
| caption =
| name =
| player =
| archetype =
| origin =
| level =
| realname =
| aliases =
| species =
| age =
| height =
| weight =
| eyes =
| hair =
| nationality =
| occupation =
| birthplace =
| hometown =
| marital =
| relatives =
| powers =
| abilities =
| equipment =
| footnotes =
|}}
Color Locations
color1 and fontcolor1 | |
color2 and fontcolor2 | |
color2 and fontcolor2 | |
color3 and fontcolor3 | |
color1 and fontcolor1 |
---|