Mlink-rodrigue (talk | contribs)
No edit summary
Bhuber (talk | contribs)
Update subject via NeoWiki UI
 
(5 intermediate revisions by one other user not shown)
Line 11: Line 11:
|features=The '''FontAwesome''' extension provides parser functions to insert [https://fontawesome.com/ Font Awesome Free] icons into the wiki text.
|features=The '''FontAwesome''' extension provides parser functions to insert [https://fontawesome.com/ 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:
This extension defines three parser functions:


Line 19: Line 16:
* <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''':  
Line 27: Line 21:




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


}}
}}
neo
Line 1: Line 1:
{}
{
    "mainSubject": "sF1VDJcxDn62ZB5",
    "subjects": {
        "sF1VDJcxDn62ZB5": {
            "schema": "Extension info",
            "statements": {
                "Edition": {
                    "propertyType": "select",
                    "value": [
                        "Glacier",
                        "Sky",
                        "Sapphire"
                    ]
                },
                "Description": {
                    "propertyType": "text",
                    "value": [
                        "Provides the FontAwesome icon fonts in the wiki"
                    ]
                },
                "Maintainer": {
                    "propertyType": "text",
                    "value": [
                        "MW"
                    ]
                },
                "License": {
                    "propertyType": "select",
                    "value": [
                        "MIT"
                    ]
                }
            }
        }
    }
}

Latest revision as of 10:30, 12 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.

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 free icons, see https://fontawesome.com/search