659
edits
Carandraug (talk | contribs) (octavified example) |
Carandraug (talk | contribs) m (moved note about [[Template:Path] to top) |
||
Line 1: | Line 1: | ||
This template is used to include the contents of files. The first argument is the filename/filepath. Note that the actual code still needs to be inside a <nowiki><pre>...</pre></nowiki> block. | This template is used to include the contents of files. The first argument is the filename/filepath. Note that the actual code still needs to be inside a <nowiki><pre>...</pre></nowiki> block. To markup ''only'' the name of a file (e.g., {{path|/etc/conf.d/915resolution}}), use [[Template:Path]] instead. | ||
Example: <pre>{{File|~/.octaverc|<pre> | Example: <pre>{{File|~/.octaverc|<pre> | ||
Line 29: | Line 29: | ||
pkg load all; | pkg load all; | ||
</pre>}} | </pre>}} | ||
<noinclude>[[Category:Template Documentation]]</noinclude> | <noinclude>[[Category:Template Documentation]]</noinclude> |