Extension:FontAwesome

The FontAwesome extension provides parser functions to insert Font Awesome Free (version 6.2.1) icons into the wiki text.

Configuration
There are two render modes available for FontAwesome icons:


 * Web Fonts with CSS: This default implementation uses web fonts as the file format and relies on the browser to render icons as it would any custom font
 * SVG with JavaScript: This implementation encodes icon data and the mechanism to display them in the browser in JavaScript code that the browser executes

The render mode can be selected by setting the configuration parameter  in your "LocalSettings.php" file. Allowed values are:  (default) and.


 * Example:

For a discussion of the advantages and drawbacks of the render modes see Performance &amp; Font Awesome on fontawesome.com.

Usage
This extension defines three parser functions:


 * to insert an icon from the FontAwesome Regular font
 * to insert an icon from the FontAwesome Solid font
 * to insert an icon from the FontAwesome Brands font

This will insert the "Wikipedia-W" icon in your page.
 * Example:

For valid icon names see https://fontawesome.com/v6/search.

Additional classes can be added after the icon name. This will insert a spinning "Wikipedia-W" icon in your page.
 * Example:

For Font Awesome specific classes see Style Cheatsheet

Font Awesome CSS Custom Properties can be used as properties for classes.

License
GNU General Public License 3.0 or later
 * Extension

Various licenses
 * Font Awesome Free