模板:Ic/doc:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第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|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}} and {{ic|&larr;}} to depict arrow keys: {{ic|↑}}, {{ic|→}}, {{ic|↓}}, {{ic|←}}</p> | <p>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|←}}</p> | ||
{{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|←}}}} | ||
| 第7行: | 第12行: | ||
{{ic|code}} | {{ic|code}} | ||