MyBB Community Forums
Font Awesome & RPG Awesome - Printable Version

+- MyBB Community Forums (
+-- Forum: Resources (
+--- Forum: MyCodes (
+--- Thread: Font Awesome & RPG Awesome (/thread-217020.html)

Font Awesome & RPG Awesome - Kenjiraw - 2018-04-17

Hello there! I will share with you 4 similar codes I made for FontAwesome and RPGAwesome. I will be simple.

First of all if you want RPGAwesome you have to download it and upload it to your server.

In your headerinclude:

<link rel="stylesheet" type="text/css" href="" />
<link rel="stylesheet" type="text/css" href="https://domaine.tld/path/to/RPG-Awesome/css/rpg-awesome.min.css" />



\[fa ([a-z\-]+)\]
\[fa ([a-z0-9\-]+) ([a-z0-9\-]+)\]
\[ra ([a-z\-]+)\]
\[ra ([a-z0-9\-]+) ([a-z0-9\-]+)\]
(Icons with dash separated words like 'player-teleport' are supported aswell.)

Replace (respectively):

<i class="fa fa-$1"></i>
<i class="fa fa-$1 fa-$2"></i>
<i class="ra ra-$1"></i>
<i class="ra ra-$1 ra-$2"></i>

These codes, and similars, work:

[fa music]
[fa music lg]
[fa 2x music]
[ra pill]
[ra pill 3x]
[ra 4x pill]

RE: Font Awesome & RPG Awesome - .m. - 2018-04-17

^ looks like it can be useful for some users Smile