模板:Ic/doc:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第1行: 第1行:
Inline code.
Inline code.


* Use [[Template:bc]] for block code without header.
* Use [[Template:hc]] for block code with header.


==Usage==
{{bc|<nowiki>{{ic|code}}</nowiki>}}
<p>When representing keyboard keys, you can use HTML entities {{ic|&amp;uarr;}}, {{ic|&amp;rarr;}}, {{ic|&amp;darr;}} and {{ic|&amp;larr;}} to depict arrow keys: {{ic|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}}, {{ic|&larr;}}</p>
<p>When representing keyboard keys, you can use HTML entities {{ic|&amp;uarr;}}, {{ic|&amp;rarr;}}, {{ic|&amp;darr;}} and {{ic|&amp;larr;}} to depict arrow keys: {{ic|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}}, {{ic|&larr;}}</p>
{{Tip|When representing keyboard keys, you can use HTML entities {{ic|&amp;uarr;}}, {{ic|&amp;rarr;}}, {{ic|&amp;darr;}} and {{ic|&amp;larr;}} to depict arrow keys: {{ic|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}}, {{ic|&larr;}}}}
{{Tip|When representing keyboard keys, you can use HTML entities {{ic|&amp;uarr;}}, {{ic|&amp;rarr;}}, {{ic|&amp;darr;}} and {{ic|&amp;larr;}} to depict arrow keys: {{ic|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}}, {{ic|&larr;}}}}
第7行: 第12行:


{{ic|code}}
{{ic|code}}
<!-- 本行下加入模板(Documentation)的分类 -->
<includeonly>[[Category:工具模板]]</includeonly>
<!-- 本行下加入模板的子页面(Documentation/doc)分类 -->
<noinclude>[[Category:模板说明文件]]</noinclude>

2020年2月19日 (三) 04:48的版本

Inline code.

Usage

{{ic|code}}

When representing keyboard keys, you can use HTML entities &uarr;, &rarr;, &darr; and &larr; to depict arrow keys: ↑, →, ↓, ←

Tip: When representing keyboard keys, you can use HTML entities &uarr;, &rarr;, &darr; and &larr; to depict arrow keys: ↑, →, ↓, ←

Example

code