Template:Man: Difference between revisions

imported>Mth
Created page with "<includeonly> <code title="man {{{sec}}} {{{1}}}">{{{1}}}({{{sec}}})</code> </includeonly> <noinclude> {{template}} This template is used to refer to {{ic|man}} manual pages,..."
 
DoggoBit (talk | contribs)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><code title="man {{{sec}}} {{{1}}}">{{{1}}}({{{sec}}})</code></includeonly><noinclude>{{delete|reason=Unused.}}{{undocumented}}{{DISPLAYTITLE:Template:man}}
<code title="man {{{sec}}} {{{1}}}">{{{1}}}({{{sec}}})</code>
{{template}}
</includeonly>


<noinclude>
== About ==
{{template}}
This template is used to refer to {{ic|man}} manual pages, using the conventional {{ic|page(section)}} syntax. The command used to display the manual page is added to the {{ic|title}} attribute such that it displays on hover.
This template is used to refer to {{ic|man}} manual pages, using the conventional {{ic|page(section)}} syntax. The command used to display the manual page is added to the {{ic|title}} attribute such that it displays on hover.
== Parameters ==
 
=== Parameters ===
* the page
* the page
* {{ic|sec}}: the section containing the page
* {{ic|sec}}: the section containing the page
== Examples ==
 
== Usage ==
{{bc|<nowiki>{{man|nixos-rebuild|sec=1}}</nowiki>}}
{{bc|<nowiki>{{man|nixos-rebuild|sec=1}}</nowiki>}}
== Example ==
{{man|nixos-rebuild|sec=1}}
{{man|nixos-rebuild|sec=1}}
</noinclude>
</noinclude>