Template:Codeline: Difference between revisions

From Octave
Jump to navigation Jump to search
(crated codeline Template)
 
m (fixing *crosses fingers*)
Line 1: Line 1:
<span style="background-color:#dfdfdf; font-family:monospace;">{{{1}}}</span><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
<includeonly><span style="background-color:#dfdfdf; font-family:monospace;"><nowiki>{{{1}}}</nowiki></span></includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 22:57, 11 December 2011

[edit]

Template-info.png Template Documentation

This template is for code which is included inline.

  • Certain characters, such as {{{1}}}, {{{1}}} or {{{1}}} can break this template. In those cases, enclose the code in {{{1}}} 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 {{{1}}} without need to actually download the file manually.