User:Jediknightdtv/HPBar: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
(Fixing it to make it 100 HP instead of 360. Hope I did this right...)
 
Line 9: Line 9:
|}
|}
|-  
|-  
| style="background:#{{steel color light}}; color:#000000; {{roundybottom|10px}}" | <div align="center">{{#ifexpr: 100 - (({{PAGESIZE:User talk:Jediknightdtv|R}} div 1024) round 0) > 0|<font face="Monospace">'''[[User talk:Jediknightdtv|{{color|000|HP: {{#expr: floor(360 - ({{PAGESIZE:User talk:Jediknightdtv|R}} div 102400 * 360))}}/360}}]]'''</font>|[[User talk:Jediknightdtv|<span class="roundy" style="background:#990000; color:#FFFFFF; line-height:8px;"><small>&nbsp;&nbsp;FNT&nbsp;&nbsp;</small></span>]]}}</div>
| style="background:#{{steel color light}}; color:#000000; {{roundybottom|10px}}" | <div align="center">{{#ifexpr: 100 - (({{PAGESIZE:User talk:Jediknightdtv|R}} div 1024) round 0) > 0|<font face="Monospace">'''[[User talk:Jediknightdtv|{{color|000|HP: {{#expr: floor(100 - ({{PAGESIZE:User talk:Jediknightdtv|R}} div 1024))}}/100}}]]'''</font>|[[User talk:Jediknightdtv|<span class="roundy" style="background:#990000; color:#FFFFFF; line-height:8px;"><small>&nbsp;&nbsp;FNT&nbsp;&nbsp;</small></span>]]}}</div>
|- class="expandable"
|- class="expandable"
| colspan="2" | {{#ifexpr: floor({{PAGESIZE:User talk:Jediknightdtv|R}} div 1024) < 100|[[{{#switch: {{FULLPAGENAME}}|User talk:Jediknightdtv=User:Jediknightdtv/Archive|User talk:Jediknightdtv}}|''{{color|000|Talk Page Archives}}'']]|<div style="text-decoration:blink">[[{{#switch: {{FULLPAGENAME}}|User talk:Jediknightdtv=User:Jediknightdtv/Archive|User talk:Jediknightdtv}}|<big>'''{{color|FF0000|ARCHIVE THIS TALK PAGE, IMMEDIATELY!}}'''</big>]]</div>}}
| colspan="2" | {{#ifexpr: floor({{PAGESIZE:User talk:Jediknightdtv|R}} div 1024) < 100|[[{{#switch: {{FULLPAGENAME}}|User talk:Jediknightdtv=User:Jediknightdtv/Archive|User talk:Jediknightdtv}}|''{{color|000|Talk Page Archives}}'']]|<div style="text-decoration:blink">[[{{#switch: {{FULLPAGENAME}}|User talk:Jediknightdtv=User:Jediknightdtv/Archive|User talk:Jediknightdtv}}|<big>'''{{color|FF0000|ARCHIVE THIS TALK PAGE, IMMEDIATELY!}}'''</big>]]</div>}}
|}
|}

Latest revision as of 04:28, 14 June 2011

448.png 295.png 474.png 233.png
My Mainpage My Talkpage My Templates Useful Links

Hello, and Welcome to my HP Bar Page!

First of all, a HUGE THANK YOU goes out to Takharii for helping me to get this formatted the way that I wanted. Thanks Takharii! Secondly, another HUGE THANK YOU goes out to TTEchidna for creating the original code, which I borrowed and modified to suit my own tastes. Thanks big guy, for creating one of the coolest and most useful bits of code I have seen around here! Please feel free to copy this code on your own page to create your own Talk Page HPBar, especially if you are new to Bulbapedia, and editing wikis in general, like I am. However, I would ask that you do two simple things: first, ask me on my talkpage, before you just up and steal the code, and second, please significantly change it to personalize it to your own tastes (favorite colors, Pokémon, etc.). You do not have to credit me, as it is not necessary, as I am not the creator of the code, but I would credit TTEchidna, as he is the creator of the code, and might get irked with you if you don't, and as he is the big cheese around here, that would not bode well for you.

448