Difference between revisions of "Template:ProgressBar"
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {| width="100%" style="background:transparent" | + | {| width="100%" style="background:transparent;" |
− | | style="text-align:right" valign="middle" width=" | + | | style="text-align:right" valign="middle" width="30%" | {{{1}}}: |
− | | valign="middle" width=" | + | | valign="middle" width="70%" | |
{| style="border:{{{7|1}}}px solid {{{5|#000}}};background:{{{6|transparent}}};" cellpadding="0" cellspacing="0" width="100%" | {| style="border:{{{7|1}}}px solid {{{5|#000}}};background:{{{6|transparent}}};" cellpadding="0" cellspacing="0" width="100%" | ||
− | | style="text-align:left" | | + | | style="text-align:left;" | |
− | {| | + | {| width="{{{2}}}%" style="background:{{{6|transparent}}};" |
| valign="middle" style="color:{{{4|#fff}}};padding-left:5px;background-color:{{{3|#f00}}};" |{{{2}}}% | | valign="middle" style="color:{{{4|#fff}}};padding-left:5px;background-color:{{{3|#f00}}};" |{{{2}}}% | ||
|} | |} | ||
|} | |} | ||
− | |} | + | |}</includeonly> |
− | </includeonly> | + | |
− | |||
<noinclude> | <noinclude> | ||
Line 70: | Line 68: | ||
|- | |- | ||
| width="50%" style="border:1px solid #aaa;" | <code><nowiki>{{ProgressBar|Progress to next lvl|85|#ff0|#8772ff|#045|7=2}}</nowiki></code> | | width="50%" style="border:1px solid #aaa;" | <code><nowiki>{{ProgressBar|Progress to next lvl|85|#ff0|#8772ff|#045|7=2}}</nowiki></code> | ||
− | | width="50%" style="border:1px solid #aaa;" | {{ | + | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next lvl|85|#ff0|#8772ff|#045|7=2}} |
|- | |- | ||
| width="50%" style="border:1px solid #aaa;" | <code><nowiki>{{ProgressBar|Progress to next lvl|85|4=#000|6=#0ff}}</nowiki></code> | | width="50%" style="border:1px solid #aaa;" | <code><nowiki>{{ProgressBar|Progress to next lvl|85|4=#000|6=#0ff}}</nowiki></code> | ||
− | | width="50%" style="border:1px solid #aaa;" | {{ | + | | width="50%" style="border:1px solid #aaa;" | {{ProgressBar|Progress to next lvl|85|4=#000|6=#0ff}} |
|} | |} | ||
<br><br> | <br><br> | ||
Line 82: | Line 80: | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
− | + | __NOTOC__ | |
</noinclude> | </noinclude> |
Revision as of 20:42, 10 March 2008
DO NOT EDIT! |
DO NOT edit this page. If you want to use the template just copy and paste it into your player's wiki. 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 a specific progress. It is nearly the same as the Enhancement Bar Template. The diffenrence is the text in front of the bar is now no link.
Level Progress
If you want to show your progress in lvl, just use
Code | Output | |||
---|---|---|---|---|
{{ProgressBar|Progress to next lvl|45}}
|
|
Medal Progress
You can also use it to show your progress in medals or whatever you want.
Code | Output | |||
---|---|---|---|---|
{{ProgressBar|Progress to next Medal|88}}
|
|
Optional Parameters
This template now allows for users to customize the colors of the bar. However, if only select colors are changed, then parameters will have to be referred to by number.
1 = Description . . . . . . . . default: none, this parameter is mandatory 2 = Percentage . . . . . . . . .default: none, this parameter is mandatory 3 = Percentage Bar Color . . . .default: #f00 (red) 4 = Percentage Text Color . . . default: #fff (white) 5 = Full Bar Border Color . . . default: #000 (black) 6 = Full Bar Internal Color . . default: transparent 7 = Full Bar Border Size . . . .default: 1
Code | Output | |||
---|---|---|---|---|
{{ProgressBar|Progress to next lvl|85|#ff0|#8772ff|#045|7=2}}
|
| |||
{{ProgressBar|Progress to next lvl|85|4=#000|6=#0ff}}
|
|
Alternate Templates
If you want to show your percentage for a specific enhancement you can also use the Template Enhancement Bar which works the same way but will automatically create a link for the related Enhancement.