Template:Path: Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
(Template to mark a path to a file or program on the filesystem.)
 
m (Protected "Template:Path" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 11:06, 16 December 2016

[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to mark a path to a file or program on the filesystem. It can also be used to illustrate navigation through a user interface.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) Path

Usage

See the template's testcases:

No parameter
Wiki code {{Path}}

Main version {{{1}}}
Sandbox version {{{1}}}
Parameter: unnamed
Wiki code {{Path|/etc/make.conf}}

Main version /etc/make.conf
Sandbox version /etc/make.conf
Note
The above documentation is transcluded from Template:Path/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.