Template:Man: Difference between revisions
imported>Mth No edit summary |
Add proper sections |
||
(One intermediate revision by one other user not shown) | |||
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}} | |||
== About == | |||
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 | ||
== | == 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> |