Template:Path/Doc: Difference between revisions
Jump to navigation
Jump to search
Carandraug (talk | contribs) m (prettier format) |
Carandraug (talk | contribs) m (prettier format) |
||
Line 1: | Line 1: | ||
This template is for (inline) file paths. | This template is for (inline) file paths. | ||
Example: | Example: | ||
<nowiki>{{Path|/etc/octave.conf}}</nowiki> | :<nowiki>{{Path|/etc/octave.conf}}</nowiki> | ||
Will produce: | Will produce: | ||
{{Path|/etc/octave.conf}} | :{{Path|/etc/octave.conf}} | ||
To display the name of a file along with its contents, use [[Template:File]]. | To display the name of a file along with its contents, use [[Template:File]]. | ||
<noinclude>[[Category:Template Documentation]]</noinclude> | <noinclude>[[Category:Template Documentation]]</noinclude> |
Revision as of 23:03, 15 December 2011
This template is for (inline) file paths.
Example:
- {{Path|/etc/octave.conf}}
Will produce:
- /etc/octave.conf
To display the name of a file along with its contents, use Template:File.