Template:Codeline: Difference between revisions

From Octave
Jump to navigation Jump to search
m (fixing *crosses fingers*)
(Use <code> tag for Template:Codeline.)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><span style="background-color:#dfdfdf; font-family:monospace;"><nowiki>{{{1}}}</nowiki></span></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
<includeonly><code>{{{1}}}</code></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Latest revision as of 08:24, 27 July 2017

[edit]

Template-info.png Template Documentation

This template is for code which is included inline.

  • Certain characters, such as =, | or } can break this template. In those cases, enclose the code in <nowiki>...</nowiki> tags or use their HTML numbers.

Example:

Since 3.4.0, packages can be installed with {{Codeline|pkg install -forge pkgname}} without need to actually download the file manually.

Will produce:

Since 3.4.0, packages can be installed with pkg install -forge pkgname without need to actually download the file manually.