Difference between revisions of "Wiki Icons"

From Open Food Facts wiki
Jump to navigation Jump to search
(Create page)
 
m (v. 5 icons only)
 
Line 2: Line 2:
  
 
== How to ==
 
== How to ==
# Find your icon on [https://fontawesome.com/icons?d=gallery&m=free Font Awesome website].
+
# Find your icon on [https://fontawesome.com/v5/search?s=solid Font Awesome website] (v. 5 icons only).
 
# Note the type of the icon (<code>fas</code> for solid style, <code>far</code> for regular style, <code>fab</code> for brand style) and its name.
 
# Note the type of the icon (<code>fas</code> for solid style, <code>far</code> for regular style, <code>fab</code> for brand style) and its name.
 
# Show the icon, using this special code: <code>{{#type:icon_name}}</code>
 
# Show the icon, using this special code: <code>{{#type:icon_name}}</code>

Latest revision as of 07:43, 11 July 2022

This wiki uses an extension to manage Font Awesome free icons: more than 1588 icons to make wiki pages more appealing.

How to

  1. Find your icon on Font Awesome website (v. 5 icons only).
  2. Note the type of the icon (fas for solid style, far for regular style, fab for brand style) and its name.
  3. Show the icon, using this special code: {{#type:icon_name}}

Example:

{{#fas:barcode}}

gives:

Make it bigger?

<span style="font-size: 5em;">{{#fas:tools}}</span>

gives:

Use it as an initial?

<div style="float: left; padding-right: 1.5em;"><span style="font-size: 5em;">{{#fas:tools}}</span></div>

gives:

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?