Defense
Speed
This template returns color code corresponding to the stats specified through argment.
This template is not case sensitive, so "speed", "Speed", "SPEED" works exactly same when passed as a template argment.
Examples
Code:
{User:Koanyan5028/Template/Stat Color|speed}}
Result:
#55ff55
Code:
<span style="color:{{User:Koanyan5028/Template/Stat Color|defense}}">Defense</span>
Result:
- Defense
Code:
<!-- TODO: make stat bar color can be specified with stat name -->
{{User:Koanyan5028/Template/Potion Stats Bar|value=15|color={{User:Koanyan5028/Template/Stat Color|attack}} }}
Result:
- ■■■■■□□□□□ 15/30