Stormbound: Kingdom Wars Wiki
Advertisement
Template-info.png Documentation

Generates mana icons using css.

Usage

{{Mana|number}}

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

{{Mana|12}}

Produces:

12


{{Mana|12|1.5em}} {{Mana|12|20px}} {{Mana|12|300%}}

Produces:

12 12 12

Advertisement