Template:Codeline/Doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(added note about problems with certain characters)
No edit summary
 
(2 intermediate revisions by one other user not shown)
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|&#61;}} or {{Codeline|&#124;}}, can break this template. In those cases, enclose the code in {{Codeline|<nowiki><nowiki>...&lt;/nowiki></nowiki>}} tags or use their HTML numbers.
* Certain characters, such as {{Codeline|&#61;}}, {{Codeline|&#124;}} or {{Codeline|&#125;}} can break this template. In those cases, enclose the code in {{Codeline|<nowiki><nowiki>...&lt;/nowiki></nowiki>}} tags or use their [http://www.ascii.cl/htmlcodes.htm HTML numbers].


Example:
Example:
Line 9: Line 9:
:Since 3.4.0, packages can be installed with {{Codeline|<nowiki>pkg install -forge pkgname</nowiki>}} without need to actually download the file manually.
:Since 3.4.0, packages can be installed with {{Codeline|<nowiki>pkg install -forge pkgname</nowiki>}} without need to actually download the file manually.


<noinclude>[[Category:Template Documentation]]</noinclude>
[[Category:Template with documentation]]
501

edits

Navigation menu