Advertisement

Spanclass/doc

This template creates a span with a class name based on the provided text, and that text is also the content of the span, or alternate text can be specified.

Usage:

{{spanclass|text}}

In the above usage, the text serves as both the class name and the text. Before being used as the class name, spaces are replaced with hyphens and letters are converted to lowercase, but the text is displayed as it was provided.

Alternate usage:

{{spanclass|class|text}}

In this usage, the class name is specified separately, but is still forced to lowercase and spaces are still replaced with hyphens.

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.

Hearthstone Wiki is currently under major revamp. All articles that have card lists or queries may not function properly for now. Please check back later!

READ MORE