Template:Codeline: Difference between revisions

From Octave
Jump to navigation Jump to search
m (gah)
mNo edit summary
Line 1: Line 1:
<includeonly><span style="background-color:#dfdfdf; font-family:monospace;"><nowiki><nowiki></nowiki>{{{1}}}<nowiki></nowiki></nowiki></span></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
<includeonly><span style="background-color:#dfdfdf; font-family:monospace;"><nowiki&gt;{{{1}}}</nowiki&gt;</span></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 23:04, 11 December 2011

[edit]

Template-info.png Template Documentation

This template is for code which is included inline.

  • Certain characters, such as <nowiki>=</nowiki>, <nowiki>|</nowiki> or <nowiki>}</nowiki> can break this template. In those cases, enclose the code in <nowiki><nowiki>...</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 <nowiki>pkg install -forge pkgname</nowiki> without need to actually download the file manually.