Template:ic

From Bibliotheca Anonoma
Revision as of 12:33, 5 March 2017 by Antonizoon (talk | contribs) (Protected "Template:Ic" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page is a template. It contains no Bibliotheca Anonoma-related information, but should 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

Note: By default, PHP highlighting is used, though it's pretty neutral.
{{Ic|hello world}}

hello world

Syntax Highlighting

By specifying the language to use, you can get syntax highlighting as well. Here's a long list of supported languages.

{{Ic|print "hello world"|lang=python}}

print "hello world"

Tip: When representing keyboard keys, you can use HTML entities ↑, →, ↓ and ← to depict arrow keys: ↑, →, ↓, ←

Example

code