Template:Simple formula

Revision as of 20:23, 4 October 2020 by Egocarib (talk | contribs)

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 parameter
  • size: percentage - 130 by default
  • color: 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