模板:Ic/doc:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的17个中间版本) | |||
| 第1行: | 第1行: | ||
Inline code. | |||
* Use [[Template:bc]] for block code without header. | * Use [[Template:bc]] for block code without header. | ||
* Use [[Template:hc]] for block code with header. | * Use [[Template:hc]] for block code with header. | ||
==Usage== | ==Usage== | ||
{{bc|<nowiki>{{ic|code}}</nowiki>}} | {{bc|<nowiki>{{ic|code}}</nowiki>}} | ||
{{Tip|When representing keyboard keys, you can use HTML entities {{ic|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}} and {{ic|&larr;}} to depict arrow keys: {{ic|↑}}, {{ic|→}}, {{ic|↓}}, {{ic|←}}.}} | |||
{{Tip|When representing keyboard keys, you can use HTML entities {{ic|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}} and {{ic|&larr;}} to depict arrow keys: {{ic|↑}}, {{ic|→}}, {{ic|↓}}, {{ic|←}}}} | |||
==Example== | ==Example== | ||
{{ic|code}} | |||
<!-- 本行下加入模板(Documentation)的分类 --> | <!-- 本行下加入模板(Documentation)的分类 --> | ||
<includeonly>[[Category:工具模板]]</includeonly> | <includeonly>[[Category:工具模板]]</includeonly> | ||
<!-- 本行下加入模板的子页面(Documentation/doc)分类 --> | <!-- 本行下加入模板的子页面(Documentation/doc)分类 --> | ||
<noinclude>[[Category:模板说明文件]]</noinclude> | <noinclude>[[Category:模板说明文件]]</noinclude> | ||