模板:Ic/doc:修订间差异
来自康健生活
< 模板:Ic
无编辑摘要 |
无编辑摘要 |
||
| 第8行: | 第8行: | ||
{{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== | ||
2020年2月18日 (二) 14:57的版本
Inline code.
- Use Template:bc for block code without header.
- Use Template:hc for block code with header.
Usage
{{ic|code}}
Tip: When representing keyboard keys, you can use HTML entities
↑,→,↓ and ← to depict arrow keys: ↑, →, ↓, ←Example
code