Template:Icon

From neox4t wiki
Revision as of 23:41, 9 September 2023 by Art (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Font Awesome icons

Attributes

Effects (only one effect can be applied, all are optional):

  • spin - value yes for spin effect
  • pulse - value yes for 6 frames per spin
  • rotate-90 - value yes to rotate the icon 90 degrees clockwise
  • rotate-180 - value yes to rotate the icon 180 degrees clockwise
  • rotate-270 - value yes to rotate the icon 270 degrees clockwise
  • flip-horizontal - value yes to flip the icon horizontally
  • flip-vertical - value yes to flip the icon vertically

Other attributes:

  • the first attribute - name of the icon used (search: https://fontawesome.com/icons?d=gallery&q=comments, pro icons not supported)
  • size - size in pixels (optional, inherits)
  • color - html, hex or rgb color (optional, defaults to black)
  • type - value regular for a bordered icon (optional, defaults to solid icons)

Examples

Various attributes: {{icon|cog|spin=yes|size=36|color=gray}}

Outputs:

Minimalist: {{icon|comments}}

Outputs: