Template Documentation
Portions of this template may not be visible without parameter values provided

Usage

This template parses out an icon with optional classes and styles:

  • The i- prefix will be added automatically if omitted.
  • A list of icons can be found here.

Syntax

{{Icon|icon name|extra classes|inline styles}}
  • icon name — Name of the icon, with or without the i- prefix.
  • extra classes — Additional CSS classes, separated by spaces. (optional)
  • inline styles — CSS styles to apply inline. (optional)

Example

{{Icon|circle}}

{{Icon|i-square|fs-2 text-primary}}

{{Icon|tdsw|fs-1|color:green}}

This template parses out an icon with optional classes and styles parameters. Find a list of available icons here: https://alter-ego.fandom.com/wiki/Help:Manual/Framework/Icons

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Icon name1

The name of the icon

Example
twitter-x
Linerequired
Class2

Optional class

Example
fs-2 text-primary
Lineoptional
Inline style3

Optional styling (doesn't apply on mobile)

Example
color: red; font-size: 24px;
Lineoptional