Difference between revisions of "Template:ProgressBar"
From Fallen Sword Wiki
(→How to Use: typo) |
|||
(3 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| width="100%" style="background:transparent;" | {| width="100%" style="background:transparent;" | ||
− | | style="text-align:right" valign="middle" width="30%" | {{{1}}}: | + | | style="text-align:right;font-size:{{{14|10pt}}};font-family:{{{15|Arial}}};" valign="middle" width="{{{8|30%}}}" | {{{1}}}: |
− | | valign="middle" width="70%" | | + | | valign="middle" width="{{{9|70%}}}" | |
− | {| style="border:{{{7|1}}}px solid {{{5|#000}}};background:{{{6|transparent}}};" cellpadding=" | + | {| style="border:{{{7|1}}}px {{{10|solid}}} {{{5|#000}}};background:{{{6|transparent}}};" cellpadding="{{{11|1}}}" cellspacing="0" width="100%" |
| style="text-align:left;" | | | style="text-align:left;" | | ||
− | + | <div width="{{{2}}}%" style="background:{{{6|transparent}}};position:relative;width:{{{2}}}%;"> | |
− | + | <div style="color:{{{4|#000}}};padding-left:5px;background-color:{{{3|#f00}}}; font-size:{{{12|9pt}}};font-family:{{{13|Arial}}};">{{{2}}}%</div></div> | |
− | + | ||
|} | |} | ||
|}</includeonly> | |}</includeonly> | ||
− | |||
− | |||
<noinclude> | <noinclude> | ||
{| style="width:600px; border: solid 2px #8A0808; padding:2px" align="center" cellspacing=0 | {| style="width:600px; border: solid 2px #8A0808; padding:2px" align="center" cellspacing=0 | ||
Line 23: | Line 20: | ||
== How to Use == | == How to Use == | ||
− | This template allows you to make a percentage bar for a specific progress. It is nearly the same as the [[Template:EnhancementBar|Enhancement Bar Template]]. The | + | This template allows you to make a percentage bar for a specific progress. It is nearly the same as the [[Template:EnhancementBar|Enhancement Bar Template]]. The difference is the text in front of the bar is now no link. |
====Level Progress==== | ====Level Progress==== | ||
Line 54: | Line 51: | ||
<pre> | <pre> | ||
− | 1 = Description . . . . . . . . default: none | + | 1 = Description . . . . . . . . default: none (this parameter is mandatory) |
− | 2 = Percentage . . . . . . . . .default: none | + | 2 = Percentage. . . . . . . . . default: none (this parameter is mandatory) |
− | 3 = Percentage Bar Color . . . .default: #f00 (red) | + | 3 = Percentage Bar Color. . . . default: #f00 (red) |
− | 4 = Percentage Text Color . . . default: # | + | 4 = Percentage Text Color . . . default: #000 (black) |
5 = Full Bar Border Color . . . default: #000 (black) | 5 = Full Bar Border Color . . . default: #000 (black) | ||
6 = Full Bar Internal Color . . default: transparent | 6 = Full Bar Internal Color . . default: transparent | ||
− | 7 = Full Bar Border Size . . . .default: 1 | + | 7 = Full Bar Border Size. . . . default: 1 |
+ | 8 = Description Width . . . . . default: 30% | ||
+ | 9 = Full Bar Width. . . . . . . default: 70% | ||
+ | 10 = Full Bar Border-Style. . . default: solid | ||
+ | 11 = Full Bar Padding . . . . . default: 1px | ||
+ | 12 = Percentage Font-Size . . . default: 9pt | ||
+ | 13 = Percentage Font-Family . . default: Arial | ||
+ | 14 = Description Font-Size. . . default: 10pt | ||
+ | 15 = Description Font-Family. . default: Arial | ||
</pre> | </pre> | ||
Line 76: | Line 81: | ||
== Alternate Templates == | == Alternate Templates == | ||
− | + | * [[Template:EnhancementBar]] - This template turns the description into a link. | |
− | + | * [[Template:EnhancementBar2]] - This template allows for a level to be placed before the description. | |
+ | * [[Template:EnhancementBar3]] - This template gives only the bar with the percentage. | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
__NOTOC__ | __NOTOC__ | ||
</noinclude> | </noinclude> |
Latest revision as of 22:02, 22 September 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 difference 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: #000 (black) 5 = Full Bar Border Color . . . default: #000 (black) 6 = Full Bar Internal Color . . default: transparent 7 = Full Bar Border Size. . . . default: 1 8 = Description Width . . . . . default: 30% 9 = Full Bar Width. . . . . . . default: 70% 10 = Full Bar Border-Style. . . default: solid 11 = Full Bar Padding . . . . . default: 1px 12 = Percentage Font-Size . . . default: 9pt 13 = Percentage Font-Family . . default: Arial 14 = Description Font-Size. . . default: 10pt 15 = Description Font-Family. . default: Arial
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
- Template:EnhancementBar - This template turns the description into a link.
- Template:EnhancementBar2 - This template allows for a level to be placed before the description.
- Template:EnhancementBar3 - This template gives only the bar with the percentage.