Difference between revisions of "Template:EnhancementBar3"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: <includeonly> {| width="100%" style="background:transparent;" | valign="middle" | {| style="border:{{{6|1}}}px {{{7|solid}}} {{{4|#000}}};background:{{{5|transparent}}};" cellpadding="{{{...)
 

Latest revision as of 22:09, 18 March 2008


Do not edit this page!

If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.

Editing this page may cause the template to stop working properly for other pages currently using this template.


How to Use

This template allows you to make a percentage bar for just about any use. Note: The white parts of the background are actually transparent so the template can be used on any color background.

For example, if we have 85%, then we would use

Code Output
{{EnhancementBar3|85}}
85%

Optional Parameters

This template now allows for users to customize various aspects of the bar. However, if only select parameters are changed, then parameters will have to be referred to by number.

1 = Percentage. . . . . . . . . default: none (this parameter is mandatory)
2 = Percentage Bar Color. . . . default: #f00 (red)
3 = Percentage Text Color . . . default: #000 (black)
4 = Full Bar Border Color . . . default: #000 (black)
5 = Full Bar Internal Color . . default: transparent
6 = Full Bar Border Size. . . . default: 1
7 = Full Bar Border-Style . . . default: solid
8 = Full Bar Padding. . . . . . default: 1px
9 = Percentage Font-Size. . . . default: 9pt
10 = Percentage Font-Family . . default: Arial

Alternate Templates