更多操作
删除的内容 添加的内容
小 修复模板显示 |
将图标修改为等宽 |
||
第1行: | 第1行: | ||
<onlyinclude><i class="fa fa-{{{icon|}}}{{{i|}}} {{#if: {{{size|}}} |fa-{{{size}}}|}} {{#switch: {{{spin|}}} | true = fa-spin | spin = fa-spin | pulse = fa-pulse }} {{#ifeq:{{{border|}}}|true|fa-border|}} {{#switch: {{{float|}}} | left = fa-pull-left | right = fa-pull-right }}">{{{after|}}}</i></onlyinclude> |
<onlyinclude><i class="fa fa-fw fa-{{{icon|}}}{{{i|}}} {{#if: {{{size|}}} |fa-{{{size}}}|}} {{#switch: {{{spin|}}} | true = fa-spin | spin = fa-spin | pulse = fa-pulse }} {{#ifeq:{{{border|}}}|true|fa-border|}} {{#switch: {{{float|}}} | left = fa-pull-left | right = fa-pull-right }}">{{{after|}}}</i></onlyinclude> |
||
<noinclude> |
<noinclude> |
||
= Font Awesome = |
= Font Awesome = |
2019年6月18日 (二) 14:53的版本
Font Awesome
基础用法
{{fa|icon=star}}
或
{{fa|i=star}}
大小
{{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}}
旋转
{{fa|icon=spinner|size=3x|spin=true}}
{{fa|icon=spinner|size=3x|spin=pulse}}
边框
{{fa|icon=quote-left|size=3x|border=true}}
浮动
{{fa|icon=quote-left|size=3x|border=true|float=left}}
{{fa|icon=quote-right|size=3x|border=true|float=right}}