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