Difference between revisions of "Template:AesicaBoxStatBar"

From PRIMUS Database
Jump to: navigation, search
(Created page with "<noinclude>Category:Templates<!--Do not edit or delete kthx--></noinclude> |- style="background-color:{{{5|#bbb}}}; color:{{{6|#000}}}; border: 1px solid {{{7|#000}}};" |...")
 
Line 2: Line 2:
 
|- style="background-color:{{{5|#bbb}}}; color:{{{6|#000}}}; border: 1px solid {{{7|#000}}};"
 
|- style="background-color:{{{5|#bbb}}}; color:{{{6|#000}}}; border: 1px solid {{{7|#000}}};"
 
| style="padding: 2px; width: 35%;" | {{{1|Stat}}}:
 
| style="padding: 2px; width: 35%;" | {{{1|Stat}}}:
| style="padding: 2px; width: 65%; background-color: {{{4|#222}}}" | <div style="width:{{{2|50}}}%; height: 1em; background-color:{{{3|#f00}}}"></div><noinclude>
+
| style="padding: 2px; width: 65%; background-color: {{{4|#222}}}" | <div style="width:{{{2|50}}}%; height: 100%; background-color:{{{3|#f00}}}"></div><noinclude>
  
 
For use in the details section in Template:AesicaBox
 
For use in the details section in Template:AesicaBox

Revision as of 04:43, 5 October 2020

|- style="background-color:#bbb; color:#000; border: 1px solid #000;" | style="padding: 2px; width: 35%;" | Stat:

| style="padding: 2px; width: 65%; background-color: #222" |

For use in the details section in Template:AesicaBox

  • {{AesicaBoxStatBar|statName|0to100Value|barBgColor|barFgColor|bgColor|textColor}}

Note that bgColor and textColor are optional and default to the values listed below if not included:

  • {{AesicaBoxStatBar|Stat|50|#222|#f00|#bbb|#000}}