Template:Icon/doc
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Icon name | 1 | The name of the icon
| Line | required |
| Class | 2 | Optional class
| Line | optional |
| Inline style | 3 | Optional styling (doesn't apply on mobile)
| Line | optional |