Template:Ic: Difference between revisions

From Alpine Linux
(fix link to wikipedia)
m (Removed tip. It doesn't belong on this template, it belongs on the Key template.)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


Inline code.
Inline code.
* Use [[Template:bc]] for block code without header.
* Use [[Template:hc]] for block code with header.


==Usage==
==Usage==


{{bc|<nowiki>{{ic|code}}</nowiki>}}
<nowiki>{{ic|code}}</nowiki>
 
{{Tip|When representing keyboard keys, you can use [https://wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references HTML entities] {{ic|&amp;uarr;}}, {{ic|&amp;rarr;}}, {{ic|&amp;darr;}} and {{ic|&amp;larr;}} to depict arrow keys: {{ic|&uarr;}}, {{ic|&rarr;}}, {{ic|&darr;}}, {{ic|&larr;}}}}


==Example==
==Example==


{{ic|code}}</noinclude><includeonly><code>{{{code|{{{1|{{META Error}}}}}}}}</code></includeonly>
{{ic|code}}</noinclude><includeonly><code>{{{code|{{{1|{{META Error}}}}}}}}</code></includeonly>

Latest revision as of 07:48, 31 August 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.

Usage

{{ic|code}}

Example

code