模板:Ic/doc:修订间差异
来自康健生活
< 模板:Ic
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的7个中间版本) | |||
| 第1行: | 第1行: | ||
Inline code. | 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}} | {{ic|code}} | ||
2020年2月19日 (三) 05:39的最新版本
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