Template:File
From FreeBSDwiki
(Difference between revisions)
(filenames and directories) |
|||
| (8 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
| − | <span style="color:green" | + | <span style="color:green;background-color:lightgray;" class="file">{{{1}}}</span><noinclude> |
| − | |||
'''Usage:''' | '''Usage:''' | ||
| − | Indicates a filename and or a directory. | + | Indicates a filename and or a directory. End a directory with a slash "/". Relative directories don't start with a "/", but absolute directories require it. |
| − | ''' | + | '''Examples:''' |
| + | * <nowiki>{{file|/etc/rc.conf}}</nowiki> produces {{file|/etc/rc.conf}} | ||
| + | * <nowiki>{{file|/etc/}}</nowiki> produces {{file|/etc/}} | ||
| − | + | '''See also:''' | |
| + | |||
| + | [[help:templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:33, 10 February 2018
{{{1}}}
Usage:
Indicates a filename and or a directory. End a directory with a slash "/". Relative directories don't start with a "/", but absolute directories require it.
Examples:
- {{file|/etc/rc.conf}} produces /etc/rc.conf
- {{file|/etc/}} produces /etc/
See also: