Template:Icon: Difference between revisions
From neox4t wiki
>Andre mNo edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 23:41, 9 September 2023
Font Awesome icons
Attributes[edit source]
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[edit source]
Various attributes: {{icon|cog|spin=yes|size=36|color=gray}}
Outputs:
Minimalist: {{icon|comments}}
Outputs: