Template:Man: Difference between revisions

imported>Mth
No edit summary
Sdht0 (talk | contribs)
Add proper sections
Line 1: Line 1:
<includeonly><code title="man {{{sec}}} {{{1}}}">{{{1}}}({{{sec}}})</code></includeonly>
<includeonly><code title="man {{{sec}}} {{{1}}}">{{{1}}}({{{sec}}})</code></includeonly><noinclude>{{DISPLAYTITLE:Template:man}}
{{template}}


<noinclude>{{DISPLAYTITLE:Template:man}}
== 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>