Mlink-rodrigue (talk | contribs)
No edit summary
Mlink-rodrigue (talk | contribs)
No edit summary
Line 19: Line 19:
* <code><nowiki>{{#fas:...}}</nowiki></code>: inserts an icon of type ''FontAwesome Solid''
* <code><nowiki>{{#fas:...}}</nowiki></code>: inserts an icon of type ''FontAwesome Solid''
* <code><nowiki>{{#fab:...}}</nowiki></code>: inserts an icon of type ''FontAwesome Brands''
* <code><nowiki>{{#fab:...}}</nowiki></code>: inserts an icon of type ''FontAwesome Brands''
Alternatively, the icons can be added to a page via [[Manual:Extension/FontAwesome{{!}}template / content droplet]].


'''Example''':  
'''Example''':  

Revision as of 09:25, 6 November 2026

all extensions

Overview
Description:

Provides the FontAwesome icon fonts in the wiki

State: stable Dependency: MediaWiki
Developer: Stephan Gambke License:
Type: MediaWiki Category: Content Structuring
Edition: Glacier, Sky, Sapphire Version: 1.1+
For more info, visit Mediawiki.

Features

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

Currently Font Awesome Free, version 6.2.1 is included.

Functionality=

This extension defines three parser functions:

  • {{#far:...}}: inserts an icon of type FontAwesome Regular
  • {{#fas:...}}: inserts an icon of type FontAwesome Solid
  • {{#fab:...}}: inserts an icon of type FontAwesome Brands

Example: {{#fab:wikipedia-w}} inserts the "Wikipedia-W" icon.


For available icons, see https://fontawesome.com/v6/search.