Template:Code/Doc: Difference between revisions

no edit summary
m (prettier format)
No edit summary
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.


* the actual code still needs to be inside a {{Codeline|<nowiki><pre> ... </pre></nowiki>}} block.
* the actual code still needs to be inside a {{Codeline|<nowiki><pre> ... </pre></nowiki>}} block or a {{Codeline|<nowiki><syntaxhighlight> ... </syntaxhighlight></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.


657

edits