Template:Simple formula
Overview
Creates a simple, formatted, formula from the input string.
- Adds common colors and formatting
- Bolds the entire formula except for variables (words)
- Replaces * with ×
Can be adjusted later if we want to change the format.
Parameters
formula
: default parametersize
: percentage - 130 by defaultcolor
: color - #009403 by default (green)
Examples
Code | Result |
---|---|
{{simple formula|(17 + (Level * 5)) / 7}}
|
(17 + (Level × 5)) / 7
|
{{simple formula|(17 + (Level * 5)) / 7 | size=100 | color=white}}
|
(17 + (Level × 5)) / 7
|