Difference between revisions of "Template:AesicaBoxStatBar"

From PRIMUS Database
Jump to: navigation, search
Line 6: Line 6:
 
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>
+
<ul><li><nowiki>{{AesicaBoxStatBar|name|value|barBgColor|barFgColor1|barFgColor2|bgColor|textColor}}</nowiki></li>
 +
<li>"value" is a numeric value between 0 and 100</li></ul>
  
 
Note that bgColor and textColor are optional and default to the values listed below if not included:
 
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|Stat|50|#222|#f00|#0f0|#bbb|#000}}</nowiki></li></ul></noinclude>

Revision as of 05:00, 5 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|barBgColor|barFgColor1|barFgColor2|bgColor|textColor}}
  • "value" is a numeric value between 0 and 100

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

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