Difference between revisions of "Template:AesicaBoxStatBar"

From PRIMUS Database
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]<!--Do not edit or delete kthx--></noinclude>
+
<noinclude>[[Category:Templates]][[Category:@aesica]]<!--Do not edit or delete kthx--></noinclude>
 
|- style="background-color:{{{6|#bbb}}}; color:{{{7|#000}}}; border: 1px solid {{{8|#000}}};"
 
|- style="background-color:{{{6|#bbb}}}; color:{{{7|#000}}}; border: 1px solid {{{8|#000}}};"
 
| style="padding: 2px; width: 35%;" | {{{1|Stat}}}:
 
| style="padding: 2px; width: 35%;" | {{{1|Stat}}}:
| style="padding: 2px; width: 65%;" | <div style="background-color: {{{3|#222}}}; width: 150px; height: 1em; border: 1px solid {{{7|#000}}};"><div style="width:{{{2|50}}}%; height: 1em; background-image:linear-gradient({{{4|#f00}}}, {{{5|#f00}}});"></div></div><noinclude>
+
| style="padding: 2px; width: 65%;" | <div style="border-radius: 10px; background-color:{{{3|#444}}}; text-align: right; width: 150px; height: 10px; border: 1px solid {{{7|#000}}};"><div style="background-image: linear-gradient(0deg, {{{4|#f00}}}, {{{5|#f80}}}); width:{{{2|50}}}%; height: 100%"></div></div><noinclude>
  
 
For use in the details section in Template:AesicaBox
 
For use in the details section in Template:AesicaBox
  
<ul><li><nowiki>{{AesicaBoxStatBar|statName|0to100Value|barBgColor|barFgColor1|barFgColor2|bgColor|textColor}}</nowiki></li></ul>
 
  
Note that bgColor and textColor are optional and default to the values listed below if not included:
 
  
<ul><li><nowiki>{{AesicaBoxStatBar|Stat|50|#222|#f00|#0f0|#bbb|#000}}</nowiki></li></ul></noinclude>
+
<ul><li><nowiki>{{AesicaBoxStatBar|name|value|barFgColor1|barFgColor2|bgColorRow|textColor|barBgColor}}</nowiki></li>
 +
<li>"value" is a numeric value between 0 and 100</li></ul>
 +
 
 +
Note that every value besides name and value are optional.  If omitted, they will default to the values listed below:
 +
 
 +
<ul><li><nowiki>{{AesicaBoxStatBar|Stat|50|#f00|#f80|#bbb|#000|#444}}</nowiki></li></ul></noinclude>

Latest revision as of 10:12, 7 October 2020

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

| style="padding: 2px; width: 65%;" |

For use in the details section in Template:AesicaBox


  • {{AesicaBoxStatBar|name|value|barFgColor1|barFgColor2|bgColorRow|textColor|barBgColor}}
  • "value" is a numeric value between 0 and 100

Note that every value besides name and value are optional. If omitted, they will default to the values listed below:

  • {{AesicaBoxStatBar|Stat|50|#f00|#f80|#bbb|#000|#444}}