Template:EnhancementBar3

From Fallen Sword Wiki
Jump to: navigation, search


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