Difference between revisions of "Template:Path/doc"

From stoney cloud
Jump to: navigation, search
(Created page with "{{Template}} == Usage == <nowiki>{{path|/etc/make.conf}}</nowiki> will product {{path|/etc/make.conf}} == See also == * Template:File to specify a file's contents <include...")
 
m (4 revisions from gentoo-wiki:Template:Path/doc: import from wiki.gentoo.org)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Template}}
 
{{Template}}
 +
Use this template to mark a path to a file/program on the filesystem.
 +
 +
== Parameters ==
 +
; unnamed: Add the path.
  
 
== Usage ==
 
== Usage ==
<nowiki>{{path|/etc/make.conf}}</nowiki> will product {{path|/etc/make.conf}}
+
See the template's [[Template:Path/testcases|testcases]]:
 +
{{Template:Path/testcases}}
  
 
== See also ==
 
== See also ==
* [[Template:File]] to specify a file's contents
+
* {{Tl|File}}
  
 
<includeonly>
 
<includeonly>
[[Category:Templates for templates]]
+
[[Category:Formatting templates]]
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 
[[Category:Template documentation]]
 
[[Category:Template documentation]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:25, 22 August 2014

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, fixes or voice your opinion.

Use this template to mark a path to a file/program on the filesystem.

Parameters

unnamed
Add the path.

Usage

See the template's testcases:


Parameter: unnamed
Wiki code
{{Path|/etc/make.conf}}

Main version /etc/make.conf

Sandbox version

See also