Tips and Tricks for Using Icons
I bet there's at least one tip in here you may not have known
Free for all
BBCode icons
There is a small selection of BBCode icons available to all users. They are listed in the Codex and can be found in the Design Tag Reference. I find the checkboxes to be particularly useful.[] [c] [x] [r] [l] [+] [-]
Map Pin Icons
The sizes do vary, and the text aligns to the middle when used in-line.
[pin:flat_black_dragon] [pin:yellow_exclamationmark]
Unicode
You can also use some unicode characters! They can even be used ❤️ in the middle of sentences. Emoji and newer unicode do not work. However, these do work (and bring a pop of color). Just copy and paste them into your editor!Images as Icons
[img:2075743|left|70] [img:####|right|50]
Tips for Font Awesome Icons - Guildmasters +
With access to sections, you can add Font Awesome and RPG Awesome icons directly to your articles. Here I've compiled some tips and tricks to get even more out of Font Awesome. Some of these abilities are outlined in the Codex article on Guild BBCode, but some are not.
Icon Styles
Most Font Awesome icons come in different styles. This how you'd use a particular style:
[section:fa-solid fa-strawberry fa-3x] [/section] [section:fa-regular fa-strawberry fa-3x] [/section] [section:fa-light fa-strawberry fa-3x] [/section] [section:fa-thin fa-strawberry fa-3x] [/section] [section:fa-duotone fa-strawberry fa-3x] [/section]
Applying Color
Wrap your entire section with a color tag to change the color of your icon like so:[color:maroon][section:fa-solid fa-strawberry fa-3x] [/section][/color]
Sizing
Small, Regular, Large
Want teeny tiny icons? You can size icons from xxsmall to xxlarge, which is the same size as 2x below.
[section:fa-solid fa-coffee fa-2xs] [/section] [section:fa-solid fa-coffee fa-xs] [/section] [section:fa-solid fa-coffee fa-sm] [/section] [section:fa-solid fa-coffee] [/section] [section:fa-solid fa-coffee fa-lg] [/section] [section:fa-solid fa-coffee fa-xl] [/section] [section:fa-solid fa-coffee fa-2xl] [/section]
Sizing to Scale
This is using the fa-2x, fa-3x... up to fa-10x. You've already seen this demonstrated above, but click the spoiler button below for examples and explicit instructions.
Simply add fa-2x, fa-3x...fa-10x inside the section BBCode. Note how the text aligns to the bottom of the icon (even this 10x) when using them in the same line/paragraph.
[section:fa-solid fa-coffee] [/section] [section:fa-solid fa-coffee fa-2x] [/section] [section:fa-solid fa-coffee fa-3x] [/section] [section:fa-solid fa-coffee fa-4x] [/section] [section:fa-solid fa-coffee fa-5x] [/section]
[section:fa-solid fa-coffee fa-6x] [/section] [section:fa-solid fa-coffee fa-7x] [/section] [section:fa-solid fa-coffee fa-8x] [/section] [section:fa-solid fa-coffee fa-9x] [/section] [section:fa-solid fa-coffee fa-10x] [/section]
Rotations
Don't like the orientation of an icon? Flip it or rotate it!
BBCodeIcon |
BBCode |
---|---|
[color:#7d4cae][section:fa-light fa-coffee fa-2x] [/section][/color] | |
[color:#7d4cae][section:fa-light fa-coffee fa-2x fa-flip-horizontal] [/section][/color] | |
[color:#7d4cae][section:fa-light fa-coffee fa-2x fa-flip-vertical] [/section][/color] | |
[color:#7d4cae][section:fa-light fa-coffee fa-2x fa-flip-both] [/section][/color] [color:#7d4cae][section:fa-light fa-coffee fa-2x fa-rotate-180] [/section][/color] | |
[color:#7d4cae][section:fa-light fa-coffee fa-2x fa-rotate-90] [/section][/color] | |
[color:#7d4cae][section:fa-light fa-coffee fa-2x fa-rotate-270] [/section][/color] |
Animations
BBCode
Icon |
BBCode |
---|---|
[section:fa-solid fa-heart fa-2x fa-beat] [/section] | |
[section:fa-solid fa-heart fa-2x fa-fade] [/section] | |
[section:fa-solid fa-heart fa-2x fa-beat-fade] [/section] | |
[section:fa-solid fa-heart fa-2x fa-bounce] [/section] | |
[section:fa-solid fa-heart fa-2x fa-flip] [/section] | |
[section:fa-solid fa-heart fa-2x fa-shake] [/section] | |
[section:fa-solid fa-heart fa-2x fa-spin] [/section] | |
[section:fa-solid fa-heart fa-2x fa-spin fa-spin-reverse] [/section] | |
[section:fa-solid fa-heart fa-2x fa-spin-pulse] [/section] | |
[section:fa-solid fa-heart fa-2x fa-spin-pulse fa-spin-reverse] [/section] |
[color:orange][section:fas fa-2x fa-sun fa-spin] [/section][/color]
Borders
You can add borders around your icon![section:fa-solid fa-comment-music fa-2x fa-border] [/section]On some themes, it will appear darker, thicker, etc. It can also be customized using CSS
.user-css .fa-borderFont Awesome article on borders and pulls
Pulled Icons
Pull Left
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec egestas et risus quis mollis. Nullam nulla sem, sollicitudin vitae metus nec, semper vestibulum libero. Maecenas semper massa et massa ornare, nec luctus magna rutrum. Vivamus rhoncus lobortis ipsum, quis feugiat ipsum pharetra et. Etiam ipsum libero, faucibus sed varius a, scelerisque vitae dui.Pull Right
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec egestas et risus quis mollis. Nullam nulla sem, sollicitudin vitae metus nec, semper vestibulum libero. Maecenas semper massa et massa ornare, nec luctus magna rutrum. Vivamus rhoncus lobortis ipsum, quis feugiat ipsum pharetra et. Etiam ipsum libero, faucibus sed varius a, scelerisque vitae dui.BBCode | |
---|---|
Pull Left | [section:fa-solid fa-comment-music fa-3x fa-pull-left fa-flip-horizontal] [/section] |
Pull Right | [section:fa-solid fa-comment-music fa-3x fa-pull-right] [/section] |
RPG Awesome Icons
RPG Awesome icons can be subjected to many of the same actions as demonstrated above. However, they cannot be animated.[section:ra ra-raven ra-3x] [/section] [section:ra ra-raven ra-3x ra-flip-horizontal] [/section] [section:ra ra-raven ra-2xs] [/section] [section:ra ra-raven ra-3x ra-rotate-270] [/section]>>>Huge thanks to CraniumBeaver for that tip and for the CSS to adjust the borders:
.user-css .ra-border { border: solid .7em #000; border-radius: .35em; padding: .3em; background: #E2340945; }Some of the Font Awesome articles linked throughout also detail further CSS customizations.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec egestas et risus quis mollis. Nullam nulla sem, sollicitudin vitae metus nec, semper vestibulum libero. Maecenas semper massa et massa ornare, nec luctus magna rutrum. Vivamus rhoncus lobortis ipsum, quis feugiat ipsum pharetra et.
[section:ra ra-raven ra-3x pull-left ra-border] [/section]
Variables
[color:#A2152D][section:ra ra-2x ra-water-drop] [/section][/color]>>>Shout out to Graylion for reminding me about variables :)
Hand icon edited from: No Admittance by OpenIcons from Pixabay
© 2021 - 2022. All content and images created by HM Craven (hcraven) unless otherwise stated. All rights reserved.
Comments
Author's Notes
Thank you for reading! Now you're ready to go wild with icons. Or, you know, use them sparingly for greater emphasis :)
Wonderful work sir :)
World Anvil Founder & Chief Grease Monkey
Twitter | World Anvil Changelog
“No act of kindness, no matter how small, is ever wasted.” - Aesop
Thank you :)