Template:Fa

Font Awesome

Basic useage


{{fa|icon=star}}


Or

{{fa|i=star}}

Size

{{fa|icon=camera-retro|size=lg}}


{{fa|icon=camera-retro|size=2x}}


{{fa|icon=camera-retro|size=3x}}


{{fa|icon=camera-retro|size=4x}}


{{fa|icon=camera-retro|size=5x}}

Spinning

{{fa|icon=spinner|size=3x|spin=true}}


{{fa|icon=spinner|size=3x|spin=pulse}}

Border

{{fa|icon=quote-left|size=3x|border=true}}

Floating

{{fa|icon=quote-left|size=3x|border=true|float=left}}


{{fa|icon=quote-right|size=3x|border=true|float=right}}

add FontAwesome icon in page

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Iconicon i

Icon name of FontAwesome (without fa-),You can find it on http://fontawesome.com.cn

Example
flag
Linerequired
Sizesize

Available: lg, 2x, 3x, 4x, 5x

Page nameoptional
Spinning?spin

Avaliable: spin, pulse

Lineoptional
Border?border

Should display broder

Default
0
Booleanoptional
Floating?float

avaliable: left, right

Lineoptional