Template:File/Doc: Difference between revisions

18 bytes removed ,  15 December 2011
m
removing extra <nowiki> tag
m (nicer syntax)
m (removing extra <nowiki> tag)
Line 1: Line 1:
This template is used to include the contents of files. The first argument is the filename/filepath but can be left blank.
This template is used to include the contents of files. The first argument is the filename/filepath but can be left blank.


* the actual code still needs to be inside a {{Codeline|<nowiki><nowiki><pre>...</pre>&lt;/nowiki></nowiki>}} block.
* the actual code still needs to be inside a {{Codeline|<nowiki><pre> ... </pre></nowiki>}} block.
* to markup ''only'' the name of a file (e.g., {{path|/etc/octave3.2.conf}}), use [[Template:Path]] instead.
* to markup ''only'' the name of a file (e.g., {{path|/etc/octave3.2.conf}}), use [[Template:Path]] instead.