Template:Ic: Difference between revisions
(inline code) |
(fix link to wikipedia) |
||
Line 10: | Line 10: | ||
{{bc|<nowiki>{{ic|code}}</nowiki>}} | {{bc|<nowiki>{{ic|code}}</nowiki>}} | ||
{{Tip|When representing keyboard keys, you can use [ | {{Tip|When representing keyboard keys, you can use [https://wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references HTML entities] {{ic|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}} and {{ic|&larr;}} to depict arrow keys: {{ic|↑}}, {{ic|→}}, {{ic|↓}}, {{ic|←}}}} | ||
==Example== | ==Example== | ||
{{ic|code}}</noinclude><includeonly><code>{{{code|{{{1|{{META Error}}}}}}}}</code></includeonly> | {{ic|code}}</noinclude><includeonly><code>{{{code|{{{1|{{META Error}}}}}}}}</code></includeonly> |
Revision as of 10:24, 3 July 2023
Template Documentation for Ic
This page is a template and should only be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.Inline code.
- Use Template:bc for block code without header.
- Use Template:hc for block code with header.
Usage
Tip: When representing keyboard keys, you can use HTML entities
↑
, →
, ↓
and ←
to depict arrow keys: ↑
, →
, ↓
, ←
Example
code