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,..." |
imported>Mth No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><code title="man {{{sec}}} {{{1}}}">{{{1}}}({{{sec}}})</code></includeonly> | ||
<code title="man {{{sec}}} {{{1}}}">{{{1}}}({{{sec}}})</code> | |||
</includeonly> | |||
<noinclude> | <noinclude>{{DISPLAYTITLE:man}} | ||
{{template}} | {{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 == | == Examples == | ||
{{bc|<nowiki>{{man|nixos-rebuild|sec=1}}</nowiki>}} | {{bc|<nowiki>{{man|nixos-rebuild|sec=1}}</nowiki>}} | ||
{{man|nixos-rebuild|sec=1}} | {{man|nixos-rebuild|sec=1}} | ||
</noinclude> | </noinclude> | ||