Template:DifficultyText/doc

The purpose of DifficultyText is to color code the text based on difficulty level, or by extension, any grade or rating analogous to difficulty levels.

The usage of DifficultyText goes like this:

Here, the level represents the numerical difficulty level. To express a variable value, you use Var. To express an impossible value, you use Undef. All other inputs yield no result.

The usage of DifficultyText is similar to FontColor.