Template:Mana/doc

Generates mana icons using css.

Usage
The template takes one parameter, the mana cost, and returns that number inside the mana icon. This is more efficient than individual mana images, as only 1 image needs to be loaded. It only comfortably fits up to 2-digit numbers, which shouldn't be a problem as nothing currently costs 3-digit mana.

An optional second parameter overrides the size.

Example
Produces:

Produces: