Template:Man: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[https://man7.org/linux/man-pages/man{{{2|1}}}/{{{1|man}}}.{{{2|1}}}.html {{{3|{{{1|man}}}}}}] | <noinclude> | ||
== Usage == | |||
A template to link to manual entries on a web page. | |||
Usage: '''<nowiki>{{</nowiki>man|''topic''|''section''|''text to display''}}''' | |||
If parameters '''''text to display''''' is not specified it defaults to '''''topic''''' | |||
If parameters '''''section''''' is not specified it defaults to 1 | |||
For example: | |||
<nowiki>{{man|setbuf|3|setbuf, setbuffer and friends}} | |||
displays as: | |||
{{</nowiki>man|setbuf|3|setbuf, setbuffer and friends}} | |||
</noinclude><includeonly>[https://man7.org/linux/man-pages/man{{{2|1}}}/{{{1|man}}}.{{{2|1}}}.html {{{3|{{{1|man}}}}}}]</includeonly> |
Revision as of 08:35, 23 Haziran 2022
Usage
A template to link to manual entries on a web page.
Usage: {{man|topic|section|text to display}}
If parameters text to display is not specified it defaults to topic
If parameters section is not specified it defaults to 1
For example: {{man|setbuf|3|setbuf, setbuffer and friends}} displays as: {{man|setbuf|3|setbuf, setbuffer and friends}}