更多操作
删除的内容 添加的内容
创建页面,内容为“<includeonly> <i class="fa fa-{{{icon|}}}{{{i|}}} {{#if: {{{size}}} | fa-{{{size}}} }} {{#if: {{{spin|}}} == true | fa-spin }} {{#if: {{{border|}}} == true | fa-bord…” |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly> |
<includeonly> |
||
<i class="fa fa-{{{icon|}}}{{{i|}}} {{#if: {{{size}}} | |
<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 }}"></i></includeonly> |
||
</includeonly> |
|||
<noinclude> |
<noinclude> |
||
= Font Awesome = |
= Font Awesome = |
||
第16行: | 第15行: | ||
{{fa|icon=camera-retro|size=4x}} <nowiki>{{fa|icon=camera-retro|size=4x}}</nowiki><br> |
{{fa|icon=camera-retro|size=4x}} <nowiki>{{fa|icon=camera-retro|size=4x}}</nowiki><br> |
||
{{fa|icon=camera-retro|size=5x}} <nowiki>{{fa|icon=camera-retro|size=5x}}</nowiki> |
{{fa|icon=camera-retro|size=5x}} <nowiki>{{fa|icon=camera-retro|size=5x}}</nowiki> |
||
== 旋转 == |
|||
{{fa|icon=spinner|size=3x|spin=true}} <nowiki>{{fa|icon=spinner|size=3x|spin=true}}</nowiki><br> |
|||
{{fa|icon=spinner|size=3x|spin=pulse}} <nowiki>{{fa|icon=spinner|size=3x|spin=pulse}}</nowiki> |
|||
== 边框 == |
|||
{{fa|icon=quote-left|size=3x|border=true}} <nowiki>{{fa|icon=quote-left|size=3x|border=true}}</nowiki> |
|||
== 浮动 == |
|||
{{fa|icon=quote-left|size=3x|border=true|float=left}} <nowiki>{{fa|icon=quote-left|size=3x|border=true|float=left}}</nowiki><br> |
|||
{{fa|icon=quote-right|size=3x|border=true|float=right}} <nowiki>{{fa|icon=quote-right|size=3x|border=true|float=right}}</nowiki> |
|||
</noinclude> |
</noinclude> |
2019年6月17日 (一) 15:06的版本
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}}