Difference between revisions of "Template:Path/Doc"

From Octave
Jump to navigation Jump to search
(Created page with "This template is for (inline) file paths. Example: <nowiki>{{Path|/etc/octave.conf}}</nowiki> Will produce: {{Path|/etc/octave.conf}} <noinclude>[[Category:Template Documentat...")
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
This template is for (inline) file paths.
 
This template is for (inline) file paths.
  
Example: <nowiki>{{Path|/etc/octave.conf}}</nowiki>
+
Example:
 +
:<nowiki>{{Path|/etc/octave.conf}}</nowiki>
  
Will produce: {{Path|/etc/octave.conf}}
+
Will produce:
 +
:{{Path|/etc/octave.conf}}
  
<noinclude>[[Category:Template Documentation]]</noinclude>
+
To display the name of a file along with its contents, use [[Template:File]].
 +
 
 +
[[Category:Template with documentation]]

Latest revision as of 03:58, 30 November 2013

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.