打开/关闭菜单
切换首选项菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Fa:修订间差异

来自异世界百科
删除的内容 添加的内容
落雨枫留言 | 贡献
无编辑摘要
落雨枫留言 | 贡献
修复模板显示
第1行: 第1行:
<includeonly><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></includeonly>
<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>
<noinclude>
<noinclude>
= Font Awesome =
= Font Awesome =
== 基础用法 ==
== 基础用法 ==
{{fa|icon=star}}<br>
{{fa|icon=star}}<br>
<nowiki>{{fa|icon=star}}</nowiki><br>
<pre><nowiki>{{fa|icon=star}}</nowiki></pre><br>
或<br>
或<br>
<nowiki>{{fa|i=star}}</nowiki>
<pre><nowiki>{{fa|i=star}}</nowiki></pre>


== 大小 ==
== 大小 ==
{{fa|icon=camera-retro|size=lg}} <nowiki>{{fa|icon=camera-retro|size=lg}}</nowiki><br>
{{fa|icon=camera-retro|size=lg}} <pre><nowiki>{{fa|icon=camera-retro|size=lg}}</nowiki></pre><br>
{{fa|icon=camera-retro|size=2x}} <nowiki>{{fa|icon=camera-retro|size=2x}}</nowiki><br>
{{fa|icon=camera-retro|size=2x}} <pre><nowiki>{{fa|icon=camera-retro|size=2x}}</nowiki></pre><br>
{{fa|icon=camera-retro|size=3x}} <nowiki>{{fa|icon=camera-retro|size=3x}}</nowiki><br>
{{fa|icon=camera-retro|size=3x}} <pre><nowiki>{{fa|icon=camera-retro|size=3x}}</nowiki></pre><br>
{{fa|icon=camera-retro|size=4x}} <nowiki>{{fa|icon=camera-retro|size=4x}}</nowiki><br>
{{fa|icon=camera-retro|size=4x}} <pre><nowiki>{{fa|icon=camera-retro|size=4x}}</nowiki></pre><br>
{{fa|icon=camera-retro|size=5x}} <nowiki>{{fa|icon=camera-retro|size=5x}}</nowiki>
{{fa|icon=camera-retro|size=5x}} <pre><nowiki>{{fa|icon=camera-retro|size=5x}}</nowiki></pre>


== 旋转 ==
== 旋转 ==
{{fa|icon=spinner|size=3x|spin=true}} <nowiki>{{fa|icon=spinner|size=3x|spin=true}}</nowiki><br>
{{fa|icon=spinner|size=3x|spin=true}} <pre><nowiki>{{fa|icon=spinner|size=3x|spin=true}}</nowiki></pre><br>
{{fa|icon=spinner|size=3x|spin=pulse}} <nowiki>{{fa|icon=spinner|size=3x|spin=pulse}}</nowiki>
{{fa|icon=spinner|size=3x|spin=pulse}} <pre><nowiki>{{fa|icon=spinner|size=3x|spin=pulse}}</nowiki></pre>


== 边框 ==
== 边框 ==
{{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}} <pre><nowiki>{{fa|icon=quote-left|size=3x|border=true}}</nowiki></pre>


== 浮动 ==
== 浮动 ==
{{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-left|size=3x|border=true|float=left}} <pre><nowiki>{{fa|icon=quote-left|size=3x|border=true|float=left}}</nowiki></pre><br>
{{fa|icon=quote-right|size=3x|border=true|float=right}} <nowiki>{{fa|icon=quote-right|size=3x|border=true|float=right}}</nowiki>
{{fa|icon=quote-right|size=3x|border=true|float=right}} <pre><nowiki>{{fa|icon=quote-right|size=3x|border=true|float=right}}</nowiki></pre>
</noinclude>
</noinclude>

2019年6月17日 (一) 15:32的版本

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}}