Template:Code/Doc: Difference between revisions

Jump to navigation Jump to search
m
prettier format
m (→‎Example 1: english fix)
m (prettier format)
Line 1: Line 1:
This template is for code. The first argument is the title of the code block but can be left blank.
This template is for code. The first argument is the title of the code block but can be left blank.


* Note that the actual code still needs to be inside a <nowiki><pre>...</pre></nowiki> block;
* the actual code still needs to be inside a {{Codeline|<nowiki><pre> ... </pre></nowiki>}} block.
* To markup code that is the contents of specific files, use [[Template:File]] instead.
* to markup code that is the contents of specific files, use [[Template:File]] instead.


==Example 1==
==Example 1==

Navigation menu