Template:Codeline/Doc: Difference between revisions
Jump to navigation
Jump to search
Carandraug (talk | contribs) (link for HTML numbers) |
Carandraug (talk | contribs) (mention } as problematic on template) |
||
Line 1: | Line 1: | ||
This template is for code which is included inline. | This template is for code which is included inline. | ||
* Certain characters, such as {{Codeline|=}} or {{Codeline|&# | * Certain characters, such as {{Codeline|=}}, {{Codeline||}} or {{Codeline|}}} can break this template. In those cases, enclose the code in {{Codeline|<nowiki><nowiki>...</nowiki></nowiki>}} tags or use their [http://www.ascii.cl/htmlcodes.htm HTML numbers]. | ||
Example: | Example: |
Revision as of 17:23, 14 June 2012
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.